Please enable JavaScript.
Coggle requires JavaScript to display documents.
Introduction To Java Web Technologies (Understand Java EE Platform (Java…
Introduction To Java Web Technologies
Understand Web Application
Static webpages
HTML is the language that the browser renders to the web pages that make up a web application user interface
Web Application components
Client,Server and Internet
is a set of web pages that are generated in response to user request
Dynamic webpages
A dynamic web page changes based on the parameters that are sent to the web application from another page
Understand Java EE Platform
is the standard in community driven enterprise software
Java EE help to create large scale,multi-tiered,scalable,reliable and secure network applications
Features:Powerful,Security,Reliability,Reduce Complexity
Java SE
provide the core functionality of the java programming language
Java ME
provides an API and a small-footprint virtual machine for running Java programming language application on small devices
Java Enterprise Platform
Presentation logic layer
Functionality which deals with the interface of information
Business logic layer
Functionality which deals with the processor of information,the execution commands and the coordination of application execution
Data Access Logic layer
Functionality that makes it easy to access the data held in a data store such as a database
Various Technologies in Java EE
HTML for Client Side
Servlets/JSP for Server Side
Enterprise Java Beans(EJB)
Java Application
Web Application
Mobile Application
Embedded Systems
Desktop GUI Application
Web Server and Application Server
Enterprise Application
Scientific Application
Java Applet
is a special kind of java program that a browser enabled with java technology can download from the internet and run
An applet is typically embedded inside a web page and runs in the context of a browser
1.3 servlet API
1.3.1 DEFINITION
-PROGRAM THAT RUN ON A WEB/APPLICATION SERVER & ACTS AS A MIDDLE LAYER BETWEEN A REQUEST COMING FROM A WE BROWSER
JAVA TECHNOLOGY TO CREATE DYNAMIC WEB PAGES
-WEB COMPONENT WHICH IS DEPLOYED ON A WEB SERVER TO CREATE DYNAMIC WEB PAGES
1.3.1 CGI TECHNOLOGIES
-WRITTEN IN C++,VISUAL BASIC& PERL
-DIFFICULT TO MAINTAIN,NONMANAGEABLE & NONSCALABLE
PRONE TO SECURITY PROBLEM
-RESOURCE INTENSIVE & INNEFICIENT
-PLATFORM & APPLICATION SPECIFIC
1.3.1 SERVLET TECHNOLOGIES
-WRITTEN IN JAVA
-POWERFUL,RELIABLE & EFFICIENT
-IMPROVES SCALABILITY,RUSABILITY
-BUILT-IN JAVA LANGUAGE
-PALTFORM INDEPENDENT & PORTABLE
1.3.2 SERVLET ARCHITECTURE
DEFINITION
-HTTP IS REQUEST/RESPONSE PROTOCOL WHICH IS BASED ON CLIENT/SERVER BASED ARCGHITECTURE
1.3.3 SERVLET LIFE CYCLE
DEFINATION
-SERVLET IS A INTERFACE
-PROVIDE INIT(),SERVICE() & DESTROY() METHOD TO IMPLEMENT
-GENERIC SERBLET() IMPLEMENT SERVLET INTERFACE
-HTTPSERVLET EXTENDS GENERICSERVLET & PROVIDE HTTP METHOD LIKE GET,POST
1.3.4 SERVLET HIERARCHY