SlideShare a Scribd company logo
1 of 15
Submitted by,
D.SHANMUGAPRIYA
I-MSC(IT)
NADAR SARASWATHI COLLEGE OF ARTS AND
SCIENCE
CONTENTS OF EJB
 Introduction
 What is the difference between web server &
Application server
 Java enterprise edition on APIs
 Elements of EJB components
 Accessed by the EJB components
 EJB Architecture
INTRODUCTION
 Is the server side component architecture for java
platform , enterprise edition(Java EE)
 EJB technology enables rapid and simplified
development of distributed , transactional , secure &
portable applications based on java technology.
 Presented by sun in the 1999,which EJB application
runs in a J2E server or Application server.
DIFFERENCE BETWEEN WEB
SERVER & APPLICATION SERVER
 A web server contains only a web container but an
application server contains both a web container and a
EJB container.
 A web server does not follows clustering but an
application server follows clustering.
JAVA ENTERPRISE EDITION ON API’s
CLIENT
SERVELT
S/JSP
EJB JDB20 DATA
JTS/JTA JNDR
JAVAMA
IL
RMI-
IICP
JMS
CLIENT
SERVELT
S/JSP
EJB JDB20 DATA
ACCESSED BY THE EJB
COMPONENTS
 EJB components runs inside a server and it can be
accessible by the following types of clients.
 A desktop application can access EJB.
 An applet can access EJB.
 A web client using serve or JSP can access EJB
 One EJB can access another EJB.
 A CORBA client can access EJB.
ELEMENTS OF EJB COMPONENTS
 Home interface
 Remote interface
 Bean class
 1.HOME INTERFACE:-Home interface is a factory
for creating EJB objects.
 The home interface contains life cycle methods like
create() , remove() , find xxx() ,etc.
 Each method in home interface returns the remote
object . Or EJB object.
Cont..
 2.REMOTE INTERFACE:-It contains logic methods
in order to create a remote interface our interface must
be extend EJB object interface.
 Remote interface is given in JAVAX . ejb.*;package.
 3.BEAN CLASS:-The Bean Class contains both life
cycle methods implementation + business logic
methods give in home interface & remote interface
and also it contains container call back methods.
EJB ARCHITECTURE
H
R
client
NAMING SERVICE
HOME
OBJ
EJB
OBJ
BEAN
OBJECT
R CLIENT EJB SERVER
JSP
INTRODUCTION
 Java server pages or as in normally called JSP is a java
based technology that simplifies the developing of
dynamic web sites
 It is a technology developed sun micro system back in
1999.
 JSP pages are HTML pages with embedded code that
allows to access data form java code running on the
server.
 JSP contains an extension on of . JSP
JSPARCHITECTURE
CLIENT
INTER
NET
WEB
SERVE
R
DATA
BASE
Client
request
web server
Html
sent to
client
HTML
JSP EXECUTION PROCEDURE
System JSP
JSP
translator
serve
JSP
translator
buffer
Server
object
JRE
JSP LIFE-CYCLE
Java server page
JSPLNIT () (LOAD
PROCESS)
JSP SERVICES ()
(ACCEPT REQUEST)
JSP DESTROY ()
(UNLOAD
RESOURCES)
REQUEST
RESPONS
E
ADVANTAGE
 Used need not write HTML and java code separately.
 JSP can be used for both front end and for writing
business logic.
 JSP is dynamic compilation which means when a JSP
is modified.
 JSP IS EFFICIENT:-every request for a JSP is
handled by a simple java method.
 JSP IS SCALABLE:-easy integration with other
backend services.
DISADVANTAGE
 As JSP pages are translated to serve and complied.
 It is difficult to trace errors occurred in JSP pages.
 JSP pages require double the disk space to hold the
JSP page.

More Related Content

What's hot (20)

Spring Boot
Spring BootSpring Boot
Spring Boot
 
100 JAVA Programs-1.pdf
100 JAVA Programs-1.pdf100 JAVA Programs-1.pdf
100 JAVA Programs-1.pdf
 
