SlideShare a Scribd company logo
JAVA PLATFORMS

•J2SE – Java 2 Standard Edition    Java for the desktop / workstation
     •
•J2ME – Java 2 Micro Edition       Java for the consumer device

•J2EE - Java 2 Enterprise Edition  Java for the server
J2ee   J2se   J2me
J2EE Supports

• Extensible Markup Language

• Web Applications

• Web Services Support / WSDL Standard Format

• UDDI and ebXML Standard Formats

• HTTP-SOAP Transport Protocol
•J2EE comes with a built in application server

•J2EE defines Java API for XML Processing (JAXP)
API for processing XML

•Uses SAX and DOM standards
•J2EE does not specify the nature and structure of
the runtime.

•J2EE Container – capability of the runtime to
manage application components.

•J2EE APIs specifies the contract between the
applications and the container.
Data

                                                                                                                         JDBC

                                                                                                                                    RDBMS

Client                                    Application Logic
                                                                                                                        JavaMail

                         Web Container                                                                                             Mail Server
HTML/
 XML                                                                                                                      RMI
           Servlets                        JSPs
                                                                                       J2EE
           RMI/IIOP




                                                JavaMail                            Application
                                   JDBC
                      JNDI




                                                                                      Server
                                          JMS

                                                                                                                         IIOP
                             JTA




                                                           JAF
 Applet
                                                                                EJB Container                                        CORBA
                                                                 Session Beans                   Entity Beans
                                                                                                                        JNDI
 Client
Applica-
  tion
                                                                  RMI/IIOP
                                                                                                                               Directory Services




                                                                                                       JavaMail
                                                                                          JDBC
                                                                             JNDI
                                                                                                                         JMS



                                                                                                 JMS
                                                                                    JTA




                                                                                                                  JAF
•The Component technologies – to hold the business logic. (JSP, Servlets and EJB)

•The Service technologies – to provide supported services to application
components (JDBC, JTA, JNDI)

•The Communication technologies – transparent to appln programmer, provide
the mechanism for communication among different parts of the appln.
(JMS, JavaMail, RMI-IIOP)

•They are re-usable software units containing business logic.

• An EJB is just a collection of Java classes and an XML file, bundled into a single
unit.
• They are re-usable software units containing business logic.

• An EJB is just a collection of Java classes and an XML file, bundled into a
  single unit.

• Java classes must follow certain rules and provide certain callback
   methods.
• Session Beans

• Entity Beans

• Message-driven Beans
• Intended for the use of a single client.

• Lifespan is limited to that of its client.

• When the client leaves the web site or the application is shut down, the
  session bean disappears.
Can keep information on behalf of its client across method calls.


For example,

     Full information of the client is stored in every transactions
example , credit card
• This bean implements a particular business logic, though its
created for a particular client, it doesn’t have to remember anything
about the client.


• Can be considered as a remote procedure that gets executed on
behalf of the client, taking some parameters and returns the result
(of calculation in a particular business rule context).
•Persistence is its basic property.

•It stays around even after the program is terminated until it is deleted.

•When the program is restarted, it can gain access to this bean again.

•It can be used by any program on the network.

•It is executed remotely.

•It is identified by a primary key.

•Its nothing but the object representation of records in RDBMS tables.
Advantages

• J2EE provides a complete architecture for developing

       - Distributed systems including object persistence, session tracking,
         transaction management, …

•Separation of technical and application-specific code

       - Deployment descriptors
       - Container Managed Persistence
Disadvantages

• Very complex technology
     Even simple examples require many interfaces, bean classes, deployment
     descriptors.
• Many errors occur only at runtime (several steps required until the application is
                                                                              running)
- Compilation
- Packaging
- Deployment
- Running the application
A Web Application Framework (WAF) is a
reusable, skeletal, semi-complete modular platform
that can be specialized to produce custom web
applications , which commonly serve the web browsers
via the Http's protocol.


WAF usually implements the Model-View-Controller
(MVC) design pattern, typically in the Model 2
architecture to develop request-response web-based
applications on the Java EE and .NET models.
J2ee and web services
Request-based Framework :
          Struts
          WebWork
          Beehive , Stripes

Component-based Framework
        Jave Server Faces (JSF)
        Tapestry
        Wicket

Hybrid – Meta Framework
          RIFE
          Spring Framework

RIA-based Framework
          DWR
          Echo2
          JSON-RPC-Java

More Related Content

What's hot (20)

PPTX
NLP Applications
Repustate
 
PPTX
Programming Fundamentals
Trivuz ত্রিভুজ
 
PPTX
Backend Programming
Ruwandi Madhunamali
 
PDF
software engineering
Azad public school
 
PDF
LaTex Tutorial
Jhoirene Clemente
 
PPT
Introduction to Natural Language Processing
Pranav Gupta
 
