89-210 adv programming · 89-211 adv programming l4 dudi landau, cto clearforest . agenda ......
Post on 07-Feb-2021
9 Views
Preview:
TRANSCRIPT
-
89-211 ADV PROGRAMMING
L4
Dudi Landau, CTO CLearForest
-
Agenda
Application Servers
More than basics
Alternatives
AJAX
-
ASP.NET, IIS Arch /1
-
ASP.NET, IIS Arch /2
1. When a client browser initiates an HTTP
request for a resource on the Web
server, HTTP.sys intercepts the request.
2. HTTP.sys contacts WAS to obtain
information from the configuration store.
3. WAS requests configuration information
from the configuration store,
applicationHost.config.
4. WWW Service receives configuration
information, such as application pool
and site configuration.
5. WWW Service uses the configuration
information to configure HTTP.sys.
6. WAS starts a worker process for the
application pool to which the request
was made.
7. The worker process processes the
request and returns a response to
HTTP.sys.
8. The client receives a response.
-
ASP.NET, IIS Arch /3
http://learn.iis.net/file.axd?i=16
-
ASP.NET, IIS Arch /4 (classic/old model)
-
ASP.NET, IIS Arch /5 (new model)
http://learn.iis.net/file.axd?i=152
-
IIS7 configurable stack
IIS7 and Apache
similar configurable stack
Each “site” as a directory
tree with its configuration
XML
-
IIS7 configuration view
-
J EE App Server
any
http
server
Browser
Containers
EJB Server
Data
JDBC
App Server
Entity
Bean
HOME
REMOTE
Device
HTTP
JVM
HTML, XML
any OS
Servlet
or
JSP
Session
Bean
Context
Security
Transactions
Concurrency
-
JSP/ Servlet flow
-
JSP Model -1
-
JSP Model 2 (MVC)
-
J EE Server - vocabulary
Servlet
JSP
WAR
EJB,EAR
Frameworks JFC, Spring Webflow, (and also
Tapestry, Apache Struts)
-
Demos
-
Alternatives
From scratch using PHP (and others)
CMS publishing (Wordpress,Drupal, Joomla!, Daisy,
Alfresco, Plone)
RoR (Ruby on Rails)
Grails (RoR like done with Groovy based on Java stack)
Django (Python based)
The good/bad & performance
-
AJAX & Client side control
How is Client Side Control different
GWT (Google Web Toolkit)
AJAX (Asynchronous Javascript and XML)
-
AJAX confusion
(True) Client Side Control AJAX
vs
Server Side Control using AJAX
The major question is who runs the show.
-
Follow-ups
HTML, HTTP & Web Servers
IIS, Apache
J EE
ASP.NET
top related