Presentation Transcript
Slide 1:CHAPTER-I
J2EE
SERVLETS
CHAPTER-I :CHAPTER-I
J2EE SERVLETS :J2EE SERVLETS
Slide 4:OUTLINE
Introduction to J2EE
What are Servlets?
Comparison of CGI, Server Extension APIs, and Servlets
Servlet Basics
Slide 5:JAVA PLATFORM ENTERPRISE
EDITION (J2EE)
Di Platform for server programming in Java language.
Differs from the Standard Edition (SE) of Java it adds
additional libraries to deploy fault-tolerant, distributed,
multi-tier Java software.
Based on modular components running on an
application server.
Slide 6:J2EE HISTORY
The J2EE 1.2 SDK was released in December 1999.
The J2EE 1.3 SDK was first released by Sun as a beta
in April 2001.
The J2EE 1.4 SDK beta was released by Sun in
December 2002.
The Java EE 5 specification was developed under JSR
244 and the final release was made on May 11,
2006.
The Java EE 6 specification is being developed under
JSR 316 and is scheduled for release in 2008.
Slide 7:THE J2EE TIERS
Slide 8:ORGANIZATION OF THE PLATFORM
Slide 9:SERVLETS OVERVIEW
A servlet is a generic server extension
a Java class that can be loaded dynamically to expand the
functionality of a server.
Commonly used with web servers,
Taking the place of CGI scripts
Similar to a proprietary server extension, except:
it runs inside a Java Virtual Machine (JVM) on the server
so it is safe and portable.
handled by separate threads within the web server process
efficient and scalable
Operate solely within the domain of the server
unlike applets, they do not require support for Java in the web
browser
Slide 10:SERVLET LIFE CYCLE