Title: 6 month java live project training with KVCH
1Java Overview
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
2Java Tutorials
Write Once Run Anywhere
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
3Course Objectives
- Upon completing the course, you will understand
- Create, compile, and run Java programs
- Primitive data types
- Java control flow
- Methods
- Arrays (for teaching Java in two semesters, this
could be the end) - Object-oriented programming
- Core Java classes (Swing, exception,
internationalization, multithreading, multimedia,
I/O, networking, Java Collections Framework)
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
4- What is Java?
- History of Java.
- Characteristics of Java
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
5History
- James Gosling and Sun Microsystems
- Oak
- Java, May 20, 1995, Sun World
- Now Java is the part of Oracle Corporation.
- HotJava
- The first Java-enabled Web browser
- JDK Evolutions
- J2SE, J2ME, and J2EE
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
6Characteristics of Java
- Java is simple
- Java is object-oriented
- Java is distributed
- Java is interpreted
- Java is robust
- Java is secure
- Java is architecture-neutral
- Java is portable
- Javas performance
- Java is multithreaded
- Java is dynamic
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
7JDK Versions
1. JDK Version 1.0 Codenamed Oak and released on
January 23, 1996. 2. JDK Version 1.1 Released on
February 19, 1997 New features in JDK 1.1 JDBC
(Java Database Connectivity) Inner Classes Java
Beans RMI (Remote Method Invocation) Reflection
(introspection only) 3. J2SE Version 1.2 Code
named Playground and released on December 8,
1998. 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.
Version Continued
8Policy 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. 4. 2SE
Version 1.3 Code named Kestrel and released on
May 8, 2000. New features in J2SE 1.3 Java
Sound Jar Indexing A huge list of enhancements in
almost all the java area. 5. J2SE Version
1.4 Code named Merlin and released on February 6,
2002 (first release under JCP).
Version Continued
9New features in J2SE 1.4 XML Processing, Java
Print Service Logging API, Java Web Start JDBC
3.0 API, Assertions Preferences API, Chained
Exception IPv6 Support, Regular Expressions Image
I/O API 6. J2SE Version 5.0 Code named Tiger and
released on September 30, 2004. New features in
J2SE 5.0 Generics Enhanced for Loop Autoboxing/Unb
oxing Typesafe Enums Varargs Static
Import Metadata (Annotations) Instrumentation
Version Continued
10Java Version SE 6 Code named Mustang and released
on December 11, 2006. New features in Java SE
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. 7. Java
Version SE 7 Code named Dolphin and released on
July 28, 2011. New features in Java SE 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
Version Continued
118. Java Version SE 8 Java 8 was released on 18
March 2014. The code name culture is dropped with
Java 8 and so no official code name going forward
from Java 8. New features in Java SE 8 Lambda
Expressions Pipelines and Streams Date and Time
API Default Methods Type Annotations Nashhorn
JavaScript Engine Concurrent Accumulators Parallel
operations PermGen Error Removed TLS SNI
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
12JDK Editions
- Java Standard Edition (J2SE)
- J2SE can be used to develop client-side
standalone applications or applets. - Java Enterprise Edition (J2EE)
- J2EE can be used to develop server-side
applications such as Java servlets and Java
ServerPages. - Java Micro Edition (J2ME).
- J2ME can be used to develop applications for
mobile devices such as cell phones.
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html
13Difference between JDK, JRE and JVM
14Process of Compilation and Execution and JVM
Architecture
Java Source File (.java)
Class Loader Subsystem
A
D
Loading
Linking
Initialization
Java Compiler (javac)
1
B
4
Initialization
2
5
3
6
Java class File (.class)
C
Extension Delegation Algorithm
Continued..
- Bootstrap class loader 2. Extension Class Loader
3. Application Class Loader - 4. Verify 5. Prepare 6. Resolve
15Various Memory Area in JVM
E
M
t1
tn
t1
tn
PC register for t1
Object data
Class data
PC register for tn
Class data
Object data
Method Area
Heap Area
Stack Area
PC Register
Native Method Stack
Note- Every thread one stack area created.
1. Stack Frame 2. Local variable Array 3.
Upper end Stack 4. Frame Data
https//kvch.in/java-project-6-months-industrial-t
raining-noida.html