Access modifiers in java
Access modifiers in javaAccess modifiers in java
Access modifiers in java
 
Spring boot
Spring bootSpring boot
Spring boot
 
Spring boot
Spring bootSpring boot
Spring boot
 
Gof design pattern
Gof design patternGof design pattern
Gof design pattern
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to OOP(in java) BY Govind Singh
Introduction to OOP(in java)  BY Govind SinghIntroduction to OOP(in java)  BY Govind Singh
Introduction to OOP(in java) BY Govind Singh
 
Java Collections
Java  Collections Java  Collections
Java Collections
 
Event management system
Event management systemEvent management system
Event management system
 
A Deeper look into Javascript Basics
A Deeper look into Javascript BasicsA Deeper look into Javascript Basics
A Deeper look into Javascript Basics
 
Online shop system use case diagram report
Online shop system use case diagram reportOnline shop system use case diagram report
Online shop system use case diagram report
 
Java Collections | Collections Framework in Java | Java Tutorial For Beginner...
Java Collections | Collections Framework in Java | Java Tutorial For Beginner...Java Collections | Collections Framework in Java | Java Tutorial For Beginner...
Java Collections | Collections Framework in Java | Java Tutorial For Beginner...
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Jpa
JpaJpa
Jpa
 
Learn react-js
Learn react-jsLearn react-js
Learn react-js
 
Introduction to spring boot
Introduction to spring bootIntroduction to spring boot
Introduction to spring boot
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
 

Similar to Ejb and jsp

Ejb course in-mumbai
Ejb course in-mumbaiEjb course in-mumbai
Ejb course in-mumbaivibrantuser
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developementArchana Jha
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overviewsbobde
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to strutsAnup72
 
J2EE and Servlet
J2EE and Servlet J2EE and Servlet
J2EE and Servlet Rishikesh .
 
Aravind vinnakota ejb_architecture
Aravind vinnakota ejb_architectureAravind vinnakota ejb_architecture
Aravind vinnakota ejb_architecturetayab4687
 
Session 1 Tp1
Session 1 Tp1Session 1 Tp1
Session 1 Tp1phanleson
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDESbputhal
 
Introduction to ejb and struts framework
Introduction to ejb and struts frameworkIntroduction to ejb and struts framework
Introduction to ejb and struts frameworks4al_com
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE abile technologies
 
Java web developer tools
Java web developer toolsJava web developer tools
Java web developer toolsJhonthSmith
 

Similar to Ejb and jsp (20)

Ejbandjsp 200119145750
Ejbandjsp 200119145750Ejbandjsp 200119145750
Ejbandjsp 200119145750
 
Ejb course in-mumbai
Ejb course in-mumbaiEjb course in-mumbai
Ejb course in-mumbai
 
Ejb notes
Ejb notesEjb notes
Ejb notes
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
J2EE day 1
J2EE day 1J2EE day 1
J2EE day 1
 
J2EE and Servlet
J2EE and Servlet J2EE and Servlet
J2EE and Servlet
 
Aravind vinnakota ejb_architecture
Aravind vinnakota ejb_architectureAravind vinnakota ejb_architecture
Aravind vinnakota ejb_architecture
 
Session 1 Tp1
Session 1 Tp1Session 1 Tp1
Session 1 Tp1
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
 
Introduction to ejb and struts framework
Introduction to ejb and struts frameworkIntroduction to ejb and struts framework
Introduction to ejb and struts framework
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
 
Summer training java
Summer training javaSummer training java
Summer training java
 
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
 
Java web developer tools
Java web developer toolsJava web developer tools
Java web developer tools
 

More from rajshreemuthiah (20)

oracle
oracleoracle
oracle
 
quality
qualityquality
quality
 
bigdata
bigdatabigdata
bigdata
 
polymorphism
polymorphismpolymorphism
polymorphism
 
solutions and understanding text analytics
solutions and understanding text analyticssolutions and understanding text analytics
solutions and understanding text analytics
 
interface
interfaceinterface
interface
 
