SlideShare a Scribd company logo
J2EE Container & Components
Presented By
Keshab Nath
J2EE???
• J2EE defines a standard platform for developing multi-tier
enterprise applications that are highly flexible.
• The Java2 Enterprise Edition(J2EE) provides a distributed
environment for developing, deploying and executing
applications.
• J2EE allows to focus on business logic in the program.
J2EE Components
• Application logic is divided into components according to
function, and the various application components.
• There are three kinds of defined components:
- Client-tier components run on the client machine.
- Web-tier components run on the J2EE server.
- Business-tier components run on the J2EE server.
- Enterprise information system (EIS)-tier software runs on
the EIS server.
Fig: Multi-tiered Application
Client Component
• Application clients and applet clients are components
that run on the client.
• An application client runs on a client machine and
provides a way for users to access the J2EE services.
• A web page received from the web tier can include an
embedded applet. An applet is a small client
application written in Java language that executes in
the Java virtual machine installed in the web browser.
Web Component
• J2EE web components are either servlets or pages
created using JSP technology(JSP Pages).
• Servlets are Java programming language classes that
dynamically process requests and construct
responses.
• JSP are server-side programming that accept,store
and search data coming from client application. They
converts to servlets before processing.
Business Component
• Business code, which is logic that solves the needs of
a particular business domain such as banking, retail,
or finance, is handled by enterprise beans running in
the business tier.
• Enterprise JavaBeans are server-side, modular, and
reusable components that comprise specific units of
functionality.
• There are three kinds of enterprise beans:
session beans, entity beans, and message-driven
beans.
Business Component (contd…)
• Session beans: These may be
either stateful or stateless, and are primarily used to
encapsulate business logic, carry out tasks on behalf of a
client, and act as controllers for other beans.
• Entity beans: An entity bean represents persistent data
stored in one row of a database table. If the client terminates or
if the server shuts down,the underlying services ensure that the
entity bean data is saved.
• Message-driven beans: Message-driven beans listen
asynchronously for Java Message Service (JMS) messages
from any client or component.
Enterprise Information System Tier
• The enterprise information system tier handles J2EE
architecture’s connectivity to resources that are not
part of J2EE.
• These include a variety of resources such as
enterprise resource planning(ERP),database systems,
and other legacy information systems.
• This tier provides flexibility.
J2EE Container
• The application server maintains control and provides
services through an interface or framework known as
a container.
• J2EE containers provide runtime support for J2EE
application components.
• J2EE application components use the protocols and
methods of the container to access other application
components and services provided by the server.
J2EE Container (contd…)
• There are five defined container types in the J2EE
specification.
• Two of these are server-side containers:
An EJB container, A Web container.
• The other two container types are client-side:
An application container, An applet container.
Fig: J2EE Containers
The web container
• The Web Container is a J2EE container that hosts
web applications.
• Manages the execution of JSP page and servlet
components for J2EE applications.
• Web components and their container run on the J2EE
server.
The EJB Container
• The EJB container acts as an interface between an
enterprise bean and the clients.
• Manages the execution of enterprise beans for J2EE
applications.
• Enterprise beans and their container run on the J2EE server.
• The container is responsible for creating the enterprise bean,
binding the enterprise bean to the naming service.
• It provides security by ensuring that only authorized clients
have access to the enterprise bean and its business methods.
• It saves the bean’s state to persistent storage, and activating
or passivating the bean when necessary.
Application Client Container
• Manages the execution of application client
containers.
• Application clients and their container run on the
client.
Applet container
• Manages the execution of applets.
• It consists of a web browser and Java Plug-in running
on the client together.
Thanks

More Related Content

What's hot

JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
josemachoco
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
Sajith Ekanayaka
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
Rabin BK
 
Database Programming
Database ProgrammingDatabase Programming
Database Programming
Henry Osborne
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State management
Shivanand Arur
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modelingSlideshare
 
Introduction to EJB
Introduction to EJBIntroduction to EJB
Introduction to EJB
Return on Intelligence
 
Bank management system
Bank management systemBank management system
Bank management system
sumanadas37
 
Adbms lab manual
Adbms lab manualAdbms lab manual
Adbms lab manual
RAKESH KUMAR
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
Benazir Fathima
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
Jignesh Kariya
 
Multimedia Database
Multimedia Database Multimedia Database
Multimedia Database
Avnish Patel
 
PPL, OQL & oodbms
PPL, OQL & oodbmsPPL, OQL & oodbms
PPL, OQL & oodbms
ramandeep brar
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
Muhammad Muzammal
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java eeRanjan Kumar
 
Jsp element
Jsp elementJsp element
Jsp element
kamal kotecha
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
Ajay Jha
 
