ThePlace

Home ] Search ] Resources ] Site Map ] Contact Me ]
Dave's Information Technology Resource

Up ] Java Examples ]

DHTML ] CSS ] JavaScript ] ActiveX and Plug-ins ] VBScript ] Web Applications ] ASP ] Web Databases ] ASP Applications ] Perl ] [ Java ]

--- Java ---

Java

General Comments:

bulletDe facto standard for web programming -- depending on who you are talking to - many companies have had mixed successes.
bulletCreated by Sun Microsystems
bulletOriginal purpose: created a universal cross-platform language (write once, "compile"-once, run on any architecture, e.g., Unix, Windows, Mac)
bullet"Killer App" has yet to be delivered, that is, major general desktop and server applications are still written in C/C++, Visual Basic, PowerBuilder.
bulletKey use seems to be for server-based applications with an eye towards multiple platform (Apache, IIS, Netscape on Unix/Linux, Windows/NT operating systems) delivery.

How Does Java Differ

bulletComputer applications are either compiled or interpreted: 
bulletInterpreted: source code is executed at run-time via an interpreter; advantages: easy to modify, can be adaptable (LISP, Prolog, JavaScript, VBScript); disadvantages: slow, lack of security, dependence on interpreter.
bulletCompiled: source code is compiled and linked into machine language; advantages: fast, efficient, secure, potentially little/no dependence on supporting software; disadvantage: strong platform (processor and operating system) dependence, difficult to port to other platforms.
bulletJava does it differently! Source code is compiled into "bytecode" which can be run on any platform machine with a Java Virtual Machine (JVM) 
bulletJava is kind of a quasi interpreted compiled language.
bulletBytecode is "cross-platform"!
bulletAdvantages: cross-platform - write once, run many
bulletDisadvantages: true cross platform Java applications often cannot take advantage of platform specific capabilities. 
bullet"Flavors" of Java are being developed that optimize to one platform or another, sometimes making specific implementations incompatible with other platforms.
bulletJVM's are starting to be different across platforms leading to delivery and even legal issues.
bulletJava can run three ways:
  1. Standalone
  2. Client applets in web browsers.
  3. Server applets

Java Notes

bulletJava is very C++ like--an object oriented language.  Does not have the memory management issues of C.  Syntax is C like--quick learning curve for many programmers.
bulletJava is multi-threaded.  Multiple processes can be instantiated to create efficient programs.

 

 

Home ] Up ] Computer Architecture ] Programming Bootcamp ] Database Bootcamp ] Visual BasicS ] Web Basics ] Web Multimedia ] Advanced Web Topics ] Developing Web Sites ] XML Technology ] Web Glossary ]

Copyright © 1999 - 2005 
ThePlace - Written and Sponsored by Dave Hillman