How does the architecture of a Web-IS look like?
Web scenario introduces separation of presentation layer
Give an overview of Java Applets as a client-side approach presentation technology
Specific and dynamic clients integrated in the browser: loaded at runtime, communicate with app. server or DB, management of state
Java applets: stored in server, downloaded on client and executed in clients JVM (browser plugin)
What are the advantages and disadvantages of Applets?
Advantages
Disadvantages
Give an overview of server-side approaches?
Web server executes processing, communicating with DB or app. server
- Required resource (response) generated dynamically
Approaches
- CGI: separate process to process requests (not scalable)
Server API: improves CGI (no process) by providing server app. functions (SAF) on web server
Java Servlets: java version of servlet API (adr: portable, dynamic class load -> binding)
SSI: directives inside HTML, dynamically evaluated by web server
JSP: Java’s SSI: scripting elements (Java code), directives, actions (more powerful than SSL)
What are the different alternatives for managing session state?
Problem: HTTP stateless, context of client must be manged across interactions (session_ID + user_ID)
Approaches
- Form variables: (universal browser support, but force (also not persistent) dynamic HTML for inserting values)
Give an overview of REST
REpresentation State Transfer (architectural style for building large-scale IS)
Basis for scalability on web: caching, clustering, load balancing
RESTful Web Services: based on REST APIs, no SOAP/WSDL
Drawnbacks: to simple (only RPC-style with HTTP, no reliability, transactions)