Applets
- (Usually) small programs that execute inside of
browser.
- Does much, much more than JavaScript
- Harness full power of Java: objects etc.
- "Java that runs with security restrictions"
- Were first examples of client-side computing
- Support for browser-enabled Java provided by plug-in
(in some cases)
Servlets
- Server-side Java
- Motivation is Java, Java everywhere.
- Need only one type of programmer for client, server and
application.
- Avoids spawning process with CGI (mod_perl avoids this
though)
- Can use coherent sophisticated security model provided
by J2EE
No comments:
Post a Comment