Professional Documents
Culture Documents
Application Development
Lecture#4
Session Outline
Middle tier
Back-end tier
J2EE Platform Overview
Applets
Applets are small applications that are accessed
on an Internet server
Transported over the Internet
Automatically installed, and run as part of a web
document
Limited access to resources on client
Provide GUI, run complex computations and avoid it
from viruses
Applets and Java Beans
Java Beans
A software component that has been designed to
be reusable in a variety of different environments
There is no restriction on the capability of a Bean
It may perform a simple to complex functions
A Bean may be visible to user
GUI button
A Bean may be invisible to user
decode a stream of multimedia information in real time
Multitier Model
J2EE platform provides a multitier distributed
application model
various parts of an application can run on different
devices
J2EE provide 3 tiers
A Client tier- for clients with firewalls
Middle tier (one or more tiers)- provide
Client services in web container using web tier
Business logic through Enterprise Java Beans EJB tier
A back-end tier provide information system using
Enterprise Information System EIS Tier
Container-Based Component
Management
J2EE is component based model that is based on
containers
Containers are standardized runtime environments that
provide specific services to components
Components can expect these services to be available
on any J2EE platform from any vendor
For example J2EE web container responds to clients
requests
Accept requests from the client