jugs servlet architecturesiib file12/07/98 jugs servlet architectures.ppt 5 3urmhfwv $/) a inter-...

22
-8*6-DYD6HPLQDU 6HUYOHW$UFKLWHFWXUHV 5DLQHU+LVV$QGUHDV.DSS 6<6725$*

Upload: vuongdung

Post on 20-Oct-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

-8*6�-DYD�6HPLQDU�6HUYOHW�$UFKLWHFWXUHV

5DLQHU�+LVV��$QGUHDV�.DSS6<6725�$*

Page 2: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 2Jugs Servlet Architectures.ppt

$JHQGD

a Motivationa Projects

a ALFa Desk Profilea Travel Administrator

a Java Web Application Architecturea Technologya Experiencesa Resourcesa Discussion

Page 3: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 3Jugs Servlet Architectures.ppt

0RWLYDWLRQ

a Servlets? Server-side Java!a Web Applications

a Document-centrica Data-centric

a Extend your web server

Page 4: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 4Jugs Servlet Architectures.ppt

3URMHFWV$/)a Customer: UBS Private Banking

a 50’000 potential Intranetusers??’??? Internet Users

a Business Usea Fund Information Systema PR for Investment Funds

in the Interneta Support for the Customer

Advisorsa Status: before shippinga Development costs: 15 Months

(3P x 5)

Page 5: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 5Jugs Servlet Architectures.ppt

3URMHFWV$/)

a Inter- and Intranet applicationa Pure HTML, no Frames, no Java Script, no Applets

a High performancea User customizable view on individual portfolios

a Proprietary user authentication and authorizationa Easy customizable application, admin-tool (fat client using RMI)a Multilinguala Scalable

%DVLF�5HTXLUHPHQWV�

'HWDLOHG�5HTXLUHPHQWV�a RAW (2 days)a GUI-Prototype (HTML-files)

Page 6: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 6Jugs Servlet Architectures.ppt

3URMHFWV$/)a 50 Classes

15 Servletsa Architecture: 3-tiera Development on NT,

production and testingon Unix (Sun Solaris)

a JDBC with native SybaseDrivers (JCONNECT: pureJava)

a Reuse of code andknow-how from Desk Profile

Page 7: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 11Jugs Servlet Architectures.ppt

3URMHFWV$/)

a Demonstration

Page 8: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 7Jugs Servlet Architectures.ppt

3URMHFWV'HVN�3URILOH

a Technologyexploration project

a First server-sideJava project inSYSTOR

a HTML prototypinga 64 Classes

14 Servletsa Architecture 3-tiera Platforma Development costs:

28 months (4x7)

Page 9: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 8Jugs Servlet Architectures.ppt

3URMHFWV'HVN�3URILOH

a Customer UBS Private Bankinga 500 users

230’000 customersa Business use

a Reportinga Tracking customer informationa PB performance monitoring

a Status: maintenancea Know how and code reuse in ALF

Page 10: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 9Jugs Servlet Architectures.ppt

3URMHFWV7UDYHO�$GPLQLVWUDWRU

a Client UBS PrivateBanking

a 500 usersa Business use

a Travel calendara Travel approval

workflowa Monitoring travel

costsa Reference project: Desk

Profile

Page 11: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 10Jugs Servlet Architectures.ppt

3URMHFWV7UDYHO�$GPLQLVWUDWRU

a GUI: Prototyping approacha Status: before shippinga 90 classes

32 Servletsa Architecture: 3-tiera Platforma Development costs: 16

months (4x4)a Heavy reuse of know-how

and Java code

Page 12: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 12Jugs Servlet Architectures.ppt

7HFKQRORJ\-DYD

a Servlets: Java Standard Extension APIa Java on Server-side is

a Robusta Scalablea Opena Fasta Portablea Well integrateda Extensible & flexible

Page 13: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 13Jugs Servlet Architectures.ppt

7HFKQRORJ\6\VWHP�$UFKLWHFWXUH

a Web browser as client with HTML and JavaScripta Java application server with dynamic and static contenta Database server and enterprise services

Intermediate Tier

Java Application Server

Web Server

Desktop Tier

Web Browser

Enterprise Tier

DatabaseServer

Batch Processing

Data Server

FTP

TP

Security

Mail

CORBA

Services

Page 14: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 14Jugs Servlet Architectures.ppt

7HFKQRORJ\6HUYOHW�$UFKLWHFWXUH

6HUYOHW�$3,���5XQWLPH&25%$

7&3,3

1HWVFDSH�:$,&25%$

1HWVFDSH�(QWHUSULVH�6HUYHU

$SSOLFDWLRQ

'DWD�$FFHVV

6HUYOHWV

1HWVFDSH�16$3,

$SDFKH

6XQ-DYD�:HE�6HUYHU

$SDFKH�-6HUY�3URWRFRO

Page 15: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 15Jugs Servlet Architectures.ppt

7HFKQRORJ\$SSOLFDWLRQ�6HUYHU�$UFKLWHFWXUH

Intermediate Tier

Java Application Server

Web Server

Http

SSL

JDBC

Sockets

MQS

LDAP

Ser

vlet

AP

I

Ser

vlet

Eng

ine

Configuration

HTMLPresentation

FormController

Database Access

Domain Business Objects

Page 16: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 16Jugs Servlet Architectures.ppt

7HFKQRORJ\6HUYOHW�7\SHV�DQG�,VVXHV

a Simple Servlet

a Servlet chain

a Server-side Include Servlets (SSI)

a Java Server Pages (JSP)

a Single-threaded / multi-threaded

a Stateless http / session handling

Page 17: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 17Jugs Servlet Architectures.ppt

7HFKQRORJ\6HUYOHW�*UDQXODULW\

Use Case Servlet

View /Controller

ServletWeb Page

Servlet

Page 18: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 18Jugs Servlet Architectures.ppt

([SHULHQFH3HUIRUPDQFH

&*,�&���YHUVXV�-DYD�6HUYOHWV

1

10

100

1000

10000

100000

1 5 25 125

6LPXOWDQHRXV�5HTXHVWV

$YHUDJH�5HVSR

QVHWLP

H���P

V

C++

Java Servlet

Page 19: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 19Jugs Servlet Architectures.ppt

([SHULHQFH

a Problemsa Good knowledge of HTML, JavaScript, Java, SQLa Configurationa Debugging

a Risksa Simple Servlet is not a simple solutiona Bad software designa JSP: embedded Java code is difficult to support and maintaina GUI and printing requirementsa Requires broad technological background

Page 20: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 20Jugs Servlet Architectures.ppt

([SHULHQFH

a Benefitsa Fast & lightweighta Reusable componentsa Stablea Opena Portablea Easy maintainable

Page 21: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

12/07/98 21Jugs Servlet Architectures.ppt

5HVRXUFHV

a Booksa Jason Hunter: Java Servlet Programming ISBN 1-56592-391-Xa Karl Moss: Java Servlets ISBN: 0079137792

a Linksa http://java.sun.com/products/servlet/a http://www.servletcentral.com/a http://www.javaworld.com/common/jw-ti-ssj.html

Page 22: Jugs Servlet ArchitecturesIIb file12/07/98 Jugs Servlet Architectures.ppt 5 3URMHFWV $/) a Inter- and Intranet application a Pure HTML, no Frames, no Java Script, no Applets a High

4��$

UDLQHU�KLVV#V\VWRU�FRPDQGUHDV�NDSS#V\VWRU�FRP

6<6725�$*