SlideShare a Scribd company logo
Presented by
Himanshu Kumar
Final year(CSE)
Rollno.1400110022
Summer Training Presentation
on
Java Technology & Spring Framework & Oracle 12c
n Anand Engineering College Agra U.P (282007)
Branch Computer Science and Engg.
Content
 History of Java
 Introduction of Java
 Format of java program & what is class.
 Compilation and running phase
 Why java platform independent
 Application of java
 Introduction advance java
 Format of advance java program with example
 Servlet is go on why coming jsp technology
 Introduction SpringFramework
 Introduction oracle 12c
 Use of database
History of java
• Author of java – James Gosling
• Home - Sun Micro System
• First version launch - 1996,jan 23
• Used version - java5 other java6,java7
• Latest version - java 8
• Type of software - open source software
Introduction of java
Java is a technology which running on any type of
os,ios etc .Java developer develop both type of
software application Standlone and Distributed .
Standlone application –system based.
Distributed Application – client based.
Java divided into three part
J2se ( core java , jdbc ( database connectivity ) ).
J2ee (adv. Java ) .
J2me (mobile ,android ).
Formate of java program
i. Comment
ii. Project Name
iii. Package Name
iv. Class Name
v. Main class Name
Example
Helloo
Java.lang.*;
class
{
Public static void main(string args[])
{
System.out.println(“Hii frnds”);
}
}
Compilation and running phase
Above program save helloworld.java
Hello.java
Compilation phase -
Hello.class
Running phase  Machine language
Bytecode
 Assemply lan.
hello.class
Why java plateform independent
because of bytecode
Application of java
Indroduction advance java
Adv. Java introduce for making server side application
& web-application.
Ex. Gmail.com,require information fetching from Database,etc.
Adv. Java divided in to two part
i. Servlet (required Processing logic then go for )
ii. JSP (required Presentation logic then go for )
Current version of JEE is 7.0v
Current version of Servlet is 3.1v;
Current version of JSP is 2.3v
Format of advance java program with example
Adv. Java program save .java
Folder structure of adv. Java program
adv1
WEB-INF
=>web.xml
=> classes
hello.java / hello.class
Example
import java.io.*; I
mport javax.servlet.*;
import javax.servlet.http.*;
class public class HelloWorld extends HttpServlet
{
private String message;
public void init() throws ServletException
{
message = “today date ";
}
public void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<h1> message " + new Date + "</h1>");
}
public void destroy() { }
}
Servlet is go on why coming jsp technology
Write a small program in servlet then write no of line
of code but jsp same program write in 1/3rd line of
code.
Example
<html>
<head>
<title>Hello World</title>
</head>
<body> Hello World!<br/>
<p>Today's date: <%= new java.util.Date()%></p></body>
</html>
Introduction SpringFramework
HOME  Interface 21.
AUTHOR  Rod Jonson.
TYPE  Open Source s/w.
TYPE OF FRAMEWORK  Application Framework.
INITIAL-VERSION  Spring 1.0 (OCT 2004).
LATEST-VERSION Spring 4.3.8(APRIL 2017).
Spring is the most popular application development framework for enterprise Java.
Millions of developers around the world use Spring Framework to create high
performing, easily testable, and reusable code.
Spring framework is an open source Java platform. It was initially written by Rod
Johnson and was first released under the Apache 2.0 license in June 2003.
The Spring Framework is a lightweight solution and a potential one-stop-shop for
building your enterprise-ready applications
Thank you

More Related Content

What's hot

java tutorial for beginner - Free Download
java tutorial for beginner - Free Downloadjava tutorial for beginner - Free Download
java tutorial for beginner - Free Download
TIB Academy
 
Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz
SAurabh PRajapati
 
Advanced Java
Advanced JavaAdvanced Java
Advanced Java
Hossein Mobasher
 
Advance java prasentation
Advance java prasentationAdvance java prasentation
Advance java prasentation
dhananajay95
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
slire
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
poonguzhali1826
 
Java programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, MysuruJava programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, Mysuru
Nithin Kumar,VVCE, Mysuru
 
Fundamentals of JAVA
Fundamentals of JAVAFundamentals of JAVA
Fundamentals of JAVA
KUNAL GADHIA
 
Core Java introduction | Basics | free course
Core Java introduction | Basics | free course Core Java introduction | Basics | free course
Core Java introduction | Basics | free course
Kernel Training
 
Java ppts unit1
Java ppts unit1Java ppts unit1
Java ppts unit1
Priya11Tcs
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
Eduonix Learning Solutions
 
Great cup of java
Great  cup of javaGreat  cup of java
Great cup of java
CIB Egypt
 
Java review00
Java review00Java review00
Java review00
saryu2011
 