7) packaging and deployment
7) packaging and deployment7) packaging and deployment
7) packaging and deploymenttechbed
 

What's hot (20)

JVM
JVMJVM
JVM
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Database Programming
Database ProgrammingDatabase Programming
Database Programming
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State management
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modeling
 
Introduction to EJB
Introduction to EJBIntroduction to EJB
Introduction to EJB
 
Bank management system
Bank management systemBank management system
Bank management system
 
Adbms lab manual
Adbms lab manualAdbms lab manual
Adbms lab manual
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Multimedia Database
Multimedia Database Multimedia Database
Multimedia Database
 
PPL, OQL & oodbms
PPL, OQL & oodbmsPPL, OQL & oodbms
PPL, OQL & oodbms
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java ee
 
Jsp element
Jsp elementJsp element
Jsp element
 
JDBC
JDBCJDBC
JDBC
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
7) packaging and deployment
7) packaging and deployment7) packaging and deployment
7) packaging and deployment
 

Viewers also liked

Pandemic influenza and pregnant women rasmussen eid 2008
Pandemic influenza and pregnant women rasmussen eid 2008Pandemic influenza and pregnant women rasmussen eid 2008
Pandemic influenza and pregnant women rasmussen eid 2008Ruth Vargas Gonzales
 
Proposta do site telessaude ipub enviada a informatica
Proposta do site telessaude ipub enviada a informaticaProposta do site telessaude ipub enviada a informatica
Proposta do site telessaude ipub enviada a informatica
Fatima Melca
 
Plan de marketing stollwerck
Plan de marketing stollwerckPlan de marketing stollwerck
Plan de marketing stollwerck
Toni Nieto Rivera
 
Guru Josh en Arte 10 galería inaugura el 18 a las 19h.
Guru Josh en Arte 10 galería inaugura el 18 a las 19h.Guru Josh en Arte 10 galería inaugura el 18 a las 19h.
Guru Josh en Arte 10 galería inaugura el 18 a las 19h.
Fernando Díez Prieto
 
Vrml Virtual Reality Modeling Language
Vrml Virtual Reality Modeling LanguageVrml Virtual Reality Modeling Language
Vrml Virtual Reality Modeling Language
Luis Borges Gouveia
 
Virtual Reality Modeling Language
Virtual Reality Modeling LanguageVirtual Reality Modeling Language
Virtual Reality Modeling Language
Swati Chauhan
 
J2EE - JSP-Servlet- Container - Components
J2EE - JSP-Servlet- Container - ComponentsJ2EE - JSP-Servlet- Container - Components
J2EE - JSP-Servlet- Container - Components
Kaml Sah
 
Momentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionMomentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP Discussion
Jen Wolfe
 
Emaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailing
Emaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailingEmaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailing
Emaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailingCERTyou Formation
 
Name That Bone!
Name That Bone!Name That Bone!
Name That Bone!
Khan Khun
 
Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...
Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...
Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...
Parque Científico y Tecnológico de Turismo y Ocio
 
Hiep phat
Hiep phatHiep phat
Cos’è l’idrosadenite suppurativa - Agnese Cremaschi
Cos’è l’idrosadenite suppurativa - Agnese CremaschiCos’è l’idrosadenite suppurativa - Agnese Cremaschi
Cos’è l’idrosadenite suppurativa - Agnese Cremaschi
Agnese Cremaschi
 
ENCUESTA CONHELA2 DEL SUR
ENCUESTA CONHELA2 DEL SURENCUESTA CONHELA2 DEL SUR
ENCUESTA CONHELA2 DEL SURCONHELA2DELSUR
 
Connecting At Work
Connecting At WorkConnecting At Work
Connecting At Work
Simon Brown
 
Gabby Malpas portfolio 2014-2015
Gabby Malpas portfolio 2014-2015Gabby Malpas portfolio 2014-2015
Gabby Malpas portfolio 2014-2015
Impact and Co
 
Gamification - Le digital marketing entertainment au service du marketing
Gamification - Le digital marketing entertainment au service du marketingGamification - Le digital marketing entertainment au service du marketing
Gamification - Le digital marketing entertainment au service du marketing
Digiworks
 

Viewers also liked (20)

Pandemic influenza and pregnant women rasmussen eid 2008
Pandemic influenza and pregnant women rasmussen eid 2008Pandemic influenza and pregnant women rasmussen eid 2008
Pandemic influenza and pregnant women rasmussen eid 2008
 
Proposta do site telessaude ipub enviada a informatica
Proposta do site telessaude ipub enviada a informaticaProposta do site telessaude ipub enviada a informatica
Proposta do site telessaude ipub enviada a informatica
 
Malignant hypertermia slides
Malignant hypertermia slidesMalignant hypertermia slides
Malignant hypertermia slides
 
