8 things a beginner Java Programmer must know

Where did java come from, and why is it so popular?

Before java C was extremely popular language; however, C ran into limitations, because there is no easy way to cut up along C program into self-contained compartments. This meant that code in the first line of a long program could interfere with code in the last line, and the programmer had to keep the whole code in mind while programming.

To cut up long programs into semi-autonomous units, oop became popular. With oop, the motto is”divide and conquer”. In other words, you can divide a program into easily conceptualized parts.

When oop was added to C, it became C++, and programmers had a new darling. C++ let programmers deal with longer programs, and oo code helped solve many other problems as well.

All this seemed great to a programmer, and C++’s star rose high. It appeared too many that the perfect programming language had arrived.

What could be better?

Java

However, the programming environment itself was about to undergo a great change with the popularization of what amounts to an immense new programming environment- THE INTERNET. And that’s what’s made Java so popular.

 

 

 

History of JAVA

First, we need to know the history of any programming language because it is an evaluation of that language if u have knowledge of past then u will have knowledge about present and signifies your  future in that language

Java was not originally created for the internet. The first version of java began in 1991 and was written in 18 months at Sun Microsystems by a team of sun engineers named a green team who developed java programming language. James Gosling as called as father of java.                                        

The first name of java a was green talk given by James Gosling and .gt was file extension and after, that he changed the name to OAK after tree outside his office. The original idea for OAK was to create a platform-independent, OO language. Sun wanted to create a language it could use in consumer electronics.Java

OAK was renamed JAVA in 1995. When it was released for public consumption. BY that time, java had adopted a model that made it perfect for the internet—the bytecode model.

After that oak was renamed as java due to trademark issue by oak technologies after that the green team came up with working demo or their first application of java called as star seven(1992)  it was excellent application and star seven has touch screen similar to our today’s smartphone.

So the first version of Java was released on January 23, 1996, and it was JDK 1.0 oracle acquired sun Microsystems in 2010.

They want to create a language that should be platform independent and run on any os from 1995 they came with a name java and so from 1995 till now we have this name as java

Why java became more popular than c and c++?

C and c++ are powerful programming language but they are platform dependent

And Java was designed to be platform independent

For Java

C++ program is written on window machine which will not work on a Linux server or any other server so this is what this is platform dependencies.

But java program does not depend on OS

Java programs written on windows can work on the Linux server or any other OS, so this way java becomes a very popular language in  90’s.

 

 

WHAT IS Java?

Java is a programming language and a platform.

Java is a high level, platform independent, robust, secured by an object-oriented programming language.

Platform: Any hardware or software environment in which a program runs, is known as a platform. Since Java has its own runtime environment (JRE) and API, it is called platform.

It is cross-platform programming language which will u develop and run on multiple Operating System like Windows, Linux and mac os or any other os and runs on a special VIRTUAL machine called as Java virtual machine .so this machine is responsible for Java programs. If u want to run java programs u need to have JVM on ur os and so this JVM is same for every os so its run on every os which Java supports.

 

Where is it used?

The main feature of java is its platform independent and java is most important language because all games, mobiles, and secure websites use java when you install java, you can see it’s written that 3 million devices use java. Some of them are as follows:

Robotics

Enterprise Applications such as banking applications.

Web Applications such as irctc.co.in, javatpoint.com etc.

Desktop Applications such as text editor, video player, antivirus etc.

Embedded System

Smart Card

Clouds etc.

 

Types of Java Applications

Java is not targeted at the internet of course in fact; there are two types of java programs- one for internet and one for local machine use. Applications that can be created using java programming are as below:

1) J2SE

Standalone applications are also known as window-based applications. AWT and Swing are used in java for creating desktop applications.  Examples of J2SE are text editors, video players etc.

2) Jakarta EE.

An application that creates a dynamic page and runs on the server side, is called web application. An application such as applications related to banking etc. is called enterprise application. In Java, EJB is used for creating enterprise applications. For web applications servlet, JSP, struts, spring, hibernate, JSF etc. technologies are used in java.

4) J2ME

An application that is created for mobile devices. Currently, Android and Java ME are used for creating mobile applications.

 

Java Platforms / Editions

There are 4 platforms or editions of Java:

1) Java SE (Java Standard Edition)

It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.sql, etc. It includes core topics like OOPs, Networking, String, Regex, Exception, Anonymous classes, Multithreading, I/O Stream, AWT, Swing, Reflection, and Collection etc.

2) Java EE (Java Enterprise Edition)

It is built on the top of Java SE platform. It includes topics like JSP, Web Services, EJB, Servlet JPA etc. Java EE is an enterprise platform which is mainly used to develop enterprise and web applications.

3) Java ME (Java Micro Edition)

It is a micro platform which is mainly used to develop mobile applications.

4) JavaFX

JavaFX is used to build up prosperous internet applications. It uses lightweight user interface API.

Hope this article was helpful in understanding few must knows about the language.

2 thoughts on “8 things a beginner Java Programmer must know

  1. I just wondered if you’ve planned any marketing yet for the new year for you’re site. I am self-employed doing this for various businesses for a number of years now, I feed my family doing it so I won’t complain. I have a way of getting immediate interested traffic and buyers to your site through social media channels and email. As well as getting more likes, followers for all of your social accounts. I have a new program that has just been completed that listens to all tweets being made, if a certain word or phrase is detected, we instantly send back to them a tweet that they should visit our site. We can use as many search terms as we want, 100’s of targeted visits a day. I can even help you make a site, fix site errors add updates etc. if you might need it.

    In addition to that, I’d also like to find out what your competitors have done that we havn’t done yet and address those issues asap. I’d also like to make a video or 2 about your site and get them to rank high pretty quickly. Lastly I have a large database of opt in customers that are interested in what it is you do, so if you’d like to expand your current newsletter list let me know, I can get you these records whenever you’d like them. They would get you instant leads by supplying you with a list of people or businesses that are looking for exactly what it is you’re offering.

    I use tools that a lot of people dont know about or don’t have time to use for themselves and would like to use them for your site. If your to busy with current clients I get it, I was just wondering was all. Let me know if youd like more information or references, I have more than I know what to do with.

    Winston
    1.319.423.9473

Leave a Reply

Your email address will not be published. Required fields are marked *