






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Outline
Reading
Application Server Components
A smart device, with forms, menus, input validation
Performs front-end work, e.g., security, data caching, ….
“Calls” the web page associated with the URL, which in turncalls a workflow controller
Calls Start, Commit, and Abort
App logic that transforms request (automatic loan payment,money transfer) into calls on basic objects (loan, account).Sometimes called
business rules
Business objects (customer, account, loan, teller)
Application Server Functions
glue fills in gaps in system functionality
covers the interface with a seamless veneer
OS functions: threading and inter-process communication,often passed through from the underlying OS.
Dist’d system functions: transactions, security, queuing, nameservice, object pools, load balancing, …
Portal functions: shopping cart, catalog mgmt, personalization ...
Two-Tier vs. Three-Tier
PC runs a 4GL, such as Visual Basic,PowerBuilder, or Delphi
Server system includes transaction serverapplication and DBMS
Two-Tier for the Web
In essence, the web browser is a device
Active Server Page (ASP .NET) orJava Server Page (JSP)
Page (file) extension tells the web serverto run the ASP/JSP interpreter
Script can include DBMS calls andcan run as a transaction
Scalability Problem of Two-Tier
Entails a memory cost and a setup (processing) cost
Standard DB APIs (e.g., ODBC) work this way
Hence, in 2-tier, N clients and M servers
M sessions
E.g. 10
5
presentation servers and 100 servers
7
sessions
Each workflow controller still connects to all txn servers butthere are many fewer workflow controllers than presentationservers