Java basic introduction
Java basic introductionJava basic introduction
Java basic introduction
Ideal Eyes Business College
 
Core java online training
Core java online trainingCore java online training
Core java online training
Glory IT Technologies Pvt. Ltd.
 
01slide
01slide01slide
01slide
cdclabs_123
 
01slide
01slide01slide
01slide
Usha Sri
 
1 Introduction To Java Technology
1 Introduction To Java Technology 1 Introduction To Java Technology
1 Introduction To Java Technology
dM Technologies
 
Java Notes
Java Notes Java Notes
Java Notes
Sreedhar Chowdam
 

What's hot (20)

java tutorial for beginner - Free Download
java tutorial for beginner - Free Downloadjava tutorial for beginner - Free Download
java tutorial for beginner - Free Download
 
Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz
 
Advanced Java
Advanced JavaAdvanced Java
Advanced Java
 
Advance java prasentation
Advance java prasentationAdvance java prasentation
Advance java prasentation
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Java programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, MysuruJava programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, Mysuru
 
Fundamentals of JAVA
Fundamentals of JAVAFundamentals of JAVA
Fundamentals of JAVA
 
Core Java introduction | Basics | free course
Core Java introduction | Basics | free course Core Java introduction | Basics | free course
Core Java introduction | Basics | free course
 
Java ppts unit1
Java ppts unit1Java ppts unit1
Java ppts unit1
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
 
Great cup of java
Great  cup of javaGreat  cup of java
Great cup of java
 
Java review00
Java review00Java review00
Java review00
 
Java basic introduction
Java basic introductionJava basic introduction
Java basic introduction
 
Core java online training
Core java online trainingCore java online training
Core java online training
 
01slide
01slide01slide
01slide
 
01slide
01slide01slide
01slide
 
1 Introduction To Java Technology
1 Introduction To Java Technology 1 Introduction To Java Technology
1 Introduction To Java Technology
 
Java Notes
Java Notes Java Notes
Java Notes
 

Similar to Java Technology Define In Short Time

Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
mrinalbhutani
 
It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_en
George Birbilis
 
Java fx
Java fx Java fx
Java fx
Rohit Vaidya
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
SachinSingh217687
 
Java - At a glance
Java - At a glanceJava - At a glance
Java - At a glance
Nitish Baranwal
 
01. Introduction to programming with java
01. Introduction to programming with java01. Introduction to programming with java
01. Introduction to programming with java
Intro C# Book
 
JAVA introduction and basic understanding.pptx
JAVA  introduction and basic understanding.pptxJAVA  introduction and basic understanding.pptx
JAVA introduction and basic understanding.pptx
prstsomnath22
 
best java training center in chennai
best java training center in chennaibest java training center in chennai
best java training center in chennai
sathis est
 
Core java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutionsCore java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutions
QUONTRASOLUTIONS
 
Introduction
IntroductionIntroduction
Introduction
richsoden
 
java basic for begginers
java basic for begginersjava basic for begginers
java basic for begginers
divaskrgupta007
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
sotlsoc
 
Netbeans
NetbeansNetbeans
Netbeans
acosdt
 
Java Course 15: Ant, Scripting, Spring, Hibernate
Java Course 15: Ant, Scripting, Spring, HibernateJava Course 15: Ant, Scripting, Spring, Hibernate
Java Course 15: Ant, Scripting, Spring, Hibernate
Anton Keks
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
ph7 -
 
J2EE Struts with Hibernate Framework
J2EE Struts with Hibernate FrameworkJ2EE Struts with Hibernate Framework
J2EE Struts with Hibernate Framework
mparth
 
212 kuliah 01 pengenalan pemrograman berorientasi objek (java)
212 kuliah 01   pengenalan pemrograman berorientasi objek (java)212 kuliah 01   pengenalan pemrograman berorientasi objek (java)
212 kuliah 01 pengenalan pemrograman berorientasi objek (java)
yuan99
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
Madhura Bhalerao
 
1 .java basic
1 .java basic1 .java basic
1 .java basic
Indu Sharma Bhardwaj
 
Java ee7 1hour
Java ee7 1hourJava ee7 1hour
Java ee7 1hour
Frank Rodriguez
 

Similar to Java Technology Define In Short Time (20)

Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
 
It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_en
 
Java fx
Java fx Java fx
Java fx
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
 
Java - At a glance
Java - At a glanceJava - At a glance
Java - At a glance
 
01. Introduction to programming with java
01. Introduction to programming with java01. Introduction to programming with java
01. Introduction to programming with java
 
JAVA introduction and basic understanding.pptx
JAVA  introduction and basic understanding.pptxJAVA  introduction and basic understanding.pptx
JAVA introduction and basic understanding.pptx
 
