SlideShare a Scribd company logo
JAVA 2 ENTERPRISE EDITION (J2EE)
PRESENTED BY
M. CINTHIYA
DEPARTMENT OF COMPUTER SCIENCE
PSGR KRISHNAMMAL COLLEGE FOR WOMEN,CBE-04
16MSC006
An Application Level Software Unit
Web Components
Applet
Enterprise Java Beans (EJB)
COMPONENTS
J2EE Components & Services
• Primary technologies
- Servlets
- JavaServer Pages (JSP)
- Enterprise JavaBeans (EJB)
• Standard services & supporting technologies
- Java database connectivity(JDBC) data access API
- Remote Method Invocations (RMI)
- Extensible Markup Languages(XML)
- JavaIDL
- JavaMail
PROVIDE COMPONENTS
WITH SERVICES
DEPLOYMENT
SECURITY
LIFE CYCLE
MANAGEMENT
THREADING
WEB COMPONENTS
A Web Component is a Software Unit that provides response to a request
 Act as the User Interface of a web based applications and
 Java EE platform specifies two web components they are
 Servelts
 Java Server Pages (JSP)
Enterprise Java Beans (EJBs)
• Enterprise Java beans architecture is a component model for
development and deployment of distributed business
application.
• Entity Beans
 Represent persistent business Entity
 Persisted in storage system ( usually Database)
 Might contain Application logic intrinsic to entity
• Session Beans
 Perform work for individual clients on the server
 Encapsulate complex business logic
 Can coordinate transactional work on multiple entity beans
Example EJB Application
JavaServer Pages (JSP)
• Text based documents describe how
to process a request and create a
response
• Contains HTML or XML and other JSP
elements defined by JSP specification.
• Are Installed on web server
• are web components that sits on top
of java servlet mode.
JSP Advantages
• Performance
– Runtime characteristics of servlets
– Automatic recompilation of modified pages
– Server side processing
• Programming
– Emphasize use of reusable components
– Write Once , Run Anywhere properties
– Extensible through custom tag libraries
• Provides front end access mechanism
to EJBs
Basic Components of Struts
The Struts framework is a rich collection of Java libraries and can be
broken down into the following major pieces:
Base framework
JSP tag libraries
Tiles plugin
Validator plugin
Base Framework
 The base framework provides the core MVC functionality and is comprised
of the building blocks for your application. At the foundation of the base
framework is the Controller servlet: ActionServlet.
 The rest of the base framework is comprised of base classes that your
application will extend and several utility classes. Most prominent among
the base classes are the Action and ActionForm classes.
 These two classes are used extensively in all Struts
applications. Action classes are used by ActionServlet to process specific
requests. ActionForm classes are used to capture data from HTML forms and
to be a conduit of data back to the View layer for page generation.
JSP Tag Libraries
Struts comes packaged with several JSP tag libraries for assisting with programming
the View logic in JSPs. JSP tag libraries enable JSP authors to use HTML-like tags to
represent functionality that is defined by a Java class.
Following is a listing of the libraries and their purpose:
HTML Used to generate HTML forms that interact with the Struts APIs.
Bean Used to work with Java bean objects in JSPs, such as accessing bean values.
Logic Used to cleanly implement simple conditional logic in JSPs.
Nested Used to allow arbitrary levels of nesting of the HTML, Bean, and Logic tags
that otherwise do not work.
Tiles Plugin
Struts comes packaged with the Tiles subframework. Tiles is a rich JSP
templating framework that facilitates the reuse of presentation (HTML)
code.
With Tiles, JSP pages can be broken up into individual 'tiles' or pieces
and then glued together to create one cohesive page.
Similar to the design principles that the core Struts framework is built
on, Tiles provides excellent reuse of View code.
As of Struts 1.1, Tiles is part of and packaged with the core Struts
download. Prior to Struts 1.1, Tiles was a third-party add-on, but has
since been contributed to the project and is now more tightly integrated.
Validator Plugin
Struts comes packaged, as of version 1.1, with the Validator subframework for
performing data validation.
Validator provides a rich framework for performing data validation on both the server
side and client side (browser).
Each validation is configured in an outside XML file so that validations can easily be
added to and removed from an application declaratively versus being hard-coded into
the application.
Similar to Tiles, prior to Struts 1.1, Validator was a third-party add-on, but has since
been included in the project and is more tightly integrated.
THANK YOU

More Related Content

PPTX
מתפ
PDF
Database and Java Database Connectivity
PPTX
Java ee introduction
PDF
What is hibernate?
DOCX
What is hibernate?
PPT
J2EE and Servlet
PPTX
Java DataBase Connectivity API (JDBC API)
מתפ
Database and Java Database Connectivity
Java ee introduction
What is hibernate?
What is hibernate?
J2EE and Servlet
Java DataBase Connectivity API (JDBC API)

