SlideShare a Scribd company logo
J2EE STUTS WITH HIBERNATE
FRAMEWORK
BY:-
Parth Mewara
IT IV Year
 JAVA – A brief Introduction
 J2EE – Use and Need
 Servlets
 JSP
 Struts
 Hibernate
Topics to Cover
 Java is a computer programming language
 object-oriented
 "write once, run anywhere" (WORA)
 Developed by James Gosling and team at Sun
Microsystems
 Released in 1995.
JAVA – A brief Introduction
 Major release versions of Java, along with their release dates:
 JDK 1.0 (January 21, 1996)
 JDK 1.1 (February 19, 1997)
 J2SE 1.2 (December 8, 1998)
 J2SE 1.3 (May 8, 2000)
 J2SE 1.4 (February 6, 2002)
 J2SE 5.0 (September 30, 2004)
 Java SE 6 (December 11, 2006)
 Java SE 7 (July 28, 2011)
 Java SE 8 (March 18, 2014)
Versions of JAVA
JAVA
J2SEJava Standard
Edition
J2MEJava Micro
Edition
J2EEJava Enterprise
Edition
Variants of JAVA
 The Java 2 Enterprise Edition (J2EE) is
 Multi-tiered architecture
 Implementing Enterprise-class applications
 Web based applications.
 Open and standard based platform for
 developing, deploying and managing
 n-tier, Web-enabled, server-centric, and component-
based enterprise applications.
J2EE
 Component based model
 Container provided services
 Highly Scalable
 Simplified Architecture
 Flexible security model
J2EE Features
 Application clients and applets.
 Java Servlet and Java Server Pages technology (Web
Container)
 Enterprise JavaBeans components (enterprise beans)
(EJB Container)
J2EE Components
 Used to develop Server-Side applications.
 Java Servlets
 Java Server Pages
 Java Server Faces
J2EE Uses
 JSP (Java Server Pages) :- Alternate way of creating servlets
 JSP is written as ordinary HTML, with merged Java.
 The Java is enclosed in special tag.
 JSP files must have the extension .jsp
 JSP is translated into a Java servlet, which is then
compiled
 Servlets are run in the usual way
 The browser or other client sees only the resultant HTML,
as usual
JSP
Life Cycle of JSP
 JSP initialization
 The jspInit() method is executed at the start and only
once.
 If the JSP developer needs to perform
any JSP-specific initialization such as database
connections at the beginning this method can be specified.
 JSP execution
