Professional Documents
Culture Documents
Designed By:
Recap-evolution
Contents
Questions
Applying 3 tier architecture on web
Applying n tier architecture on web
Challenges of n tier architecture
Implementing the middle tier
transaction processing (TP) monitors,
message servers,
object request brokers (ORBs)
or application servers.
Web Servers vs. App Servers: Choosing Between the Two
Primary functions of a web server and application server
Introduction to components and framework
The evolution of
application architectures
Performance
Reliability
Usability
Security
Availability
Scalability
Maintainability
Effects of N-Tier architectures
Challenges of N-Tier
Architectures
•Communication and distribution is usually handled by
bought middleware (CORBA, EJB, DCOM, etc)
• Software becomes heterogeneous and parallel
• A lot to learn about the new technologies
• Distributed object application servers are
BASE24/XPNET
CGI
Web
Server
HTTP
HTTPover
over
TCP/IP
TCP/IP----
Application The
The’Net
’Net
Server
Client browser:
HTML HTML forms,
CGI documents JavaScript,
VBScript, ASP,JSP VBScript, Java
Perl, PHP, Tcl
Some application tier
technologies
• CGI scripts
- one of the earliest server-side options (supported by most web
servers)
- resource intensive: a process created for every request (heavy-
weight processes)
• ASP (HTML embedding VBScript or JavaScript)
- currently available only on Windows only via IIS (Microsoft)
• Proprietary API’s from Netscape (NSAPI), Microsoft Internet
Server API
- normally written in C/C++; vendor specific, fast
• Java Servlets, Java Server pages (JSP) (Referred to as J2EE)
- Wide support from Netscape, Sun, Apache, Oracle, IBM runs on more
than just Windows
- third party support (JRun)
Delegation model of web server
Web server's delegation model is fairly simple.
When a request comes into the Web server, the Web server
simply passes the request to the program best able to handle it.
The Web server doesn't provide any functionality beyond simply
providing an environment in which the server-side program can
execute and pass back the generated responses.
The server-side program usually provides for itself such functions
as transaction processing, database connectivity, and messaging.
App servers
While a Web server may not itself support
transactions or database connection pooling, it
may employ various strategies for
fault tolerance and scalability such as load
balancing, caching, and clustering—features
often times erroneously assigned as features
reserved only for application servers.(see later)
Web application server - facilities
A web application server will typically provide facilities
for
authentication ("Who are you?")
authorization ("Are you supposed to be here?")
session management ("Have you been here before?")
database abstraction ("Which of these products are you
interested in?")
presentation ("How do you want to view this?") and so on.
Application Server: Key Services
JBoss- Application Server
• Examples:
– Microsoft COM+
– OMG’s CORBA
– Sun Microsystem’s Enterprise Java Beans (EJB)
– Database Middleware Standards (ODBC, ADO,
JDBC)
– XML/SOAP
What Is a Framework?
A collection of components, consisting of code and interfaces
written in a specific language, that solves or helps build
applications.