best java training center in chennai
best java training center in chennaibest java training center in chennai
best java training center in chennai
 
Core java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutionsCore java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutions
 
Introduction
IntroductionIntroduction
Introduction
 
java basic for begginers
java basic for begginersjava basic for begginers
java basic for begginers
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
 
Netbeans
NetbeansNetbeans
Netbeans
 
Java Course 15: Ant, Scripting, Spring, Hibernate
Java Course 15: Ant, Scripting, Spring, HibernateJava Course 15: Ant, Scripting, Spring, Hibernate
Java Course 15: Ant, Scripting, Spring, Hibernate
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
 
J2EE Struts with Hibernate Framework
J2EE Struts with Hibernate FrameworkJ2EE Struts with Hibernate Framework
J2EE Struts with Hibernate Framework
 
212 kuliah 01 pengenalan pemrograman berorientasi objek (java)
212 kuliah 01   pengenalan pemrograman berorientasi objek (java)212 kuliah 01   pengenalan pemrograman berorientasi objek (java)
212 kuliah 01 pengenalan pemrograman berorientasi objek (java)
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
 
1 .java basic
1 .java basic1 .java basic
1 .java basic
 
Java ee7 1hour
Java ee7 1hourJava ee7 1hour
Java ee7 1hour
 

Recently uploaded

Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 

Recently uploaded (20)

Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 

Java Technology Define In Short Time

  • 1. Presented by Himanshu Kumar Final year(CSE) Rollno.1400110022 Summer Training Presentation on Java Technology & Spring Framework & Oracle 12c n Anand Engineering College Agra U.P (282007) Branch Computer Science and Engg.
  • 2. Content  History of Java  Introduction of Java  Format of java program & what is class.  Compilation and running phase  Why java platform independent  Application of java  Introduction advance java  Format of advance java program with example  Servlet is go on why coming jsp technology  Introduction SpringFramework  Introduction oracle 12c  Use of database
  • 3. History of java • Author of java – James Gosling • Home - Sun Micro System • First version launch - 1996,jan 23 • Used version - java5 other java6,java7 • Latest version - java 8 • Type of software - open source software
  • 4. Introduction of java Java is a technology which running on any type of os,ios etc .Java developer develop both type of software application Standlone and Distributed . Standlone application –system based. Distributed Application – client based. Java divided into three part J2se ( core java , jdbc ( database connectivity ) ). J2ee (adv. Java ) . J2me (mobile ,android ).
  • 5. Formate of java program i. Comment ii. Project Name iii. Package Name iv. Class Name v. Main class Name Example Helloo Java.lang.*; class { Public static void main(string args[]) { System.out.println(“Hii frnds”); } }
  • 6. Compilation and running phase Above program save helloworld.java Hello.java Compilation phase - Hello.class Running phase  Machine language Bytecode  Assemply lan. hello.class
  • 7. Why java plateform independent because of bytecode Application of java
  • 8. Indroduction advance java Adv. Java introduce for making server side application & web-application. Ex. Gmail.com,require information fetching from Database,etc. Adv. Java divided in to two part i. Servlet (required Processing logic then go for ) ii. JSP (required Presentation logic then go for ) Current version of JEE is 7.0v Current version of Servlet is 3.1v; Current version of JSP is 2.3v
  • 9. Format of advance java program with example Adv. Java program save .java Folder structure of adv. Java program adv1 WEB-INF =>web.xml => classes hello.java / hello.class
  • 10. Example import java.io.*; I mport javax.servlet.*; import javax.servlet.http.*; class public class HelloWorld extends HttpServlet { private String message; public void init() throws ServletException { message = “today date "; } public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("<h1> message " + new Date + "</h1>"); } public void destroy() { } }
  • 11. Servlet is go on why coming jsp technology Write a small program in servlet then write no of line of code but jsp same program write in 1/3rd line of code. Example <html> <head> <title>Hello World</title> </head> <body> Hello World!<br/> <p>Today's date: <%= new java.util.Date()%></p></body> </html>
  • 12. Introduction SpringFramework HOME  Interface 21. AUTHOR  Rod Jonson. TYPE  Open Source s/w. TYPE OF FRAMEWORK  Application Framework. INITIAL-VERSION  Spring 1.0 (OCT 2004). LATEST-VERSION Spring 4.3.8(APRIL 2017). Spring is the most popular application development framework for enterprise Java. Millions of developers around the world use Spring Framework to create high performing, easily testable, and reusable code. Spring framework is an open source Java platform. It was initially written by Rod Johnson and was first released under the Apache 2.0 license in June 2003. The Spring Framework is a lightweight solution and a potential one-stop-shop for building your enterprise-ready applications