Testing &ampdebugging
Testing &ampdebuggingTesting &ampdebugging
Testing &ampdebugging
 
concurrency control
concurrency controlconcurrency control
concurrency control
 
Education
EducationEducation
Education
 
Formal verification
Formal verificationFormal verification
Formal verification
 
Transaction management
Transaction management Transaction management
Transaction management
 
Multi thread
Multi threadMulti thread
Multi thread
 
System testing
System testingSystem testing
System testing
 
software maintenance
software maintenancesoftware maintenance
software maintenance
 
exception handling
exception handlingexception handling
exception handling
 
e governance
e governancee governance
e governance
 
recovery management
recovery managementrecovery management
recovery management
 
Implementing polymorphism
Implementing polymorphismImplementing polymorphism
Implementing polymorphism
 
Buffer managements
Buffer managementsBuffer managements
Buffer managements
 
os linux
os linuxos linux
os linux
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
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
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
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
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
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...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
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...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
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
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Ejb and jsp

  • 2. CONTENTS OF EJB  Introduction  What is the difference between web server & Application server  Java enterprise edition on APIs  Elements of EJB components  Accessed by the EJB components  EJB Architecture
  • 3. INTRODUCTION  Is the server side component architecture for java platform , enterprise edition(Java EE)  EJB technology enables rapid and simplified development of distributed , transactional , secure & portable applications based on java technology.  Presented by sun in the 1999,which EJB application runs in a J2E server or Application server.
  • 4. DIFFERENCE BETWEEN WEB SERVER & APPLICATION SERVER  A web server contains only a web container but an application server contains both a web container and a EJB container.  A web server does not follows clustering but an application server follows clustering.
  • 5. JAVA ENTERPRISE EDITION ON API’s CLIENT SERVELT S/JSP EJB JDB20 DATA JTS/JTA JNDR JAVAMA IL RMI- IICP JMS CLIENT SERVELT S/JSP EJB JDB20 DATA
  • 6. ACCESSED BY THE EJB COMPONENTS  EJB components runs inside a server and it can be accessible by the following types of clients.  A desktop application can access EJB.  An applet can access EJB.  A web client using serve or JSP can access EJB  One EJB can access another EJB.  A CORBA client can access EJB.
  • 7. ELEMENTS OF EJB COMPONENTS  Home interface  Remote interface  Bean class  1.HOME INTERFACE:-Home interface is a factory for creating EJB objects.  The home interface contains life cycle methods like create() , remove() , find xxx() ,etc.  Each method in home interface returns the remote object . Or EJB object.
  • 8. Cont..  2.REMOTE INTERFACE:-It contains logic methods in order to create a remote interface our interface must be extend EJB object interface.  Remote interface is given in JAVAX . ejb.*;package.  3.BEAN CLASS:-The Bean Class contains both life cycle methods implementation + business logic methods give in home interface & remote interface and also it contains container call back methods.
  • 10. JSP INTRODUCTION  Java server pages or as in normally called JSP is a java based technology that simplifies the developing of dynamic web sites  It is a technology developed sun micro system back in 1999.  JSP pages are HTML pages with embedded code that allows to access data form java code running on the server.  JSP contains an extension on of . JSP
  • 12. JSP EXECUTION PROCEDURE System JSP JSP translator serve JSP translator buffer Server object JRE
  • 13. JSP LIFE-CYCLE Java server page JSPLNIT () (LOAD PROCESS) JSP SERVICES () (ACCEPT REQUEST) JSP DESTROY () (UNLOAD RESOURCES) REQUEST RESPONS E
  • 14. ADVANTAGE  Used need not write HTML and java code separately.  JSP can be used for both front end and for writing business logic.  JSP is dynamic compilation which means when a JSP is modified.  JSP IS EFFICIENT:-every request for a JSP is handled by a simple java method.  JSP IS SCALABLE:-easy integration with other backend services.
  • 15. DISADVANTAGE  As JSP pages are translated to serve and complied.  It is difficult to trace errors occurred in JSP pages.  JSP pages require double the disk space to hold the JSP page.