SlideShare a Scribd company logo
1 of 21
J2EE TECHONOLOGY
Prepared By:
Govind Singh
Branch: Computer Science
Roll No. : 2010UCS016
Training Location :
Hewlett-Packard Education Services,
Jaipur
About HPES
• HP is the largest IT solution and UNIX training
company worldwide.
• HP has been in the education business for over
30 years.
• HP is having more than 400 education centers
worldwide.
Content
 Introduction to J2EE
 Servlet
 JSPs
 MVC Architecture
 Introduction to Structs 1.3 Framework
Introduction To J2EE
• J2EE is java’s Enterprises Edition that
interfaces and provide platform for different
technologies.
• J2EE defines a model for developing multi-tier,
web based enterprises applications.
Two Tier Architecture
• Client can view output in the Browser
• Server having both Web Server and Database
Server.
Client Server
Three Tier Architecture
• Business Logics and Database Logics has been
separated.
• It is adopted by J2EE.
client app server server
7
Three Tier architecture(Cont..)
Web Logics
Web Server
(Tomcat, JBoss)
Browser
(IE, Firefox,
Opera)
Desktop
(PC or MAC)
Database
Database
Server
SQLHTTP
HTML tablesvision
touch
Presentation
Layer
Application
Layer
Persistence
Layer
Servlet
• Servlets are java codes having HTML inside.
• Servlets are better then CGI
Output
Source Code
CGI
Based
Webserver
CGI
Based
Webserver
Request CGI1
Child for CGI1
CGI
Based
Webserver
Servlet Based Webserver
JVM
Request CGI1
Child for CGI1
Request Servlet1
CGI
Based
Webserver
Servlet Based Webserver
JVM
Servlet1
Request CGI1
Child for CGI1
Request CGI2
Request Servlet1
CGI
Based
Webserver
Child for CGI2
Servlet Based Webserver
JVM
Servlet1
Request CGI1
Child for CGI1
Request CGI2
Request Servlet1
Request Servlet2
CGI
Based
Webserver
Child for CGI2
Servlet Based Webserver
JVM
Servlet1
Servlet2
Request CGI1
Child for CGI1
Request CGI2
Request CGI1
Request Servlet1
Request Servlet2
CGI
Based
Webserver
Child for CGI2
Child for CGI1
Servlet Based Webserver
JVM
Servlet1
Servlet2
Request CGI1
Child for CGI1
Request CGI2
Request CGI1
Request Servlet1
Request Servlet2
Request Servlet1
CGI
Based
Webserver
Child for CGI2
Child for CGI1
Servlet Based Webserver
JVM
Servlet1
Servlet2
Request CGI1
Child for CGI1
Servlet vs. CGI
Servlet Working
Client Server
Request
Response
HelloServlet.java
helloServlet.class
Read
Generate
Servlet
Client
ServerServlet
container
thread
request
response
Servlet(cont…)
Servlet Working
2
3
1
4
5
6
JSP(Java Serve Page)
• JSP is HTML having Java Code inside it.
JSP(Java Server Page)
Client Server
Request
Response
Hello.jsp
helloServlet.class
helloServlet.java
Read
Generate
Execute
MVC Architecture
• The model is logical backbone of the
application.
• The view (presentation) is responsible to
display the data provided by the model in a
specific format
• The controller handles the model and view
layers to work together
MVC Architecture
Struts History
• Created in 2000 by Craig R. McClanahan
• Donated to ASF(Apache Software Foundation) in 2000
• Current stable release: 2.3
Struts 1.3.x Framework
• Apache Struts is a platform activity.
• Composable Request Processor( for SSLEXT configuration)
• Supports Serialization
• "Extends" attribute
• "isCommitted" Exception Handling
• Postback Actions
• Wildcard ActionConfig properties
Struts Directory Structure
Summer training seminar

More Related Content

What's hot

End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
andrejusb
 

What's hot (19)

Oracle JET CRUD and ADF BC REST
Oracle JET CRUD and ADF BC RESTOracle JET CRUD and ADF BC REST
Oracle JET CRUD and ADF BC REST
 
Enterprise java unit-2_chapter-3
Enterprise  java unit-2_chapter-3Enterprise  java unit-2_chapter-3
Enterprise java unit-2_chapter-3
 
Java EE 7 - Overview and Status
Java EE 7  - Overview and StatusJava EE 7  - Overview and Status
Java EE 7 - Overview and Status
 
Java EE 8 Recipes
Java EE 8 RecipesJava EE 8 Recipes
Java EE 8 Recipes
 
Servlet programming
Servlet programmingServlet programming
Servlet programming
 
Spring Mvc
Spring MvcSpring Mvc
Spring Mvc
 
Java EE vs Spring Framework
Java  EE vs Spring Framework Java  EE vs Spring Framework
Java EE vs Spring Framework
 
