Java for Warp 4.0 | - by Chris Wenham |
Let's start this article assuming that you've already heard about Java and know a little bit about what it is. Because the chances are, if you have the browser and the Internet connection that make reading this article possible then you must have heard about it somewhere. Java is a platform independent programming language that, while originally developed with Interactive TV in mind, has been repositioned as the language that will make the Web interactive instead.
But not just the Web, since it's platform independent it offers the unique ability for software developers to write only one version of their products and know they will reach the widest audience possible. Warp 4.0 is the world's first Java integrated operating system. What this means is that you can run Java programs natively under OS/2 without the need to start a web browser like Netscape first. With more operating systems following suit (the JavaOS in Sun's "Network Computer" being the second, Mac and BeOS following afterwards) and vendors announcing Java support left and right, Warp could find itself with a tidal wave of new and exciting applications to run.
To use a Java applet under OS/2 simply double-click on its icon and it will start just like any other program. What OS/2 is doing is actually reading the URL that points to the Java applet that's stored in that file, then launching the Java applet within a viewer that does all the compiling of the code.
To help improve Java performance, some companies like IBM, Netscape and Microsoft have developed Just-In-Time (JIT) compilers which, as their name implies, compile the Java applet quickly just before it is actually run. But even though IBM has made such a JIT compiler for OS/2 we've been told that it wasn't included with Warp 4, which would account for its lousy performance. Why it wasn't included we don't know, although it seems the likely explanation is that it wasn't ready in time. IBM is committed to improving Warp 4 with add-on kits in the future though, and it is rumoured one of these will be the JIT compiler.
Another performance problem we noted was an annoying flickering in some of the animation samples.
Users of Beta 1a of Netscape Navigator have reported problems with Java enhanced pages; most commonly the browser will crash. Users should note that even though there has only been a "1a" version of Navigator Beta, it seems like IBM and Netscape cleaned up the code a little and quietly replaced it shortly after the release of Warp 4. Maybe it's a fluke, but we found that when we first downloaded and tried Beta 1a over a month ago it would always crash when trying to load a Java applet, but a few weeks later and after downloading the supposed same version, Java worked cleanly. (Note: We are aware of the "leaked" version of Navigator that appeared on some FTP sites before the official rollout.)
There's also the question of stability and maturity. For all of Java's features and benefits the one thing it doesn't have is a time-tested and stable base like Warp has. This would be a concern to a network administrator who has visions of exploding clients in his nightmares. Sun, Netscape and others are rapidly working to find the holes in Java's security and patch it as fast as they can.
Just as with OpenDoc, Warp 4.0's Java integration is a bet on the future. We may actually see a marriage of the two technologies with JavaBeans, a proposed specification that would give Java the object-distribution and compound-document features seen in OpenDoc.
As always, Microsoft has a competing technology; ActiveX. As with OLE, ActiveX is a proprietary, platform dependant technology based on DCOM (Microsoft's answer to IBM's DSOM which is found in the Workplace Shell). ActiveX is also a Visual Basic language, whereas Java was based on the more flexible and popular C++ language.
[Our Sponsor: EmTec Innovative Software - OS/2 ISDN, modem and telnet software.]
Copyright © 1996 - Falcon Networking
This page is maintained by Falcon Networking. We welcome your suggestions.