The Coad Letter: Modeling and Design Edition, Issue 49, Greetings from JavaOne

By: Coad Letter Modeling Editor

Abstract: This Coad letter describes what's new with Java from JavaOne.

Dear Friend,

Greetings from Java One!, billed as the world's largest software development conference (over 14,000 participants and growing).


The days here are packed with Java futures: what's nearly specified, specified, or in beta for the Java platform. Think of a Java platform as an operating-system wrapper, adding a network-centric, object-oriented programming environment across all major operating systems.

Some of the more notable and interesting Java futures at JavaOne are:

    • A distributed shared whiteboard, a parallel computing space.
      Workers on different machines pull jobs from a job queue do that job, then put the job back on the queue.
    • Just as Java RMI makes objects on a network looks like any other Java object, Java Blend makes database records look like any other Java object. It takes DDL and generates a Java class with variables and references (a reference for each foreign key).
    • This is JFC (Java Foundation Classes) 1.1. It embodies model-driven programming (a la model-view-controller). It includes pluggable look-and-feel (although most developers need never be concerned about that). Supported in the current JBuilder 2.0 beta.  Key interfaces to study, if you really want to know what Swing is all about: TableModelInterface (TM), TableModelListenerInterface (TML)  Interesting twist: virtual table interfaces in a pipeline:

          a TM         a TML
                       a TM          a TML

    • A 200-page specification for IDE builders, yet much simpler in practice.  Key parts to study, to understand EJB:
      • Home interface: creation signatures for the EJB
      • Remote interface: business method signatures
      • EJB class itself: business method implementations
      • Deployment descriptor: identifies the above three items, plus the bean name, a transaction attribute (required or not), and environment properties.
      • Use an EJB jar file to deploy a collection of EJB components.
    •  It includes: Java IDL, RMI, JDBC, ODMG, SQLJ, Java Transaction Service (JTS), and the Java Message Service (JMS). More about JMS:
      • it provides publish and subscribe, plus reliable queuing (meaning
      • it guarantees delivery and transaction completion;
      • it is a much-needed complement to RMI and IDL for network-centric computing.


Imagine this. Sun and Dallas Semiconductor worked together to develop a Java ring, a ring containing a microprocessor running the Java Card platform.
I got my ring. I queued up at a machine with a ring interface. Then I plugged in my ring, entered my ID number, last name, and coffee preference (Mocha Decaf). Then the machine activated the JVM on my ring; a business-card applet captured the information.

Later, I plugged my ring in again and this time the machine activated the JVM on my ring; a fractal applet generated a point for a massive JavaOne
fractal (growing each minute during JavaOne).

BTW, you can buy the interface cable here for $15 and actually download your own applets into a Java ring. It will be interesting to see what developers will do with it in the weeks ahead!

On the road at JavaOne,

ps #1. FLEXIBLE MODELS: DESIGN WITH INTERFACES is the title of my JavaOne presentation (Friday at 11 am, Room 135).


ps #2. JAVAONE TODAY reports...

"James Gosling showcases Java technology today in his JavaOne keynote."
"Java programming language creator teams with Java evangelist Miko Matsumura to show how today's Java platform really shines..."
Story excerpt:
"Miko Matsumura, Sun's Java Evangelist, joined Gosling on stage for demonstrations of various Java applications. He showed Object International's 'TogetherJ,' a 100% Pure Java tool for designing Java applications."

ps #3. OPENING KEYNOTE. Here's something from the opening keynote that (as you might expect) I thoroughly enjoyed!

[Gosling] "Let's try a real one here. Miko is going to run a small app that's a thing called Together/J. It's a development environment and it fits with what was on the previous slide. It's on screen 3 (bring up screen 3)."

[Miko] "Okay. So one of the exciting things about Java is the way that you *see* things. So when I see Java, everything is objects. So one way to view
the objects is by using a program like Together/J. You can actually point this at any Java source code and it will automatically 'munge' and visualize the entire UML diagram. So here's what you can do. You can actually have a look at all of the objects. And as you can see each object has its name, properties, and methods visible. One of the things that is especially cool is you notice that [clicking on a diagram element] the editing window at the bottom, it actually jumps directly to the code [highlighted in the text editor pane, below]; you can edit right in place in these windows--real time, back-and-forth interaction."

[Gosling] "Yes, so this is a source-program editor and a UML modeler, a UML diagramming system, that let's you build your Java applications and do all
of the design computations. You can see there's a wide-out view that shows you everything and then there's a sort of zoomed-in view that you can change the zooming on. And you notice that when he sort of zooms out on the one [wide view] it does nicely anti-alias text. And this is a really professional-looking API. It manages to drag around those windows in a pretty sprightly way. So this is a 100% pure Java app and it runs on whatever you want. *And* it's a really cool design."

[Miko] "If you want to check it out, you can go to And you can download it."

[Gosling] "Yes. It's also built by a whole bunch of hackers in St. Petersburg, Russia. It's got some interesting characteristics and is really a pretty nice thing."

[end of demo]

CONGRATS to Dietrich Charisius, TJ's Chief Architect, and the TJ team members in St. Petersburg! PC

Server Response from: ETNASC04