Apple announces Java 2 plans at MacWorld
Tutorial Details:
Apple announces Java 2 plans at MacWorld
Apple announces Java 2 plans at MacWorld
By: By Daniel H. Steinberg
Long silent about future directions, members of Apple's Java team outlined
n January 7, JavaWorld hosted its third State of Java on the Mac session at the MacWorld Expo. During the session, Apple stunned the audience by announcing that Java 2 will ship with Mac OS X.
The lively session also featured software demonstrations from AgentSheets, Metrowerks, Zero G Software, and Apple's QuickTime for Java group. Audience questions wrapped up this productive look at Apple's Java strategy.
The Demos
During the session, AgentSheets, Metrowerks, and Zero G Software all demonstrated their Java products for the Mac.
AgentSheets
AgentSheets President and CEO Alexander Repenning described AgentSheets as a "next-generation spreadsheet in which you place ... agents in a cell-organized structure." Apple, long interested in the AgentSheets research, has become a sponsor and supporter. Indeed, Apple has used some of the ideas in programming projects for children.
Repenning said that the recent work on AgentSheets has created a "souped-up version that allows you to have high-end simulations that can on the one hand be built by kids and at the same time by NASA scientists." Microgravity researchers at the University of Colorado used AgentSheets to model and refine an E. coli life-sciences experiment that later flew on the same October 1998 space shuttle mission that carried John Glenn.
Repenning used a mudslide avalanche simulation to demonstrate how easy it was to vary parameters and change rules. Once the rules were set, he used the Ristretto tool to convert the simulation to a Java applet. The simulation's performance under Java was very good; in fact, the execution was so fast that you could actually see the shockwaves moving through the mudslide.
On the down side, Repenning pointed out that Java applets typically run faster on Windows machines. He also mentioned that while the complete AgentSheets programming environment is available in Windows, "Apple isn't quite ready with some crucial pieces, such as Java 2." Repenning repeated his commitment to the Macintosh platform and hoped out loud that platform differences in Java functionality wouldn't force him to move over to Windows.
Metrowerk's CodeWarrior
Metrowerks Software Engineer Greg Bolsinga showed CodeWarrior for Mac OS, Professional Edition 5.3, which recently went up on the Web (see the Resources section below for more information).
During his presentation, Bolsinga repeatedly referred to the upcoming version of CodeWarrior that he is working on but wasn't allowed to show. He noted that the next version's layout managers will be greatly improved, and that other upgrades were in the works as well.
Bolsinga said that the Metrowerks Java Compiler, written in Macintosh native code, performs very quickly. He further explained that the Metrowerks debugger is controversial because "we used to make our own virtual machine (VM) and we made up our own way of debugging Java which is completely nonstandard but is very fast. Now our default install is the standard way of debugging, and it's not very fast."
Bolsinga explained that by "the standard way of debugging," he meant Sun's Java debugging APIs. By using Sun's debugging APIs, CodeWarrior can debug many JVMs from different vendors. It also enables remote debugging, because it is based on TCP/IP. He said that Metrowerks and Apple anticipate that this method of debugging will be faster in Mac OS X, since there's no cooperative multitasking involved there to slow it down. Bolsinga demonstrated the construction of a simple Java application using CodeWarrior's wizards and visual tools. He explained that CodeWarrior's "RAD tools use JavaBeans, so you can have beans from third parties." He then included an IBM digital clock bean in his demo. Using the CodeWarrior Object Inspector, a user can see and edit the properties the JavaBean exposes. Developers who've worked on other platforms have seen tools such as these for Java 1.1 and later, but they are fairly new for Mac OS users.
Zero G Software's InstallAnywhere
As Zero G's CEO Eric Shapiro explained, "When you finish writing your Java application, and you're ready to deploy it and want to ship it out to your users, regardless of what platform they're on, you can use InstallAnywhere to build a single universal installer for your application." (To download the free version of Zero G's InstallAnywhere, see Resources .)
Shapiro showed how easy it is to use InstallAnywhere to generate a Web installer for a developer's application. InstallAnywhere addresses problem areas for developers, according to Shapiro. For example, there's a time during the creation of the installer when the developer is prompted to specify the main class and class path. Shapiro explained that Zero G's research found that "most end users and some developers enter the main class wrong, so we've added a button that automatically finds all the main classes and entry points to your application without your having to do anything." InstallAnywhere will also set class paths for you, he said. Shapiro added that developers can specify the installer's target platforms and whether or not to include a VM. Shapiro then talked about Apple's soon-to-be-released MRJ (Mac OS Runtime for Java) AppBuilder, which is included in MRJ 2.2. He announced that "Zero G is merging the [MRJ AppBuilder] product with [Zero G's] existing LaunchAnywhere to build one unified way of launching applications across platforms."
Apple's Java strategy
Steve Naroff, Apple's senior director of Java technologies and core tools, reminded the session audience that Apple's Java team had announced two years earlier that it would pursue Apple-specific technologies. Naroff explained, "Even though we think Java is an interesting platform, we also think that it is a very interesting language." He pointed out that Apple had Java-enabled technologies such as QuickTime, AppleScript, and Cocoa on Mac OS X. Apple, therefore, has enabled the large population of Java programmers to take advantage of some native Apple services, according to Naroff. In related news, Apple's iCEO, Steve Jobs, had announced at the MacWorld Expo keynote address that Apple would not be pursuing a dual operating system strategy as previously announced. By summer, Mac OS X will be available and by the end of the year, all new Macs will ship with Mac OS X installed.
AppleScript for Java
Alan Samuel, Apple's Java technology manager, explained that AppleScript for Java is an example of something Apple does on top of porting the VM and JDK to Mac OS. According to Samuel, "[Suppose] you write a Java application or applet on another platform. Run that same application or applet on MRJ and all of a sudden it is scriptable." AppleScript for Java can provide communication between the Finder in Mac OS or any other native application and Java applications and applets.
Apple's Levi Brown demonstrated the new QTZoo QuickTime for Java tutorial. Brown showed a kiosk application that might run at a zoo. Within the application, regions that could receive mouse events were irregularly shaped. Brown explained that while such an effect was difficult with pure Java, "the core functionality of QuickTime is exposed to you in Java. So you can do all the great things you're used to doing in QuickTime, like displaying movies, transitions, images, and rollover technology." The full source code of the QTZoo tutorial will be up on Apple's site in the next couple of months, added Brown.
Bill Stewart, chief architect of QuickTime for Java, pointed out that it had taken Levi Brown and Michael Hopkins only a couple of weeks to write the code for QTZoo, which demonstrates the power that QuickTime for Java provides for those who want to use QuickTime as a presentation engine. Stewart promised that current QuickTime for Java applications will run smoothly under Mac OS X when Apple releases the OS this summer. He also cited two interesting features in the currently available QuickTime 4.1 release: an XML parser and support for SMIL. The latter is a format that allows you to describe multimedia with an XML-like grammar.
The future
In general, Apple avoids talking in public about future software releases; and yet, Steve Jobs spent almost an hour of his keynote address demonstrating features of Mac OS X, which he said won't be released until this summer. Similarly, at the session, Apple's Java team spoke publicly about the plans for Java on the Macintosh.
MRJ 2.2
The current public release of the Macintosh Runtime for Java is MRJ 2.2 Early Access Release 2. Samuel announced that Apple "plans on shipping MRJ 2.2 pretty much in concert with Internet Explorer (IE) 5.0." With Microsoft and Netscape in agreement about a single VM for the Macintosh platform, the developer experience became easier, according to Samuel. Apple's VM already plugs in well with the current version of IE, and features such as applet caching should make that experience even better with IE 5. Netscape's VM on the Mac has been a sore spot for years, but the next release of Navigator/Communicator will support Apple's VM, which should improve the user's experience. Adding to the discussion, Naroff pointed to the "amount of progress in performance and compatibility [with] every release of MRJ."
The big news: Mac OS X will include Java 2
Samuel asked the audience members who have Mac OS X developer preview 2 (DP2), "What version of Java is on that release?" A sigh of relief went through the room as Samuel confirmed the rumors that the DP2 included the 1.2 VM. Furthermore, Naroff confirmed that DP2 contained a VM based on the 1.2 source base. In the next release, DP3, developers will find the layers sitting on top, such as the AWT, Swing, and Java 2D. He said that between DP3 and the final release, the Apple engineers will make sure that
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Apple announces Java 2 plans at MacWorld
View Tutorial: Apple announces Java 2 plans at MacWorld
Related
Tutorials:
Java Q&A, Open Java?
Java Q&A, Open Java? |
Which Java VM scales best? - JavaWorld - August
1998
Which Java VM scales best? - JavaWorld - August
1998 |
The state of Jini technology - JavaWorld
The state of Jini technology - JavaWorld |
The Java HotSpot
Performance Engine is set to break new records - JavaWorld
The Java HotSpot
Performance Engine is set to break new records - JavaWorld |
Apple announces Java 2 plans at MacWorld
Apple announces Java 2 plans at MacWorld |
Printing in
Java, Part 2 - JavaWorld December 2000
Printing in
Java, Part 2 - JavaWorld December 2000 |
Dynamically extend Java applications - JavaWorld August 2001
Dynamically extend Java applications - JavaWorld August 2001 |
Dynamically extend Java applications
Dynamically extend Java applications |
Finalists announced for
JavaWorld
Editors' Choice Awards
Finalists announced for
JavaWorld
Editors' Choice Awards |
welofunc performer
welofunc performer is a web load test tool to support quality assurance of J2EE web applications. |
Juggling
JOGL
This article introduces the concepts in JOGL, the Java bindings to OpenGL, that are applicable to 2D gaming. We start with the handling of coordinate spaces and how they\'re scaled from the OpenGL world to the screen. Then we integrated JOGL\'s built-in A |
Java on Apple IIc
Java Now Running on Apple IIc
I strongly believe in WORA. Java is able to run on a lot of devices, from the credit card to the server. Today I\'m pleased to announce the availability of Java(tm) [1] on the Apple II family [2]. This runtime is a partial |
Framework for Java Database Connectivity
What is Framework for Java Database Connectivity?
The Framework for Java Database Connectivity (JDBC) was implemented to demonstrate the ease with which a JavaTM application may be designed to access a source code repository using a relational query lang |
Quaqua Look And Feel
Quaqua Look And Feel
The Quaqua Look and Feel (Quaqua) is an implementation of Apple's Aqua Human Interface Guidelines in Java.
Quaqua is not yet a self-contained look and feel. As Quaqua matures, it provides a steadily growing number of user elements |
A Rendezvous with Java
A Rendezvous with Java
During WWDC this year, Apple released Java source for Rendezvous. You can now write Java applications that can call on a Rendezvous service discovery on Mac OS X, Windows, and any POSIX system using code supplied by Apple. Apple in |

Windows Search Windows Hosting Plans include "hostsearchbox.php"; ?> |
Complete Webhosting Guide, Search Web hosts, Find Plans
Complete Webhosting Guide, Search Web hosts, Find Plans
The Complete Web Hosting Guide
RoseIndia.net is the complete beginner's guide to finding a web hosting company.
Introduction to Web Hosting
What is Web Hosting? Linux vs. Windows |
Web Hosting Guide. What is Web Hosting Plan?
Web Hosting Guide. What is Web Hosting Plan?
What is Web Hosting Plan?
Web hosting plan is the different plans provided by Hosting Companies for hosting your web site. Web hosting plans include the storage limit, bandwidth, access to server |
News: World Records Broken with Sun Studio 10 Software and the Solaris 10 OS
Sun submits new performance world record for Sun Studio 10 compilers and the Solaris 10 operating system. |
Updated Hardware Certification Test Suite Available for Download
Version 2.4 of the HCTS is now available. Use it to certify your hardware on the Solaris 9 Operating System (and updates) and the Solaris 10 OS, 32-bit and 64-bit environments. |
|
|
|