Hello Friends, Now we will focused on the Core Java tutorial, it is really a baby step to be a good, better and best Java ian :-) . I means Some "DineshOnJava"s Readers want to be a best Java ian. So now we move to on Core Java and Its all about things. Give me only your 30-40 hours to be a good Core Java ian.
Introduction to JAVA-
Before starting to learn Java, let us plunge into its history and see how the language originated. In 1990, Sun Microsystems Inc. (US) has conceived a project to develop software for consumer electronic devices that could be controlled by a remote. This project was called Stealth Project but later its name was changed to Green Project.
In Jan of 1991, Bill Joy, James Gosling, Mike Sheradin, Patrick Naughton and several others met in Aspen, Colorado to discuss this project. Mike Sheradin was focused on Business Development, Patrick Naughton worked on the Graphics systems and James Gosling was to identify the proper programming language for the project. Gosling thought C and C++ could be used to develop the project. But the problem he faced with them is that they were system dependent languages and hence could not be used various processors which the electronics devices might use. So he start to develop a new language which was completely system independent. This language was initially called as OAK. Since this name was registered by other company, later it was changed to JAVA.
WHY THE NAME IS JAVA? James Gosling and his team members were consuming a lot of coffee while developing this language. They felt that they were able to develop a better language because of the good quality of coffee they consumed. So the coffee had its own role in developing this language and good quality of coffee was exported to the entire world from a place called 'JAVA ISLAND'. Hence they fixed the name of the place for the language as JAVA. And the symbol for JAVA Language is coffee cup and saucer.
By September of 1994, Naughton and Jonathan Payne started writing WebRunner-a Java based Web browser, which was later renamed as HotJava. By October 1994, HotJava was stable and was demonstrated to Sun executives. HotJava was the first browser, having the capabilities of executing applets, which are programs designed to run dynamically on Internet. This time, Java's potential in the context of the World Wide Web was recognized.
Sun formally announced Java and HotJava at SunWorld conference in 1995. Soon after, Netscape Inc. announced that it would incorporate Java support in its browser Netscape Navigater. Later, Microsoft also announced that they would support Java in their Internet Explorer Web browser.
Java Versions, Features and History-
- Released on 23 January 1996, JDK 1.0 version.
- Released on 19 February 1997 JDK 1.1 version.
New features in JDK 1.1
- JDBC (Java Database Connectivity)
- Inner Classes
- Java Beans
- RMI (Remote Method Invocation)
- Reflection (introspection only)
- Released on 8 December 1998 J2SE 1.2 version.
New features in J2SE 1.2
- Collections framework.
- Java String memory map for constants.
- Just In Time (JIT) compiler.
- Jar Signer for signing Java ARchive (JAR) files.
- Policy Tool for granting access to system resources.
- Java Foundation Classes (JFC) which consists of Swing 1.0, Drag and Drop, and Java 2D class libraries.
- Java Plug-in
- Scrollable result sets, BLOB, CLOB, batch update, user-defined types in JDBC.
- Audio support in Applets.
- Released on 8 May 2000 J2SE 1.3 version.
New features in J2SE 1.3
- Java Sound
- Jar Indexing
- A huge list of enhancements in almost all the java area.
- Released on 6 February 2002 J2SE 1.4 version.
New features in J2SE 1.4
- XML Processing
- Java Print Service
- Logging API
- Java Web Start
- JDBC 3.0 API
- Preferences API
- Chained Exception
- IPv6 Support
- Regular Expressions
- Image I/O API
- Released on 30 September 2004 J2SE 1.5 version.
New features in J2SE 1.5
- Enhanced for Loop
- Typesafe Enums
- Static Import
- Metadata (Annotations)
- Released on 11 December 2006 J2SE 1.6 version.
New features in J2SE 1.6
- Scripting Language Support
- JDBC 4.0 API
- Java Compiler API
- Pluggable Annotations
- Native PKI, Java GSS, Kerberos and LDAP support.
- Integrated Web Services.
- Lot more enhancements.
- Released on 28 July 2011 J2SE 1.7 version.
New features in J2SE 1.7
- Strings in switch Statement
- Type Inference for Generic Instance Creation
- Multiple Exception Handling
- Support for Dynamic Languages
- Try with Resources
- Java nio Package
- Binary Literals, underscore in literals
- Diamond Syntax
- Automatic null Handling
Getting Started with Java
- Introduction to Java.
- What is Java?
- Java Virtual Machine.
- Features & History of Java and Versions.
- Java Environment Setup for Window 7
- Differentiate JVM JRE JDK JIT
- Garbage Collection in Java
- How work Garbage Collector in Java
- Java Basic Syntax
- Hello World Java Example.
- Basic Variables & Datatype in Java.
- Basic Datatype in Java.
- Basic Comments in Java.
- Basic Operators in Java.
- Control Statements in Java.
- Array in Java.
- String Class in Java.
- Objects and Classes in Java.
- Basic Modifier in Java.
- Methods in Java.
- Constructors in Java.
- String In Switch-Java 7 New Concept
Java Object Oriented
- Java Inheritance
- Java Overriding
- Java Polymorphism
- Java Abstraction
- Encapsulation in Java
- Java Interface
- Packages in Java
- static keyword in java
- final keyword in Java
- this keyword in Java
- super keyword in Java
- instance initializer block
Java Exception Handling
- Exception Handling
- try & catch block and Handling Exceptions
- Multiple catch block Handling
- Nested try catch block Handling
- finally block in Java
- throw keyword in java
- throws keyword in Java
- Exception propagation in Java
- Handle exceptions in overriding methods in Java
- User defined Exception in Java
- Multiple Exceptions In Java 7 New Concept
- Different Exception Generate in Array in Java(7)
- Inner Nested classes in java
- Member Inner classes
- Annonymous inner classes
- Local Inner Classes
- static nested classes
- Nested Interface in Java
Threads in Java
- Multithreading in Java
- Life Cycle of A Thread
- Creating a thread in Java
- Thread Scheduling in Java
- Sleeping a thread using sleep() method
- Java Thread Join using join() method
- Naming a thread
- Priority of a Thread
- Daemon Thread
- Synchronization in Java
- Synchronized block
- Static synchronization
- Deadlock in Java
- Inter-thread communication
- Thread Control in Java
- Interrupting Java threads
- Difference between wait() and sleep()
- Java Collection Framework
- ArrayList Class
- LinkedList class in Collection
- ListIterator interface in collection
- HashSet class in collection
- LinkedHashSet Class in Collection
- TreeSet Class in Collection
- Difference between HashSet and TreeSet
- Map interface in Collection
- HashMap class in collection framework
- How does java Hashmap work internally
- LinkedHashMap class in collection framework
- TreeMap class in collection framework
- Difference between TreeMap vs HashMap
- Hashtable class in collection framework
- Difference between HashMap and HashTable in Java
- Sorting in collection framework
- Compare and Comparator in Java
Collection ClassesAn introduction to the Java collection classes. We cover both the basic JDK 1.1 classes, and the new and more extensive JDK 1.2 classes.
JDK 1.2 Collection Classes, ( Vector, Hashtable, Stack ) , JDK 1.2 Collection Classes ( Collection, List, Set, Map, Implementation Classes ), Sorting, Advanced Features .
Java IOThe document object, Presents the overall design of the IO classes and demonstrates IO using Serialisation.
Overview, Non-stream Classes, InputStream hierarchy, Output Stream hierarchy, Character-based Streams, Example using files, Serialisation, Object Streams.
GUI DevelopmentCovers the major aspects of developing GUI applications using Java, with a particular focus on using the AWT classes.
Introduction, Components, Containers and Windows, Laying out Components, Event Handling, Menus, Dialogs, Setting Look-and-Feel.