1 / 12

Java: An Overview

Java: An Overview. John R Durrett Texas Tech University. Vocabulary of OOP. Class - “Cookie cutter” Object - “Cookie” 3 Pillars of OO Wisdom #1 Encapsulation. # 2 Polymorphism # 3 Inheritance. The History of Java. Oak Green Project small appliance user interface

jperson
Download Presentation

Java: An Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java: An Overview John R Durrett Texas Tech University

  2. Vocabulary of OOP • Class - “Cookie cutter” • Object - “Cookie” • 3 Pillars of OO Wisdom • #1 Encapsulation Object Oriented Programming

  3. # 2 Polymorphism • # 3 Inheritance Object Oriented Programming

  4. The History of Java • Oak • Green Project • small appliance user interface • To Java in early 1995 • Distributed programming • Well accepted by developers • Acceptance by users is unclear Java

  5. Strengths • Architecturally neutral • “comterpreted” • standardized APIs • Multiple execution paths • Managed memory system • Easy • single inheritance • memory management • dynamic linking • no pointers Java

  6. Security • Program (bytecode) verification • No Overflows • Variables by name not memory • Applets • no file i/o • limited network connectivity • no external application calls • signed jar files • Applications Java

  7. Java vs. C++ • No structs or enums • Easy to use exceptions • No functions, all object oriented • No multiple inheritance • No operator overloading • No direct memory pointers • No automatic type conversions • No preprocessor • Dynamic linking Java

  8. Weaknesses • Java is slow • cost of interpreted language • cost of multi-threading • JIT compilers, Java chip • Native compilers • Lack of dynamic mobility • Mobility continuum • Object state • Tcl, Telescript • No uniform comm. model • lack of standardized JVM Java

  9. Tools and APIs • First generation tools • JDK, Symantec Café • Second generation • J++, Visual J++ • Visual Café 2.0 • Visual Age for Java • Third party packages • Third party java beans Java

  10. Is it safe to bet your job on java? • William Blundon • “The Truth about Java,” Internet World, V7N12, Dec 1996 • Director OMG • Good platform for building Client Software • Easy to use and learn • High Quality code Java: Fad or Fundamental?

  11. Promises for the future? • Good for Server Applications • database access (jdbc) • I/O • execution speed • three tier distributed systems • Secure • Write once & port anywhere • Portable object components • Java Beans Java: Fad or Fundamental?

More Related