PPSX
Career guidance after bca
JIGAR MAKHIJA
 
PPTX
Introduction to Django Rest Framework
bangaloredjangousergroup
 
PPTX
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
MongoDB
 
PPTX
Yacc
BBDITM LUCKNOW
 
PPTX
Syntax Analysis - LR(0) Parsing in Compiler
RizwanAbro4
 
PDF
Data base management system LAB MANUAL KCS 551.pdf
VandanaTripathi32
 
PPTX
Django Seminar
Yokesh Rana
 
PPTX
Restful web services ppt
OECLIB Odisha Electronics Control Library
 
PDF
System programming note
SANTOSH RATH
 
PDF
Remote Method Invocation
ashishspace
 
PPTX
Introduction to system programming
sonalikharade3
 
PDF
Challenges in nlp
Zareen Syed
 
PDF
Introduction to Django REST Framework, an easy way to build REST framework in...
Zhe Li
 
PPT
Introduction to Natural Language Processing
rohitnayak
 
NLP Applications
Repustate
 
Programming Fundamentals
Trivuz ত্রিভুজ
 
Backend Programming
Ruwandi Madhunamali
 
software engineering
Azad public school
 
LaTex Tutorial
Jhoirene Clemente
 
Introduction to Natural Language Processing
Pranav Gupta
 
Career guidance after bca
JIGAR MAKHIJA
 
Introduction to Django Rest Framework
bangaloredjangousergroup
 
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
MongoDB
 
Syntax Analysis - LR(0) Parsing in Compiler
RizwanAbro4
 
Data base management system LAB MANUAL KCS 551.pdf
VandanaTripathi32
 
Django Seminar
Yokesh Rana
 
System programming note
SANTOSH RATH
 
Remote Method Invocation
ashishspace
 
Introduction to system programming
sonalikharade3
 
Challenges in nlp
Zareen Syed
 
Introduction to Django REST Framework, an easy way to build REST framework in...
Zhe Li
 
Introduction to Natural Language Processing
rohitnayak
 

Similar to J2ee and web services (20)

PDF
Web Application Architecture
Abhishek Chikane
 
PDF
Summer training java
Arshit Rai
 
PPT
Summer training java
Arshit Rai
 
PDF
Shin J2 Ee Programming Half Day
lokendralodha
 
PDF
N(i)2 technical architecture 2.0 (v1 1)
kvz
 
ODP
Java Web Programming [1/9] : Introduction to Web Application
IMC Institute
 
PDF
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
Markus Eisele
 
PDF
JBoss AS / EAP and Java EE6
Dimitris Andreadis
 
PDF
ECM Technical Solution
Thanh Nguyen
 
PDF
Java EE 7 - Into the Cloud
Markus Eisele
 
PDF
JBoss AS7 Reloaded
Dimitris Andreadis
 
PDF
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
Arun Gupta
 
PDF
The Java Ee 6 Platform Normandy Jug
Saagie
 
PDF
TMA Brochure Java
TMA Solutions
 
ODP
Intro in JavaEE world (TU Olomouc)
blahap
 
PDF
The Glassfish Experience
Markus Eisele
 
PDF
Summer training in j2ee
DUCC Systems
 
PDF
Sun Java EE 6 Overview
sbobde
 
PDF
Expendables E-AppStore
lobalint
 
PDF
Spark IT 2011 - Java EE 6 Workshop
Arun Gupta
 
Web Application Architecture
Abhishek Chikane
 
Summer training java
Arshit Rai
 
Summer training java
Arshit Rai
 
Shin J2 Ee Programming Half Day
lokendralodha
 
N(i)2 technical architecture 2.0 (v1 1)
kvz
 
Java Web Programming [1/9] : Introduction to Web Application
IMC Institute
 
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
Markus Eisele
 
JBoss AS / EAP and Java EE6
Dimitris Andreadis
 
ECM Technical Solution
Thanh Nguyen
 
Java EE 7 - Into the Cloud
Markus Eisele
 
JBoss AS7 Reloaded
Dimitris Andreadis
 
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
Arun Gupta
 
The Java Ee 6 Platform Normandy Jug
Saagie
 
TMA Brochure Java
TMA Solutions
 
Intro in JavaEE world (TU Olomouc)
blahap
 
The Glassfish Experience
Markus Eisele
 
Summer training in j2ee
DUCC Systems
 
Sun Java EE 6 Overview
sbobde
 
Expendables E-AppStore
lobalint
 
Spark IT 2011 - Java EE 6 Workshop
Arun Gupta
 
Ad

Recently uploaded (20)

PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPTX
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
How to Configure Storno Accounting in Odoo 18 Accounting
Celine George
 
PDF
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
PPTX
ROLE OF ANTIOXIDANT IN EYE HEALTH MANAGEMENT.pptx
Subham Panja
 
