Distributed processing
If forms are inadequate we could user client side processing
- JavaScript for simple processes (e.g. initial validation of data)
- Applets for sophisticated interfaces (Swing), client side java libraries and client side objects
- clients can be modified independent of the servlets
Three technologies for Applet/Servlet communication
- socket communication
- can set up ‘conversations’
- HTTP protocol
- can talk through fire walls
- Remote Method Invocation (RMI)