Saturday, 27 September 2014

Java Featurs and More

                                Java 5.0 Improvements

• Quality, Stability, and Compatibility
• Performance and Scalability
• Ease of Development
• Improved Desktop Client



                          Features of Java
• Simple
• Distributed
• Robust
• High Performance
• Architecture-neutral
• Secure
• Portable
• Multithreaded
• Object Oriented
• Interpreted
• Many tools
• Many libraries



                         Java Vs. C/C++

Java is similar to C/C++ with these differences
No header files
No preprocessor
No goto statement
Unicode characters
Automatic garbage collection
No pointer arithmetic
No operator overloading
No multiple inheritance
100% object oriented - everything is a class
No global variables or functions



                        Java Development Kit

• Java Runtime Environment (JRE)
– Java Virtual Machine (JVM)
– Java API: basic language + standard class library


• Bytecode compiler


• Other compilers, tools and utilities:
debuggers, applet viewer, javadoc, RMI
compiler, etc.














                      Basics Of Java With Simple And Effective Notes



                             History of Java

• James Gosling and team developed the language
‘Oak’ around 1990.

• It was designed to control microprocessors for
electrical appliances like toaster, set top box, vcr, pda
etc.

• There aim was to make it platform independent.

• Latter language Oak renamed to Java.

• By 1994 Sun's HotJava browser appeared.

• Applets of java become very popular.


                                  What is Java?
 
• A high-level language
– The Java language is a high level one that at a glance


• Java byte code
– The Java language source code to byte code that
runs in the JVM.


• Java Virtual Machine
– The actual workhorse





                             Evolution of Java

• Development of Oak (1990)
• Internet Explosion (1993)
• Version 1.0 of the Java Development Kit (JDK) (1995)
• Version 1.1 (1997)
• Version 1.2 (1999)
• Version 1.3 (2000)
• Version 1.4 (2002)
• Version 5.0 (2005)





                                     Editions of Java

• Java 2 Standard Edition (J2SE)
– A core set of components to create simple
applications and support the advance applications


• Java 2 Enterprise Edition (J2EE)
– It provides a wide array of tools for building
middle ware software such as for database access
applications, online storefronts, and other
services.