JSF 2.3: Integration with Front-End Frameworks
JSF 2.3: Integration with Front-End FrameworksJSF 2.3: Integration with Front-End Frameworks
JSF 2.3: Integration with Front-End Frameworks
 
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
 
Utilizing JSF Front Ends with Microservices
Utilizing JSF Front Ends with MicroservicesUtilizing JSF Front Ends with Microservices
Utilizing JSF Front Ends with Microservices
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
 
EJB 3.0 and J2EE
EJB 3.0 and J2EEEJB 3.0 and J2EE
EJB 3.0 and J2EE
 
Play with Angular JS
Play with Angular JSPlay with Angular JS
Play with Angular JS
 
Oracle JET and WebSocket
Oracle JET and WebSocketOracle JET and WebSocket
Oracle JET and WebSocket
 
Java EE 8 Web Frameworks: A Look at JSF vs MVC
Java EE 8 Web Frameworks: A Look at JSF vs MVCJava EE 8 Web Frameworks: A Look at JSF vs MVC
Java EE 8 Web Frameworks: A Look at JSF vs MVC
 
Offline Web with Oracle JET
Offline Web with Oracle JETOffline Web with Oracle JET
Offline Web with Oracle JET
 
Best Practices for JSF, Gameduell 2013
Best Practices for JSF, Gameduell 2013Best Practices for JSF, Gameduell 2013
Best Practices for JSF, Gameduell 2013
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the Horizon
 

Viewers also liked

PHPNW14 - Getting Started With AWS
PHPNW14 - Getting Started With AWSPHPNW14 - Getting Started With AWS
PHPNW14 - Getting Started With AWS
benwaine
 
Web Security Introduction Webserver hacking refers to ...
Web Security Introduction Webserver hacking refers to ...Web Security Introduction Webserver hacking refers to ...
Web Security Introduction Webserver hacking refers to ...
webhostingguy
 
Why Node.js
Why Node.jsWhy Node.js
Why Node.js
guileen
 
Turning Marketing Words into a Branded People Experience
Turning Marketing Words into a Branded People ExperienceTurning Marketing Words into a Branded People Experience
Turning Marketing Words into a Branded People Experience
Bridge Training and Events
 
Pentesting web applications
Pentesting web applicationsPentesting web applications
Pentesting web applications
Satish b
 

Viewers also liked (17)

PHPNW14 - Getting Started With AWS
PHPNW14 - Getting Started With AWSPHPNW14 - Getting Started With AWS
PHPNW14 - Getting Started With AWS
 
Web Security Introduction Webserver hacking refers to ...
Web Security Introduction Webserver hacking refers to ...Web Security Introduction Webserver hacking refers to ...
Web Security Introduction Webserver hacking refers to ...
 
Why Node.js
Why Node.jsWhy Node.js
Why Node.js
 
Web Fendamentals
Web FendamentalsWeb Fendamentals
Web Fendamentals
 
Turning Marketing Words into a Branded People Experience
Turning Marketing Words into a Branded People ExperienceTurning Marketing Words into a Branded People Experience
Turning Marketing Words into a Branded People Experience
 
Ajax And JSON
Ajax And JSONAjax And JSON
Ajax And JSON
 
Basic Website 101
Basic Website 101Basic Website 101
Basic Website 101
 
Nodejs
NodejsNodejs
Nodejs
 
Joomla REST API
Joomla REST APIJoomla REST API
Joomla REST API
 
Pentesting web applications
Pentesting web applicationsPentesting web applications
Pentesting web applications
 
Server side scripting smack down - Node.js vs PHP
Server side scripting smack down - Node.js vs PHPServer side scripting smack down - Node.js vs PHP
Server side scripting smack down - Node.js vs PHP
 
Webservices: connecting Joomla! with other programs.
Webservices: connecting Joomla! with other programs.Webservices: connecting Joomla! with other programs.
Webservices: connecting Joomla! with other programs.
 
SmokeTests
SmokeTestsSmokeTests
SmokeTests
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
 
Client Vs. Server Rendering
Client Vs. Server RenderingClient Vs. Server Rendering
Client Vs. Server Rendering
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
 
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMPHow To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
 

Similar to Summer training seminar

Project Presentation on Advance Java
Project Presentation on Advance JavaProject Presentation on Advance Java
Project Presentation on Advance Java
Vikas Goyal
 
Programming Server side with Sevlet
 Programming Server side with Sevlet  Programming Server side with Sevlet
Programming Server side with Sevlet
backdoor
 

Similar to Summer training seminar (20)

Ecom 1
Ecom 1Ecom 1
Ecom 1
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
J2EE and Servlet
J2EE and Servlet J2EE and Servlet
J2EE and Servlet
 
