Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesJava Gets Personal


October 1997 / Javatalk / Rebuilt Parts / Java Gets Personal

It's no secret that Sun's vision is for Java to become a truly cross-platform language. It is perhaps more accurate to say that Sun hopes Java will become a pan-platform language; that is, not only the language for desktop systems but for nondesktop systems as well. And to that end, JavaSoft is sculpting a series of Java APIs that will be aimed at varied levels of functionality.

JavaSoft recently released the version 1.0 draft specification for the PersonalJava API. This draft is available on the JavaSoft Web site ( http://www.javasoft.com ) for a special 60-day period, during which time Sun will accept public comments on the specification and possibly rerelease modified versions of the draft as it incorporates worthwhile comments.

PersonalJava's targets are personal consumer devices that make heavy use of communications. The specification suggests set-top boxes and intelligent telephones as potential candidate applications. Of necessity then, an implementation of the PersonalJava API will occupy a smaller footprint than an implementation of the full Java Development Kit (JDK) 1.1. (JavaSoft estimates that the PersonalJava virtual machine and supporting class libraries will fit in 2 MB of ROM and approximately 1 to 2 MB of RAM.)

The PersonalJava API is sort of a subset of the full JDK 1.1 API. I say "sort of" because, though most of the PersonalJava API is indeed a simple reduction of the JDK 1.1 API, you won't find some new elements of PersonalJava in JDK 1.1.

For example, PersonalJava defines new Timer and TimerSpec APIs, which let PersonalJava applications create objects that provide what amounts to a millisecond-resolution alarm clock. You can attach a kind of "interrupt handler" to a timer, in much the same way that you attach a listener object to an event source in the JDK 1.1's event handler.

In addition, PersonalJava extends the Abstract Windowing Toolkit (AWT) with new APIs for handling such things as display output double buffering and mouseless input. (Double-buffered systems provide an external buffer memory into which all the drawing is done. The updated display is shown on-screen by copying buffer memory to the actual screen's memory. This reduces unsightly side effects that can occur while the application and display hardware are battling for screen-memory access.)

Most interesting are the goals of the Pe rsonalJava API. Specifically, that products "...based on PersonalJava should be usable by people with no computer experience." We'll see.


Up to the Javatalk section contentsGo to previous article: Java Gets PersonalSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network