|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
From the Blogosphere Business Use Cases For Java
Business Use Cases For Java
By: Claudia Piemont
Jan. 1, 1997 12:00 AM
When it comes to Java, the world is basically divided into two major groups: the Java technologists and enthusiasts, and the rest of the IT community. The enthusiasts are thrilled by Java. They just explore the capabilities of this new technology. Nobody has to convince them about how useful Java really is. On the other hand, there is the rest of the world. Judged by numbers, this is the much larger group. Many IT people only hear the buzz on Java, the Internet and Intranet. Perhaps this is a little exaggerated, but many people believe that Java means only ticker tapes, flashing images and Tic Tac Toe. Yes, all those Java applets demonstrate an important feature of Java: Java brings dynamic behavior to the Web. Java animates a structure of linked documents that has been static ever since. For a short while there were some other non-Java methods around for doing this, like animated image collections for example, but they are limited in their capabilities. The same applies to vendor specific techniques for improving user interaction processing on the Internet. In this category fall techniques like client-side image maps, client pull, server pull, helper applications and browser plug-ins. All those things were initially brought to market by Netscape. Compared to Java these techniques have the major disadvantage of being platform dependent (or vendor-dependent). Java works on every Java-enabled browser, and there are a lot of them. Even MS Windows 3.1 now has a Java virtual machine, although it is still an alpha-release only. Java is a fully featured, object-oriented, programming language. Applets execute on client machines and have a lot more possibilities than static WWW plus additional vendor software. Java applets do not construct the heavy net traffic that other methods do. Think of how you could efficiently use a distributed software system running on a net of globally interconnected computers. On Intranets, Java provides the ability to build fully platform-independent software systems. Java has a lot more value to you than flashing images alone. Sun had several specific ideas in mind when designing Java. Its characteristics establish the foundation for Java's usefulness in business tasks. In the next section, I will present these features briefly and explain their impact on using Java. A large portion of my article is dedicated to possible business use cases for Java. I describe several interesting Java applets and stand-alone Java applications I found during my studies on the Internet. A catalog of Java applets and applications can be found in the Gamelan directory: http://www.gamelan.com. A recommendable place to go for Java exploration is JARS, a Java rating service with a monthly selection of best applets (http://www.jars.com).
Special Characteristics of Java Revisited
Java is Object-Oriented
Java is Simple
Java is Distributed
Java is Platform Independent
Java is Robust
Java is Secure The Java security FAQ gives more background information on this subject. It can be found on JavaSoft's Web server: http://www.javasoft.com. Finally, a short remark about JavaScript. JavaScript is a browser scripting language offered by Netscape. MS Internet Explorer contains another proprietary scripting language, Visual Basic Script, in addition to something called Jscript. Experts still discuss whether or not this is the same language as JavaScript. Let's assume that JavaScript is another vendor specific technology. Java, on the other hand, is platform- independent. You may solve some easy task equally well with JavaScript as with Java. However, JavaScript is completely interpreted in contrast to Java, which is compiled to an efficient byte-code or even translated into machine code with a just-in-time compiler. Moreover, JavaScript does not fully implement the object-oriented model. It is only object-based. JavaScript is possibly suited for checking user entry forms for valid data input streams. For larger, more complex tasks, Java is the better choice. In addition, Java applets are platform-independent and run virtually everywhere.
Java Applets in Business Applets are embedded in Web pages (mainly HTML documents) and are loaded on demand. There is no installation process, changes are made by the developer and set into effect the next time the applet is executed by the user. This simplifies software distribution and maintenance.
Characteristic business use cases for Java applets are: William Giel developed the two Java applets FOSSILA and Guestbook III that are now brought to market by WebWare (http://www.webwareonline.com). FOSSILA represents a sales information system (Figure 1). The applet has been designed to provide convenient access to product information and sales data via WWW. Instant support and feedback features are also included. When started, the applet opens a standalone FOSSILA window. FOSSILA interacts with the server through CGI scripts. It contains a secure transaction capability to post credit card data using encryption techniques. The layout and the content in the FOSSILA window are largely customizable through several provided parameters. Guestbook III provides and maintains a browsable log of guestbook entries. It is updated immediately after a guest comment has been posted. The guestbook page is a HTML-document and resides on the WWW: This product requires a client/server design. The client is a Java applet, the server a standalone Java application. For installing the original version direct access to a Web server is needed. Now in cooperation with WebWare, William Giel offers personal Guestbook III free of charge. The personal version gives every user a space on WebWare's server where the guestbook pages are maintained. Moreover, Personal Guestbook III is configurable by the user through published applet parameters. The next two examples show the use of Java for creating dynamic two-dimensional graphical applications. As a demonstration for the possible use of Java, Greg Brail wrote an applet presenting an interactive subway map. The applet alternatively displays the subway map of New York City or Manhattan only (Figure 2). The maps were supplied by Michael Adler. The applet allows the user to find the shortest route from one subway station to another by clicking the subway stations in the map. The result of the calculation is shown in a separate window and the found path is depicted with red dots inside the map. The Java source code can be configured to navigate other subway and subway-like systems. This interactive subway applet has won an award from both Gamelan and the JARS (http://www.jars.com) applet rating service. This is only a demo version. The applet is not used by New York transportation. However, the next applet is a real world application showing the graphical and dynamic capabilities of Java in business. The German city of Cologne now features an interactive tourist map of the inner city area (Figure 3). The URL for this place is: http://www.koeln.org/mapview. BkmMapViewer has been developed by BKM Online Medien GmbH in Sankt Augustin, Germany. The applet consists of 13 Java modules with approximately 3500 lines of Java source code. It is designed as a configurable map viewer. The map and all other data may be exchanged and configured for different tasks. BkmMapViewer won the award "Applet of the week" in July '96 from the Java User Group Germany. Java is also a very useful language for displaying virtual reality models (VRML). This feature is widely used in chemical and physical research done in educational institutions. One notable example is the molecular dynamics simulation created by Horst Vollhardt at TH Darmstadt in Germany. The applet is able to read different molecules (Figure 4). You can view this simulation on the Web at http://www.pc.chemie.thdarmstadt.de/java.
The software company Dimension X has created a VRML toolkit entirely implemented in Java. It is called Liquid Reality. Liquid Reality consists of a set of Java classes. With the toolkit you can create viewers, tools and solutions that are VRML 2.0 compliant (Figure 5). Viewers and applications may work inside Netscape Navigator and Java applets. Recently, Microsoft licensed Virtual Reality for use in MS Internet Explorer and in future versions of Windows. Liquid Reality is still in beta. You may download a free version from the Dimension X Web site (http://www.dimensionx.
Standalone Java Applications
Typical use cases for standalone Java systems are: Many other software environments are suitable for constructing software applications (however platform-dependent these environments are). So naturally there is strong competition. Today standalone systems implemented in Java are few. Real world standalone Java applications are harder to find than applets used in business. Right now, Java is used widely in creating Web servers of more modern design. One example is Jigsaw, the new Web server of the W3C consortium in Boston. It is written entirely in Java. Jigsaw is a full HTTP server. It is extendable by writing new resource objects. This is a more efficient replacement for CGI processes, but old CGI scripts can be handled, too. The integrated caching management reduces file system access to a minimum. Jigsaw is still under development but is available to the public as an alpha release and may be downloaded from the Internet. The server will run on any platform supporting Java, of course. There are also some additional white papers on Jigsaw. A mailing list is installed. A competitor for Jigsaw is Jeeves by JavaSoft. Jeeves is also an Internet server and a framework for an extensive family of Java-based network services. Jeeves defines the new Java Servlet API for easy creation and management of Java-based network servers. It is still in alpha state too. The available version is named a technology release. It may be downloaded from JavaSoft's Internet server (http://www.javasoft.com/products/jeeves) for evaluation use.
Summary Reader Feedback: Page 1 of 1
Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week
Breaking Cloud Computing News
|
|||||||||||||||||||||||||||||||||||||||||||||||||