Plan de marketing stollwerck
Plan de marketing stollwerckPlan de marketing stollwerck
Plan de marketing stollwerck
 
Guru Josh en Arte 10 galería inaugura el 18 a las 19h.
Guru Josh en Arte 10 galería inaugura el 18 a las 19h.Guru Josh en Arte 10 galería inaugura el 18 a las 19h.
Guru Josh en Arte 10 galería inaugura el 18 a las 19h.
 
Vrml Virtual Reality Modeling Language
Vrml Virtual Reality Modeling LanguageVrml Virtual Reality Modeling Language
Vrml Virtual Reality Modeling Language
 
Virtual Reality Modeling Language
Virtual Reality Modeling LanguageVirtual Reality Modeling Language
Virtual Reality Modeling Language
 
J2EE - JSP-Servlet- Container - Components
J2EE - JSP-Servlet- Container - ComponentsJ2EE - JSP-Servlet- Container - Components
J2EE - JSP-Servlet- Container - Components
 
Momentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionMomentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP Discussion
 
Emaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailing
Emaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailingEmaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailing
Emaem formation-referencement-e-marketing-reseaux-sociaux-et-e-mailing
 
Cultural al dia 5
Cultural al dia 5Cultural al dia 5
Cultural al dia 5
 
Name That Bone!
Name That Bone!Name That Bone!
Name That Bone!
 
Gesù Parla
Gesù ParlaGesù Parla
Gesù Parla
 
Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...
Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...
Boletín PCTnews, novedades del Parque Científico y Tecnológico de Turismo y O...
 
Hiep phat
Hiep phatHiep phat
Hiep phat
 
Cos’è l’idrosadenite suppurativa - Agnese Cremaschi
Cos’è l’idrosadenite suppurativa - Agnese CremaschiCos’è l’idrosadenite suppurativa - Agnese Cremaschi
Cos’è l’idrosadenite suppurativa - Agnese Cremaschi
 
ENCUESTA CONHELA2 DEL SUR
ENCUESTA CONHELA2 DEL SURENCUESTA CONHELA2 DEL SUR
ENCUESTA CONHELA2 DEL SUR
 
Connecting At Work
Connecting At WorkConnecting At Work
Connecting At Work
 
Gabby Malpas portfolio 2014-2015
Gabby Malpas portfolio 2014-2015Gabby Malpas portfolio 2014-2015
Gabby Malpas portfolio 2014-2015
 
Gamification - Le digital marketing entertainment au service du marketing
Gamification - Le digital marketing entertainment au service du marketingGamification - Le digital marketing entertainment au service du marketing
Gamification - Le digital marketing entertainment au service du marketing
 

Similar to J2 ee container & components

Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
sandeep54552
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
EidTahir
 
Unite5-EJB-2019.ppt
Unite5-EJB-2019.pptUnite5-EJB-2019.ppt
Unite5-EJB-2019.ppt
Krishna900061
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
anil_kumar132001
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
OmkarKamble76
 
Mcv design patterns
Mcv design patternsMcv design patterns
Mcv design patterns
Rob Paok
 
EJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdfEJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdf
SPAMVEDANT
 
Ejb course-in-mumbai
Ejb course-in-mumbaiEjb course-in-mumbai
Ejb course-in-mumbai
vibrantuser
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
Anup72
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
ChaithraCSHirematt
 
EJB 3.0 - Yet Another Introduction
EJB 3.0 - Yet Another IntroductionEJB 3.0 - Yet Another Introduction
EJB 3.0 - Yet Another Introduction
Kelum Senanayake
 
Advance java1.1
Advance java1.1Advance java1.1
Advance java1.1
Prince Soni
 
J2ee web services(overview)
J2ee web services(overview)J2ee web services(overview)
J2ee web services(overview)
Prafull Jain
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
GowriLatha1
 
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
SSA KPI
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
Archana Jha
 
enterprise java bean
enterprise java beanenterprise java bean
enterprise java bean
Jitender Singh Lodhi
 
Glassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionGlassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE Introduction
Danairat Thanabodithammachari
 
B Shilpa
B ShilpaB Shilpa

Similar to J2 ee container & components (20)

Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
 
Unite5-EJB-2019.ppt
Unite5-EJB-2019.pptUnite5-EJB-2019.ppt
Unite5-EJB-2019.ppt
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
 
Mcv design patterns
Mcv design patternsMcv design patterns
Mcv design patterns
 
EJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdfEJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdf
 
Ejb course-in-mumbai
Ejb course-in-mumbaiEjb course-in-mumbai
Ejb course-in-mumbai
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
 
