What is Java?
- Java is an object oriented programming language which is platform independent and more secure.
- It has full GUI and network support
- It derives syntax from the C language and object-oriented features for the C++
- It can execute stand-alone or “on-demand” in web browser as applets
History of Java
- Java was created by a team of programmers at sun Micro-systems of U.S.A in 1991.
- It was initially called “Oak” by James Gosling but it was renamed as “Java” in 1995.
- Java was designed for the development of portable and platform independent software for electronics devices like microwave ovens, VCRs, and such electronics machines.
- But after the popularity of Internet, sun realized that Java is the perfect programming language for the Web.
- Late 1995 and early 1996 they released Java and it became so popular.
- Java Standard Edition (J2SE)
- It is used to develop client-side standalone applications or applets.
- Java Enterprise Edition (J2EE)
- It is used to develop server-side applications such as Java servlets and Java Server pages.
- Java Micro Edition (J2ME)
- J2ME can be used to develop applications for mobile devices such as cell phones and iPods.
The java Developer’s Kit (JDK)
- Java Development Kit (JDK) is a programming environment used to develop java programs.
JAVAC (Java Compiler):
- Javac is a java compiler that translates java source file into a form the computer can run. Output of java compiler is the “ByteCode”
- It executes Java byte code generated by the compiler.