Java entry points
application
- public static void main(String args[])
- shell fills in args, System provided
applet
- browser provides context (environment)
- init(), start(), stop(), destroy()
servlet
- server provides context (environment)
- init(), service(), destroy()
others:
- JavaOS, database, small devices and appliances, RMI