EJB 3.0 - Yet Another Introduction
EJB 3.0 - Yet Another IntroductionEJB 3.0 - Yet Another Introduction
EJB 3.0 - Yet Another Introduction
 
Advance java1.1
Advance java1.1Advance java1.1
Advance java1.1
 
J2ee web services(overview)
J2ee web services(overview)J2ee web services(overview)
J2ee web services(overview)
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
 
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
 
enterprise java bean
enterprise java beanenterprise java bean
enterprise java bean
 
Glassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionGlassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE Introduction
 
B Shilpa
B ShilpaB Shilpa
B Shilpa
 

More from Keshab Nath

Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)Keshab Nath
 
Distributed computing
Distributed computingDistributed computing
Distributed computingKeshab Nath
 
Cyber crime and cyber security
Cyber crime and cyber  securityCyber crime and cyber  security
Cyber crime and cyber securityKeshab Nath
 

More from Keshab Nath (6)

Grid computing
Grid computingGrid computing
Grid computing
 
Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
IP Security
IP SecurityIP Security
IP Security
 
Cyber crime and cyber security
Cyber crime and cyber  securityCyber crime and cyber  security
Cyber crime and cyber security
 
Cyber law
Cyber lawCyber law
Cyber law
 

Recently uploaded

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 

Recently uploaded (20)

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 

J2 ee container & components

  • 1. J2EE Container & Components Presented By Keshab Nath
  • 2. J2EE??? • J2EE defines a standard platform for developing multi-tier enterprise applications that are highly flexible. • The Java2 Enterprise Edition(J2EE) provides a distributed environment for developing, deploying and executing applications. • J2EE allows to focus on business logic in the program.
  • 3. J2EE Components • Application logic is divided into components according to function, and the various application components. • There are three kinds of defined components: - Client-tier components run on the client machine. - Web-tier components run on the J2EE server. - Business-tier components run on the J2EE server. - Enterprise information system (EIS)-tier software runs on the EIS server.
  • 5. Client Component • Application clients and applet clients are components that run on the client. • An application client runs on a client machine and provides a way for users to access the J2EE services. • A web page received from the web tier can include an embedded applet. An applet is a small client application written in Java language that executes in the Java virtual machine installed in the web browser.
  • 6. Web Component • J2EE web components are either servlets or pages created using JSP technology(JSP Pages). • Servlets are Java programming language classes that dynamically process requests and construct responses. • JSP are server-side programming that accept,store and search data coming from client application. They converts to servlets before processing.
  • 7. Business Component • Business code, which is logic that solves the needs of a particular business domain such as banking, retail, or finance, is handled by enterprise beans running in the business tier. • Enterprise JavaBeans are server-side, modular, and reusable components that comprise specific units of functionality. • There are three kinds of enterprise beans: session beans, entity beans, and message-driven beans.
  • 8. Business Component (contd…) • Session beans: These may be either stateful or stateless, and are primarily used to encapsulate business logic, carry out tasks on behalf of a client, and act as controllers for other beans. • Entity beans: An entity bean represents persistent data stored in one row of a database table. If the client terminates or if the server shuts down,the underlying services ensure that the entity bean data is saved. • Message-driven beans: Message-driven beans listen asynchronously for Java Message Service (JMS) messages from any client or component.
  • 9. Enterprise Information System Tier • The enterprise information system tier handles J2EE architecture’s connectivity to resources that are not part of J2EE. • These include a variety of resources such as enterprise resource planning(ERP),database systems, and other legacy information systems. • This tier provides flexibility.
  • 10. J2EE Container • The application server maintains control and provides services through an interface or framework known as a container. • J2EE containers provide runtime support for J2EE application components. • J2EE application components use the protocols and methods of the container to access other application components and services provided by the server.
  • 11. J2EE Container (contd…) • There are five defined container types in the J2EE specification. • Two of these are server-side containers: An EJB container, A Web container. • The other two container types are client-side: An application container, An applet container.
  • 13. The web container • The Web Container is a J2EE container that hosts web applications. • Manages the execution of JSP page and servlet components for J2EE applications. • Web components and their container run on the J2EE server.
  • 14. The EJB Container • The EJB container acts as an interface between an enterprise bean and the clients. • Manages the execution of enterprise beans for J2EE applications. • Enterprise beans and their container run on the J2EE server. • The container is responsible for creating the enterprise bean, binding the enterprise bean to the naming service. • It provides security by ensuring that only authorized clients have access to the enterprise bean and its business methods. • It saves the bean’s state to persistent storage, and activating or passivating the bean when necessary.
  • 15. Application Client Container • Manages the execution of application client containers. • Application clients and their container run on the client.
  • 16. Applet container • Manages the execution of applets. • It consists of a web browser and Java Plug-in running on the client together.