SlideShare ist ein Scribd-Unternehmen logo
1 von 17
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

Weitere ähnliche Inhalte

Was ist angesagt?

client server architecture
client server architecture client server architecture
client server architecture Saurabh Soni
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETRajkumarsoy
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2sandeep54552
 
Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Pooja Talreja
 
Developing a Map Reduce Application
Developing a Map Reduce ApplicationDeveloping a Map Reduce Application
Developing a Map Reduce ApplicationDr. C.V. Suresh Babu
 
Enterprise application development
Enterprise application developmentEnterprise application development
Enterprise application developmentcolleges
 
Enterprise Java Beans - EJB
Enterprise Java Beans - EJBEnterprise Java Beans - EJB
Enterprise Java Beans - EJBPeter R. Egli
 
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions ManualFundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manualtefimetib
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State managementShivanand Arur
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral ModelingAMITJain879
 
Servlet and servlet life cycle
Servlet and servlet life cycleServlet and servlet life cycle
Servlet and servlet life cycleDhruvin Nakrani
 
Client Server models in JAVA
Client Server models in JAVAClient Server models in JAVA
Client Server models in JAVATech_MX
 
Client server architecture
Client server architectureClient server architecture
Client server architectureRituBhargava7
 
Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Peter R. Egli
 

Was ist angesagt? (20)

client server architecture
client server architecture client server architecture
client server architecture
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
 
Java Beans
Java BeansJava Beans
Java Beans
 
Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)
 
C# Private assembly
C# Private assemblyC# Private assembly
C# Private assembly
 
JNDI
JNDIJNDI
JNDI
 
Developing a Map Reduce Application
Developing a Map Reduce ApplicationDeveloping a Map Reduce Application
Developing a Map Reduce Application
 
Enterprise application development
Enterprise application developmentEnterprise application development
Enterprise application development
 
Enterprise Java Beans - EJB
Enterprise Java Beans - EJBEnterprise Java Beans - EJB
Enterprise Java Beans - EJB
 
Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
 
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions ManualFundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State management
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
 
Servlet and servlet life cycle
Servlet and servlet life cycleServlet and servlet life cycle
Servlet and servlet life cycle
 
Jsp ppt
Jsp pptJsp ppt
Jsp ppt
 
Session bean
Session beanSession bean
Session bean
 
Client Server models in JAVA
Client Server models in JAVAClient Server models in JAVA
Client Server models in JAVA
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Remote Method Invocation (RMI)
Remote Method Invocation (RMI)
 

Andere mochten auch

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 informaticaFatima Melca
 
Plan de marketing stollwerck
Plan de marketing stollwerckPlan de marketing stollwerck
Plan de marketing stollwerckToni 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 LanguageLuis Borges Gouveia
 
Virtual Reality Modeling Language
Virtual Reality Modeling LanguageVirtual Reality Modeling Language
Virtual Reality Modeling LanguageSwati Chauhan
 
J2EE - JSP-Servlet- Container - Components
J2EE - JSP-Servlet- Container - ComponentsJ2EE - JSP-Servlet- Container - Components
J2EE - JSP-Servlet- Container - ComponentsKaml Sah
 
Momentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionMomentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionJen 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
 
Cos’è l’idrosadenite suppurativa - Agnese Cremaschi
Cos’è l’idrosadenite suppurativa - Agnese CremaschiCos’è l’idrosadenite suppurativa - Agnese Cremaschi
Cos’è l’idrosadenite suppurativa - Agnese CremaschiAgnese 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 WorkSimon Brown
 
Gabby Malpas portfolio 2014-2015
Gabby Malpas portfolio 2014-2015Gabby Malpas portfolio 2014-2015
Gabby Malpas portfolio 2014-2015Impact 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 marketingDigiworks
 

Andere mochten auch (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
 

Ähnlich wie J2 ee container & components

enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfEidTahir
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - IntroductionJoel Briza
 
Mcv design patterns
Mcv design patternsMcv design patterns
Mcv design patternsRob 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).pdfSPAMVEDANT
 
Ejb course-in-mumbai
Ejb course-in-mumbaiEjb course-in-mumbai
Ejb course-in-mumbaivibrantuser
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to strutsAnup72
 
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 JDBCChaithraCSHirematt
 
EJB 3.0 - Yet Another Introduction
EJB 3.0 - Yet Another IntroductionEJB 3.0 - Yet Another Introduction
EJB 3.0 - Yet Another IntroductionKelum Senanayake
 
J2ee web services(overview)
J2ee web services(overview)J2ee web services(overview)
J2ee web services(overview)Prafull Jain
 
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 developementArchana Jha
 
Glassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionGlassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionDanairat Thanabodithammachari
 
Web Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee ApplicationsWeb Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee ApplicationsGagandeep Singh
 

Ähnlich wie J2 ee container & components (20)

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
 
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
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
 
Web Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee ApplicationsWeb Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee Applications
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

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.