Java Servlets Tutorial | Introduction to Servlets | Java Certification Traini...
Java Servlets Tutorial | Introduction to Servlets | Java Certification Traini...Java Servlets Tutorial | Introduction to Servlets | Java Certification Traini...
Java Servlets Tutorial | Introduction to Servlets | Java Certification Traini...
 
Project Presentation on Advance Java
Project Presentation on Advance JavaProject Presentation on Advance Java
Project Presentation on Advance Java
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
Asif
AsifAsif
Asif
 
Virtual classroom
Virtual classroomVirtual classroom
Virtual classroom
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 
Advance java1.1
Advance java1.1Advance java1.1
Advance java1.1
 
nagavarthini ppt.pptx
nagavarthini ppt.pptxnagavarthini ppt.pptx
nagavarthini ppt.pptx
 
Programming Server side with Sevlet
 Programming Server side with Sevlet  Programming Server side with Sevlet
Programming Server side with Sevlet
 
Web Component Development with Servlet and JSP Technologies Unit 01
Web Component Development with Servlet and JSP Technologies Unit 01Web Component Development with Servlet and JSP Technologies Unit 01
Web Component Development with Servlet and JSP Technologies Unit 01
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
 
Enterprise JavaBeans(EJB)
Enterprise JavaBeans(EJB)Enterprise JavaBeans(EJB)
Enterprise JavaBeans(EJB)
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptx
 
AJ.pptx
AJ.pptxAJ.pptx
AJ.pptx
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 

Summer training seminar

  • 1. J2EE TECHONOLOGY Prepared By: Govind Singh Branch: Computer Science Roll No. : 2010UCS016 Training Location : Hewlett-Packard Education Services, Jaipur
  • 2. About HPES • HP is the largest IT solution and UNIX training company worldwide. • HP has been in the education business for over 30 years. • HP is having more than 400 education centers worldwide.
  • 3. Content  Introduction to J2EE  Servlet  JSPs  MVC Architecture  Introduction to Structs 1.3 Framework
  • 4. Introduction To J2EE • J2EE is java’s Enterprises Edition that interfaces and provide platform for different technologies. • J2EE defines a model for developing multi-tier, web based enterprises applications.
  • 5. Two Tier Architecture • Client can view output in the Browser • Server having both Web Server and Database Server. Client Server
  • 6. Three Tier Architecture • Business Logics and Database Logics has been separated. • It is adopted by J2EE. client app server server
  • 7. 7 Three Tier architecture(Cont..) Web Logics Web Server (Tomcat, JBoss) Browser (IE, Firefox, Opera) Desktop (PC or MAC) Database Database Server SQLHTTP HTML tablesvision touch Presentation Layer Application Layer Persistence Layer
  • 8. Servlet • Servlets are java codes having HTML inside. • Servlets are better then CGI Output Source Code
  • 9. CGI Based Webserver CGI Based Webserver Request CGI1 Child for CGI1 CGI Based Webserver Servlet Based Webserver JVM Request CGI1 Child for CGI1 Request Servlet1 CGI Based Webserver Servlet Based Webserver JVM Servlet1 Request CGI1 Child for CGI1 Request CGI2 Request Servlet1 CGI Based Webserver Child for CGI2 Servlet Based Webserver JVM Servlet1 Request CGI1 Child for CGI1 Request CGI2 Request Servlet1 Request Servlet2 CGI Based Webserver Child for CGI2 Servlet Based Webserver JVM Servlet1 Servlet2 Request CGI1 Child for CGI1 Request CGI2 Request CGI1 Request Servlet1 Request Servlet2 CGI Based Webserver Child for CGI2 Child for CGI1 Servlet Based Webserver JVM Servlet1 Servlet2 Request CGI1 Child for CGI1 Request CGI2 Request CGI1 Request Servlet1 Request Servlet2 Request Servlet1 CGI Based Webserver Child for CGI2 Child for CGI1 Servlet Based Webserver JVM Servlet1 Servlet2 Request CGI1 Child for CGI1 Servlet vs. CGI
  • 14. JSP(Java Serve Page) • JSP is HTML having Java Code inside it.
  • 15. JSP(Java Server Page) Client Server Request Response Hello.jsp helloServlet.class helloServlet.java Read Generate Execute
  • 16. MVC Architecture • The model is logical backbone of the application. • The view (presentation) is responsible to display the data provided by the model in a specific format • The controller handles the model and view layers to work together
  • 18. Struts History • Created in 2000 by Craig R. McClanahan • Donated to ASF(Apache Software Foundation) in 2000 • Current stable release: 2.3
  • 19. Struts 1.3.x Framework • Apache Struts is a platform activity. • Composable Request Processor( for SSLEXT configuration) • Supports Serialization • "Extends" attribute • "isCommitted" Exception Handling • Postback Actions • Wildcard ActionConfig properties