Java Applets Java History (Cont'd)

Java Applets Java History (Cont'd)

Java History • Created by James Gosling et al. at Sun Java Applets Microsystems in 1991 "The Green Team" Nan Niu ([email protected]) • Gosling created a processor-independent CSC309 -- Fall 2008 language for “StarSeven”, a 2-way wireless remote-control device – Called the language 'Oak' 2 Java History (cont'd) Applet Execution • Could not find a market for the technology. • During a Sun offsite with Bill Joy in 1994: • A JVM (Java Virtual Machine) running – "why not use it on the Internet?" within the context of the client – Started development of "WebRunner", later to be renamed "HotJava" browser browser loads and runs the applet • a browser capable of downloading and running Java bytecode. classes. • Folks were impressed with interactive Web pages – e.g., spinning molecules, sorting demos • Applet is not trusted – many downloads of HotJava • a big success – Limited access to system resources (file • Marc Andersen of Netscape agrees to support Java system, network) in Netscape browsers in 1995 3 4 Java/JavaScript How Java Applets Work Communications • <embed>, <applet>, or <object> • JavaScript can call methods defined • Java "jar" files downloaded to client in Java Applets machine – contains • JavaScript vs. Applets • class files • other resources (images, sounds, property files, …) • Class indicated in the tag (must derive from java.applet.Applet) is invoked 5 6 1 10 Reasons for Applet’s Downfall 10 Reasons (cont’d) 1. Permission pop-up 4. Trust issues 2. Coarse-grain whole-sale permission levels - Privacy conscious? – Network ,file systems - Bug free? 3. All applets need to be analyzed for 5. Certificate signing potential security threat - Authority chain: is the certificate trust- – If network or file system permission is to be worthy? granted - Complexity for both developer and end user – Third-party security analysis 6. User cannot easily inspect code • 3 browsers vs. 1000s applets? 7. Required to install JVM on client • Buffer overflow, unauthorized access, general exploits 7 8 10 Reasons (cont’d) 8. Critical business logic should run on server - To ensure users do not interfere with business assumptions by hacking the applet - Servlet is a better choice 9. Graphic capabilities can be supplied via new content types and browser plug-ins - Flash 10. Ajax provides more superb interaction between client and server 9 2.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us