What's hot (20)

PPT
JDBC Connectivity Model
PPS
Jdbc architecture and driver types ppt
PPTX
Introduction Java Web Framework and Web Server.
PPTX
java Jdbc
DOC
jdbc document
PPT
PPT
Jdbc drivers
PDF
JDBC-Introduction
PPT
JDBC Architecture and Drivers
PPTX
Jdbc_ravi_2016
PPTX
Java- JDBC- Mazenet Solution
PPT
Webapplication ppt prepared by krishna ballabh gupta
DOCX
Month 3 report
ODP
Java Web Programming [1/9] : Introduction to Web Application
PPT
Jdbc (database in java)
PPTX
J2 ee architecture
PPT
PDF
Overview Of JDBC
PPT
Java database connectivity
JDBC Connectivity Model
Jdbc architecture and driver types ppt
Introduction Java Web Framework and Web Server.
java Jdbc
jdbc document
Jdbc drivers
JDBC-Introduction
JDBC Architecture and Drivers
Jdbc_ravi_2016
Java- JDBC- Mazenet Solution
Webapplication ppt prepared by krishna ballabh gupta
Month 3 report
Java Web Programming [1/9] : Introduction to Web Application
Jdbc (database in java)
J2 ee architecture
Overview Of JDBC
Java database connectivity
Ad

Similar to J2EE PPT --CINTHIYA.M Krishnammal college for women (20)

DOCX
Struts ppt 1
PPT
Struts Ppt 1
PPTX
Introduction to ejb and struts framework
PPT
Apachecon 2002 Struts
PPT
Struts N E W
PDF
Jsf Framework
PDF
Struts An Open-source Architecture for Web Applications
PPTX
Introduction to j2 ee frameworks
PDF
Build Java Web Application Using Apache Struts
PPTX
Frameworks in java
PPTX
J2EE Struts with Hibernate Framework
PPT
Struts course material
DOCX
Struts Interview Questions
PPTX
Modern Java Web Development
PPTX
JavaServer Pages
PPT
MVC
PDF
Java EE 6 workshop at Dallas Tech Fest 2011
PPT
December 4 SDForum Java Sig Presentation
PPT
Struts 2-overview2
PPTX
Summer training seminar
Struts ppt 1
Struts Ppt 1
Introduction to ejb and struts framework
Apachecon 2002 Struts
Struts N E W
Jsf Framework
Struts An Open-source Architecture for Web Applications
Introduction to j2 ee frameworks
Build Java Web Application Using Apache Struts
Frameworks in java
J2EE Struts with Hibernate Framework
Struts course material
Struts Interview Questions
Modern Java Web Development
JavaServer Pages
MVC
Java EE 6 workshop at Dallas Tech Fest 2011
December 4 SDForum Java Sig Presentation
Struts 2-overview2
Summer training seminar
Ad

Recently uploaded (20)