* public_service(HttpServletRequest req,
HttpServletResponse res)
{//code}
 JSP termination
<%! public void jspDestroy(){ . . . } %>
Architecture of JSP
 Struts is a set of cooperating classes, Servlets, and JSP
tags that make up a reusable MVC 2 design.
 Hence, Struts is a framework, rather than a library.
 Contains an extensive tag library and utility classes that
work independently of the framework.
Struts
 Object-relational mapping (ORM) solution for Java
 Data made persistent by storing in a database
 Hibernate takes care of this for us
Hibernate
 JDBC maps Java classes to database tables (and from
Java data types to SQL data types)
 Hibernate automatically generates the SQL queries.
 Hibernate provides data query and retrieval facilities and
can significantly reduce development time otherwise
spent with manual data handling in SQL and JDBC.
 Makes an application portable to all SQL databases.
Hibernate over JDBC
Hibernate Architecture
THANK YOU

More Related Content

What's hot (20)

PPTX
Introduction to Java Programming
Saravanakumar R
 
PPTX
Java 1
KadarkaraiSelvam
 
PPTX
Introduction to java
Java Lover
 
PPT
1 Introduction To Java Technology
dM Technologies
 
PPTX
Presentation on Core java
mahir jain
 
PPT
Java for Recruiters
ph7 -
 
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
PPTX
Java presentation
surajdmk
 
PDF
Introducing Java 7
Markus Eisele
 
PPTX
Java ms harsha
Harsha Batra
 
PPTX
Basics of JAVA programming
Elizabeth Thomas
 
PDF
Bn1005 demo ppt core java
conline training
 
PPT
The Evolution of Java
Fu Cheng
 
PPTX
Core Java
NA
 
PDF
Introduction to Java
Professional Guru
 
PDF
Lec 3 01_aug13
Palak Sanghani
 
PDF
Introduction to java (revised)
Sujit Majety
 
PPTX
JAVA ENVIRONMENT
josemachoco
 
PPT
Java features
myrajendra
 
PPTX
Introduction to java
Sandeep Rawat
 
Introduction to Java Programming
Saravanakumar R
 
Introduction to java
Java Lover
 
1 Introduction To Java Technology
dM Technologies
 
Presentation on Core java
mahir jain
 
Java for Recruiters
ph7 -
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
Java presentation
surajdmk
 
Introducing Java 7
Markus Eisele
 
Java ms harsha
Harsha Batra
 
Basics of JAVA programming
Elizabeth Thomas
 
Bn1005 demo ppt core java
conline training
 
The Evolution of Java
Fu Cheng
 
Core Java
NA
 
Introduction to Java
Professional Guru
 
Lec 3 01_aug13
Palak Sanghani
 
Introduction to java (revised)
Sujit Majety
 
JAVA ENVIRONMENT
josemachoco
 
Java features
myrajendra
 
Introduction to java
Sandeep Rawat
 

Viewers also liked (20)

PPTX
Excepciones en java
Carlos Anibal Riascos Hurtado
 
PPT
Excepciones
rilara
 
PDF
Tema 10 excepciones
jbersosa
 
PPTX
Unidad 5: Excepciones Ejercicio 1
Fabiola Valerio Ramirez
 
PPTX
Unidad 5: Excepciones Ejercicio 2
Fabiola Valerio Ramirez
 
PDF
Exceptions (2)
jbersosa
 
PPT
Java exceptions
Deli_amor
 
PPT
Gestion de errores en java
Jefferson Sarmiento
 
PPT
Curso Java Inicial 7 Excepciones
Emilio Aviles Avila
 
PPTX
Unidad 6: Flujos y Archivos Ejercicio 4
Fabiola Valerio Ramirez
 
PDF
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
Samuel Marrero
 
PDF
Clase 6 excepciones
Jorge Gamez
 
PPT
excepciones_java en www.fiec.espol.edu.ec
Silvana Vargas
 
PDF
2. Java Servlets (J2EE) - Curso 2005-2006
Samuel Marrero
 
PDF
4. Curso Java JSP (Java Server Pages) - Curso 2005-2006
Samuel Marrero
 
PPTX
Unidad 5: Excepciones Ejercicio 3
Fabiola Valerio Ramirez
 
PDF
Servidor HTTP Apache
Francisco José Cruz Jiménez
 
PDF
excepciones en java
www.mentoringit.com.mx
 
PPT
Networking and penetration testing
Mohit Belwal
 
PDF
3. Curso Java JDBC (Bases de datos) - Curso 2005-2006
Samuel Marrero
 
Excepciones en java
Carlos Anibal Riascos Hurtado
 
Excepciones
rilara
 
Tema 10 excepciones
jbersosa
 
Unidad 5: Excepciones Ejercicio 1
Fabiola Valerio Ramirez
 
Unidad 5: Excepciones Ejercicio 2
Fabiola Valerio Ramirez
 
Exceptions (2)
jbersosa
 
Java exceptions
Deli_amor
 
Gestion de errores en java
Jefferson Sarmiento
 
Curso Java Inicial 7 Excepciones
Emilio Aviles Avila
 
Unidad 6: Flujos y Archivos Ejercicio 4
Fabiola Valerio Ramirez
 
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
Samuel Marrero
 
Clase 6 excepciones
Jorge Gamez
 
excepciones_java en www.fiec.espol.edu.ec
Silvana Vargas
 
2. Java Servlets (J2EE) - Curso 2005-2006
Samuel Marrero
 
4. Curso Java JSP (Java Server Pages) - Curso 2005-2006
Samuel Marrero
 
Unidad 5: Excepciones Ejercicio 3
Fabiola Valerio Ramirez
 
Servidor HTTP Apache
Francisco José Cruz Jiménez
 
excepciones en java
www.mentoringit.com.mx
 
Networking and penetration testing
Mohit Belwal
 
3. Curso Java JDBC (Bases de datos) - Curso 2005-2006
Samuel Marrero
 
Ad

Similar to J2EE Struts with Hibernate Framework (20)

PPTX
Jsp session 1
Anuj Singh Rajput
 
PPTX
J2EE PPT --CINTHIYA.M Krishnammal college for women
lissa cidhi
 
PPT
Jsf 2.0 Overview
hereisbharat
 
PPTX
Wt unit 4
team11vgnt
 
PPTX
Advance java prasentation
dhananajay95
 
PPTX
Java Technology Define In Short Time
Himanshu Dwivedi
 
PPTX
Java Course In Thane,Mumbai
nettech90
 
PDF
All the Java ADF beginners need to know - part1
Markus Eisele
 
PPTX
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PPTX
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
DOCX
Jboss
Sridhar Rapala
 
PPTX
JSP APP DEVLOPMENT.pptx Related to Android App Development
BhawnaSaini45
 
PDF
Java Programming - 01 intro to java
Danairat Thanabodithammachari
 
PPTX
Java
raj esaki
 
PDF
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Skills Matter
 
PDF
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
Arun Gupta
 
PPT
Practical JRuby
David Keener
 
PPTX
Introduction-to-JSP-Java-Server-Pages.pptx
PrathiyathiM
 
PDF
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
pengemlamang47
 
Jsp session 1
Anuj Singh Rajput
 
J2EE PPT --CINTHIYA.M Krishnammal college for women
lissa cidhi
 
Jsf 2.0 Overview
hereisbharat
 
Wt unit 4
team11vgnt
 
Advance java prasentation
dhananajay95
 
Java Technology Define In Short Time
Himanshu Dwivedi
 
Java Course In Thane,Mumbai
nettech90
 
All the Java ADF beginners need to know - part1
Markus Eisele
 
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JSP APP DEVLOPMENT.pptx Related to Android App Development
BhawnaSaini45
 
Java Programming - 01 intro to java
Danairat Thanabodithammachari
 
Java
raj esaki
 
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Skills Matter
 
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
Arun Gupta
 
Practical JRuby
David Keener
 
Introduction-to-JSP-Java-Server-Pages.pptx
PrathiyathiM
 
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
pengemlamang47
 
Ad

Recently uploaded (20)

PPTX
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
PDF
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
Digital water marking system project report
Kamal Acharya
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PPTX
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Distribution reservoir and service storage pptx
dhanashree78
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PPTX
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PPTX
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PDF
SERVERLESS PERSONAL TO-DO LIST APPLICATION
anushaashraf20
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Design Thinking basics for Engineers.pdf
CMR University
 
Digital water marking system project report
Kamal Acharya
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Distribution reservoir and service storage pptx
dhanashree78
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
SERVERLESS PERSONAL TO-DO LIST APPLICATION
anushaashraf20
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 

J2EE Struts with Hibernate Framework

  • 1. J2EE STUTS WITH HIBERNATE FRAMEWORK BY:- Parth Mewara IT IV Year
  • 2.  JAVA – A brief Introduction  J2EE – Use and Need  Servlets  JSP  Struts  Hibernate Topics to Cover
  • 3.  Java is a computer programming language  object-oriented  "write once, run anywhere" (WORA)  Developed by James Gosling and team at Sun Microsystems  Released in 1995. JAVA – A brief Introduction
  • 4.  Major release versions of Java, along with their release dates:  JDK 1.0 (January 21, 1996)  JDK 1.1 (February 19, 1997)  J2SE 1.2 (December 8, 1998)  J2SE 1.3 (May 8, 2000)  J2SE 1.4 (February 6, 2002)  J2SE 5.0 (September 30, 2004)  Java SE 6 (December 11, 2006)  Java SE 7 (July 28, 2011)  Java SE 8 (March 18, 2014) Versions of JAVA
  • 6.  The Java 2 Enterprise Edition (J2EE) is  Multi-tiered architecture  Implementing Enterprise-class applications  Web based applications.  Open and standard based platform for  developing, deploying and managing  n-tier, Web-enabled, server-centric, and component- based enterprise applications. J2EE
  • 7.  Component based model  Container provided services  Highly Scalable  Simplified Architecture  Flexible security model J2EE Features
  • 8.  Application clients and applets.  Java Servlet and Java Server Pages technology (Web Container)  Enterprise JavaBeans components (enterprise beans) (EJB Container) J2EE Components
  • 9.  Used to develop Server-Side applications.  Java Servlets  Java Server Pages  Java Server Faces J2EE Uses
  • 10.  JSP (Java Server Pages) :- Alternate way of creating servlets  JSP is written as ordinary HTML, with merged Java.  The Java is enclosed in special tag.  JSP files must have the extension .jsp  JSP is translated into a Java servlet, which is then compiled  Servlets are run in the usual way  The browser or other client sees only the resultant HTML, as usual JSP
  • 12.  JSP initialization  The jspInit() method is executed at the start and only once.  If the JSP developer needs to perform any JSP-specific initialization such as database connections at the beginning this method can be specified.  JSP execution * public_service(HttpServletRequest req, HttpServletResponse res) {//code}  JSP termination <%! public void jspDestroy(){ . . . } %> Architecture of JSP
  • 13.  Struts is a set of cooperating classes, Servlets, and JSP tags that make up a reusable MVC 2 design.  Hence, Struts is a framework, rather than a library.  Contains an extensive tag library and utility classes that work independently of the framework. Struts
  • 14.  Object-relational mapping (ORM) solution for Java  Data made persistent by storing in a database  Hibernate takes care of this for us Hibernate
  • 15.  JDBC maps Java classes to database tables (and from Java data types to SQL data types)  Hibernate automatically generates the SQL queries.  Hibernate provides data query and retrieval facilities and can significantly reduce development time otherwise spent with manual data handling in SQL and JDBC.  Makes an application portable to all SQL databases. Hibernate over JDBC