PPTX
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PPTX
Explorando Recursos do Summer '25: Dicas Essenciais - 02
Mauricio Alexandre Silva
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
PPTX
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
PPTX
Gall bladder, Small intestine and Large intestine.pptx
rekhapositivity
 
PDF
Federal dollars withheld by district, charter, grant recipient
Mebane Rash
 
PPTX
PPT on the Development of Education in the Victorian England
Beena E S
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
How to Configure Storno Accounting in Odoo 18 Accounting
Celine George
 
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
ROLE OF ANTIOXIDANT IN EYE HEALTH MANAGEMENT.pptx
Subham Panja
 
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
Explorando Recursos do Summer '25: Dicas Essenciais - 02
Mauricio Alexandre Silva
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
Gall bladder, Small intestine and Large intestine.pptx
rekhapositivity
 
Federal dollars withheld by district, charter, grant recipient
Mebane Rash
 
PPT on the Development of Education in the Victorian England
Beena E S
 
Ad

J2ee and web services

  • 1. JAVA PLATFORMS •J2SE – Java 2 Standard Edition  Java for the desktop / workstation • •J2ME – Java 2 Micro Edition  Java for the consumer device •J2EE - Java 2 Enterprise Edition  Java for the server
  • 2. J2ee J2se J2me
  • 3. J2EE Supports • Extensible Markup Language • Web Applications • Web Services Support / WSDL Standard Format • UDDI and ebXML Standard Formats • HTTP-SOAP Transport Protocol
  • 4. •J2EE comes with a built in application server •J2EE defines Java API for XML Processing (JAXP) API for processing XML •Uses SAX and DOM standards
  • 5. •J2EE does not specify the nature and structure of the runtime. •J2EE Container – capability of the runtime to manage application components. •J2EE APIs specifies the contract between the applications and the container.
  • 6. Data JDBC RDBMS Client Application Logic JavaMail Web Container Mail Server HTML/ XML RMI Servlets JSPs J2EE RMI/IIOP JavaMail Application JDBC JNDI Server JMS IIOP JTA JAF Applet EJB Container CORBA Session Beans Entity Beans JNDI Client Applica- tion RMI/IIOP Directory Services JavaMail JDBC JNDI JMS JMS JTA JAF
  • 7. •The Component technologies – to hold the business logic. (JSP, Servlets and EJB) •The Service technologies – to provide supported services to application components (JDBC, JTA, JNDI) •The Communication technologies – transparent to appln programmer, provide the mechanism for communication among different parts of the appln. (JMS, JavaMail, RMI-IIOP) •They are re-usable software units containing business logic. • An EJB is just a collection of Java classes and an XML file, bundled into a single unit.
  • 8. • They are re-usable software units containing business logic. • An EJB is just a collection of Java classes and an XML file, bundled into a single unit. • Java classes must follow certain rules and provide certain callback methods.
  • 9. • Session Beans • Entity Beans • Message-driven Beans
  • 10. • Intended for the use of a single client. • Lifespan is limited to that of its client. • When the client leaves the web site or the application is shut down, the session bean disappears.
  • 11. Can keep information on behalf of its client across method calls. For example, Full information of the client is stored in every transactions example , credit card
  • 12. • This bean implements a particular business logic, though its created for a particular client, it doesn’t have to remember anything about the client. • Can be considered as a remote procedure that gets executed on behalf of the client, taking some parameters and returns the result (of calculation in a particular business rule context).
  • 13. •Persistence is its basic property. •It stays around even after the program is terminated until it is deleted. •When the program is restarted, it can gain access to this bean again. •It can be used by any program on the network. •It is executed remotely. •It is identified by a primary key. •Its nothing but the object representation of records in RDBMS tables.
  • 14. Advantages • J2EE provides a complete architecture for developing - Distributed systems including object persistence, session tracking, transaction management, … •Separation of technical and application-specific code - Deployment descriptors - Container Managed Persistence
  • 15. Disadvantages • Very complex technology Even simple examples require many interfaces, bean classes, deployment descriptors. • Many errors occur only at runtime (several steps required until the application is running) - Compilation - Packaging - Deployment - Running the application
  • 16. A Web Application Framework (WAF) is a reusable, skeletal, semi-complete modular platform that can be specialized to produce custom web applications , which commonly serve the web browsers via the Http's protocol. WAF usually implements the Model-View-Controller (MVC) design pattern, typically in the Model 2 architecture to develop request-response web-based applications on the Java EE and .NET models.
  • 18. Request-based Framework : Struts WebWork Beehive , Stripes Component-based Framework Jave Server Faces (JSF) Tapestry Wicket Hybrid – Meta Framework RIFE Spring Framework RIA-based Framework DWR Echo2 JSON-RPC-Java