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

PPT
Java & J2EE Struts with Hibernate Framework
PDF
Chapter 1. java programming language overview
PDF
Introduction to java technology
PPT
Chapter 1 introduction to java technology
PDF
Learn Java Part 1
PDF
Java unit 1
PDF
Introduction to Java Programming Language
PPTX
Java Programming
Java & J2EE Struts with Hibernate Framework
Chapter 1. java programming language overview
Introduction to java technology
Chapter 1 introduction to java technology
Learn Java Part 1
Java unit 1
Introduction to Java Programming Language
Java Programming

What's hot (20)

PPTX
Introduction to Java Programming
PPTX
PPTX
Introduction to java
PPT
1 Introduction To Java Technology
PPTX
Presentation on Core java
PPT
Java for Recruiters
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
PPTX
Java presentation
PDF
Introducing Java 7
PPTX
Java ms harsha
PPTX
Basics of JAVA programming
PDF
Bn1005 demo ppt core java
PPT
The Evolution of Java
PPTX
Core Java
 
PDF
Introduction to Java
PDF
Lec 3 01_aug13
PDF
Introduction to java (revised)
PPTX
JAVA ENVIRONMENT
PPT
Java features
PPTX
Introduction to java
Introduction to Java Programming
Introduction to java
1 Introduction To Java Technology
Presentation on Core java
Java for Recruiters
Introduction to Java Programming, Basic Structure, variables Data type, input...
Java presentation
Introducing Java 7
Java ms harsha
Basics of JAVA programming
Bn1005 demo ppt core java
The Evolution of Java
Core Java
 
Introduction to Java
Lec 3 01_aug13
Introduction to java (revised)
JAVA ENVIRONMENT
Java features
Introduction to java
Ad

Viewers also liked (20)

PPTX
Excepciones en java
PPT
Excepciones
PDF
Tema 10 excepciones
PPTX
Unidad 5: Excepciones Ejercicio 1
PPTX
Unidad 5: Excepciones Ejercicio 2
PDF
Exceptions (2)
PPT
Java exceptions
PPT
Gestion de errores en java
PPT
Curso Java Inicial 7 Excepciones
PPTX
Unidad 6: Flujos y Archivos Ejercicio 4
PDF
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
PDF
Clase 6 excepciones
PPT
excepciones_java en www.fiec.espol.edu.ec
PDF
2. Java Servlets (J2EE) - Curso 2005-2006
PDF
4. Curso Java JSP (Java Server Pages) - Curso 2005-2006
PPTX
Unidad 5: Excepciones Ejercicio 3
PDF
Servidor HTTP Apache
PDF
excepciones en java
PPT
Networking and penetration testing
PDF
3. Curso Java JDBC (Bases de datos) - Curso 2005-2006
Excepciones en java
Excepciones
Tema 10 excepciones
Unidad 5: Excepciones Ejercicio 1
Unidad 5: Excepciones Ejercicio 2
Exceptions (2)
Java exceptions
Gestion de errores en java
Curso Java Inicial 7 Excepciones
Unidad 6: Flujos y Archivos Ejercicio 4
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
Clase 6 excepciones
excepciones_java en www.fiec.espol.edu.ec
2. Java Servlets (J2EE) - Curso 2005-2006
4. Curso Java JSP (Java Server Pages) - Curso 2005-2006
Unidad 5: Excepciones Ejercicio 3
Servidor HTTP Apache
excepciones en java
Networking and penetration testing
3. Curso Java JDBC (Bases de datos) - Curso 2005-2006
Ad

Similar to J2EE Struts with Hibernate Framework (20)

PPTX
Devjyotippt
PPTX
Summer training seminar
PPTX
Introduction to j2 ee frameworks
PPT
Ppt for Online music store
PPTX
Coder Technologies- java course
PPTX
Introduction to ejb and struts framework
PPTX
Java Technology Define In Short Time
PPTX
Java
PDF
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
PPTX
Arpita industrial trainingppt
PDF
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
PPTX
J2ee seminar
PPTX
A PRESENTATION ON STRUTS & HIBERNATE
PPTX
Platform for Enterprise Solution - Java EE5
PPTX
Advance java1.1
PDF
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
PPTX
AJppt.pptx
PPTX
PPTX
Jsp and Servlets
PPT
Java EE Introduction
Devjyotippt
Summer training seminar
Introduction to j2 ee frameworks
Ppt for Online music store
Coder Technologies- java course
Introduction to ejb and struts framework
Java Technology Define In Short Time
Java
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
Arpita industrial trainingppt
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
J2ee seminar
A PRESENTATION ON STRUTS & HIBERNATE
Platform for Enterprise Solution - Java EE5
Advance java1.1
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
AJppt.pptx
Jsp and Servlets
Java EE Introduction

Recently uploaded (20)

PDF
Digital Logic Computer Design lecture notes
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
composite construction of structures.pdf
PPTX
Welding lecture in detail for understanding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
PPT on Performance Review to get promotions
PPTX
Construction Project Organization Group 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Lecture Notes Electrical Wiring System Components
Digital Logic Computer Design lecture notes
Model Code of Practice - Construction Work - 21102022 .pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Embodied AI: Ushering in the Next Era of Intelligent Systems
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
bas. eng. economics group 4 presentation 1.pptx
573137875-Attendance-Management-System-original
UNIT 4 Total Quality Management .pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
composite construction of structures.pdf
Welding lecture in detail for understanding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT on Performance Review to get promotions
Construction Project Organization Group 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Lecture Notes Electrical Wiring System Components

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