令Sn Applet Pr ros Can use full Java apls Custom data streaming, graphic manipulation, threading, and advanced gUls Well-established scheme Cons Code downloading time could be significant Use it if you are creating advanced uls on the client and downloading time is not a major concern
11 Applet • Pros: > Can use full Java APIs > Custom data streaming, graphic manipulation, threading, and advanced GUIs > Well-established scheme • Cons: > Code downloading time could be significant • Use it if you are creating advanced UIs on the client and downloading time is not a major concern
令Sn Macromedia Flash Designed for playing interactive movies Programmed with Action Script Implementation examples Macromedia flex Laszlo suite( open source) Pros Good for displaying vector graphICS Cons Browser needs a Flash plug-in Action Script is proprietary 12
12 Macromedia Flash • Designed for playing interactive movies • Programmed with ActionScript • Implementation examples > Macromedia Flex > Laszlo suite (open source) • Pros: > Good for displaying vector graphics • Cons: > Browser needs a Flash plug-in > ActionScript is proprietary
令Sn Java Web start Desktop application delivered over the net Leverages the strengths of desktop apps and applet ●Pros Desktop experience once loaded Leverages Java technology to its fullest extent Disconnected operation is possible Application can be digitally signed Incremental redeployment Cons Old JRE-based system do not work First-time download time could be still significant 13
13 Java WebStart • Desktop application delivered over the net > Leverages the strengths of desktop apps and applet • Pros > Desktop experience once loaded > Leverages Java technology to its fullest extent > Disconnected operation is possible > Application can be digitally signed > Incremental redeployment • Cons > Old JRE-based system do not work > First-time download time could be still significant
令Sn DHTML Dynamic HTML DHTML Java Script+ DOM+Css Used for creating interactive applications No asynchronous communication, however Full page refresh still required Reason why it has only a limited success 14
14 DHTML (Dynamic HTML) • DHTML = JavaScript + DOM + CSS • Used for creating interactive applications • No asynchronous communication, however > Full page refresh still required > Reason why it has only a limited success
令Sn DHTML with Hidden frame IFrame was introduced as a programmable layout to a web page An iFrame is represented as an element of a dom tree You can move it, resize it, even hide it while the page is visible An invisible IFrame can add asynchronous behavior The visible user experience is uninterrupted-operational context is not lost It is still a hack 15
15 DHTML with Hidden IFrame • IFrame was introduced as a programmable layout to a web page > An IFrame is represented as an element of a DOM tree > You can move it, resize it, even hide it while the page is visible • An invisible IFrame can add asynchronous behavior > The visible user experience is uninterrupted – operational context is not lost • It is still a hack