PDF
classification of cubic lattice structure
PDF
ETO & MEO Certificate of Competency Questions and Answers
PDF
July 2025: Top 10 Read Articles Advanced Information Technology
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PDF
International Journal of Information Technology Convergence and Services (IJI...
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
A Framework for Securing Personal Data Shared by Users on the Digital Platforms
PPTX
24AI201_AI_Unit_4 (1).pptx Artificial intelligence
PDF
MCAD-Guidelines. Modernization of command Area Development, Guideines
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Introduction to Data Science: data science process
PDF
dse_final_merit_2025_26 gtgfffffcjjjuuyy
PPTX
Road Safety tips for School Kids by a k maurya.pptx
PPTX
Internship_Presentation_Final engineering.pptx
PDF
Monitoring Global Terrestrial Surface Water Height using Remote Sensing - ARS...
PDF
B.Tech (Electrical Engineering ) 2024 syllabus.pdf
PDF
Chad Ayach - A Versatile Aerospace Professional
PPTX
436813905-LNG-Process-Overview-Short.pptx
PPTX
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
PDF
flutter Launcher Icons, Splash Screens & Fonts
classification of cubic lattice structure
ETO & MEO Certificate of Competency Questions and Answers
July 2025: Top 10 Read Articles Advanced Information Technology
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
International Journal of Information Technology Convergence and Services (IJI...
Strings in CPP - Strings in C++ are sequences of characters used to store and...
A Framework for Securing Personal Data Shared by Users on the Digital Platforms
24AI201_AI_Unit_4 (1).pptx Artificial intelligence
MCAD-Guidelines. Modernization of command Area Development, Guideines
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Introduction to Data Science: data science process
dse_final_merit_2025_26 gtgfffffcjjjuuyy
Road Safety tips for School Kids by a k maurya.pptx
Internship_Presentation_Final engineering.pptx
Monitoring Global Terrestrial Surface Water Height using Remote Sensing - ARS...
B.Tech (Electrical Engineering ) 2024 syllabus.pdf
Chad Ayach - A Versatile Aerospace Professional
436813905-LNG-Process-Overview-Short.pptx
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
flutter Launcher Icons, Splash Screens & Fonts

J2EE PPT --CINTHIYA.M Krishnammal college for women

  • 1. JAVA 2 ENTERPRISE EDITION (J2EE) PRESENTED BY M. CINTHIYA DEPARTMENT OF COMPUTER SCIENCE PSGR KRISHNAMMAL COLLEGE FOR WOMEN,CBE-04 16MSC006
  • 2. An Application Level Software Unit Web Components Applet Enterprise Java Beans (EJB) COMPONENTS
  • 3. J2EE Components & Services • Primary technologies - Servlets - JavaServer Pages (JSP) - Enterprise JavaBeans (EJB) • Standard services & supporting technologies - Java database connectivity(JDBC) data access API - Remote Method Invocations (RMI) - Extensible Markup Languages(XML) - JavaIDL - JavaMail
  • 5. WEB COMPONENTS A Web Component is a Software Unit that provides response to a request  Act as the User Interface of a web based applications and  Java EE platform specifies two web components they are  Servelts  Java Server Pages (JSP)
  • 6. Enterprise Java Beans (EJBs) • Enterprise Java beans architecture is a component model for development and deployment of distributed business application. • Entity Beans  Represent persistent business Entity  Persisted in storage system ( usually Database)  Might contain Application logic intrinsic to entity • Session Beans  Perform work for individual clients on the server  Encapsulate complex business logic  Can coordinate transactional work on multiple entity beans
  • 8. JavaServer Pages (JSP) • Text based documents describe how to process a request and create a response • Contains HTML or XML and other JSP elements defined by JSP specification. • Are Installed on web server • are web components that sits on top of java servlet mode.
  • 9. JSP Advantages • Performance – Runtime characteristics of servlets – Automatic recompilation of modified pages – Server side processing • Programming – Emphasize use of reusable components – Write Once , Run Anywhere properties – Extensible through custom tag libraries • Provides front end access mechanism to EJBs
  • 10. Basic Components of Struts The Struts framework is a rich collection of Java libraries and can be broken down into the following major pieces: Base framework JSP tag libraries Tiles plugin Validator plugin
  • 11. Base Framework  The base framework provides the core MVC functionality and is comprised of the building blocks for your application. At the foundation of the base framework is the Controller servlet: ActionServlet.  The rest of the base framework is comprised of base classes that your application will extend and several utility classes. Most prominent among the base classes are the Action and ActionForm classes.  These two classes are used extensively in all Struts applications. Action classes are used by ActionServlet to process specific requests. ActionForm classes are used to capture data from HTML forms and to be a conduit of data back to the View layer for page generation.
  • 12. JSP Tag Libraries Struts comes packaged with several JSP tag libraries for assisting with programming the View logic in JSPs. JSP tag libraries enable JSP authors to use HTML-like tags to represent functionality that is defined by a Java class. Following is a listing of the libraries and their purpose: HTML Used to generate HTML forms that interact with the Struts APIs. Bean Used to work with Java bean objects in JSPs, such as accessing bean values. Logic Used to cleanly implement simple conditional logic in JSPs. Nested Used to allow arbitrary levels of nesting of the HTML, Bean, and Logic tags that otherwise do not work.
  • 13. Tiles Plugin Struts comes packaged with the Tiles subframework. Tiles is a rich JSP templating framework that facilitates the reuse of presentation (HTML) code. With Tiles, JSP pages can be broken up into individual 'tiles' or pieces and then glued together to create one cohesive page. Similar to the design principles that the core Struts framework is built on, Tiles provides excellent reuse of View code. As of Struts 1.1, Tiles is part of and packaged with the core Struts download. Prior to Struts 1.1, Tiles was a third-party add-on, but has since been contributed to the project and is now more tightly integrated.
  • 14. Validator Plugin Struts comes packaged, as of version 1.1, with the Validator subframework for performing data validation. Validator provides a rich framework for performing data validation on both the server side and client side (browser). Each validation is configured in an outside XML file so that validations can easily be added to and removed from an application declaratively versus being hard-coded into the application. Similar to Tiles, prior to Struts 1.1, Validator was a third-party add-on, but has since been included in the project and is more tightly integrated.