ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Create Desktop Applications with Java-Based Web Technologies
Pages: 1, 2, 3, 4, 5, 6

As you can see in Figure 19, the default icon, which is automatically added to the Dock, looks rather nice. Clicking on the icon launches the server user interface as described above, which in turn launches the server and the user's browser (as shown in Figure 20).

Figure 19. Default Mac OS X Icon

Figure 20. Default Web Page

It's worth pointing out that this entire server and application work wonderfully on Windows, as shown in Figures 21-27.

Figure 21. Default Web Page

Figure 22. Default Web Page

Figure 23. Default Web Page

Figure 24. Default Web Page

Figure 25. Default Web Page

Figure 26. Default Web Page

Figure 27. Default Web Page


A new development and application-packaging model can be a bit intimidating, but it is potentially very powerful. It's easy to imagine using this model to build a digital-hub-style application, one that serves the other systems in your household, regardless of the OS, by accessing the web applications living on other systems in the house, perhaps using Rendevous/ZeroConf to dynamically discover services at runtime. You can add support for document handlers to achieve closer desktop integration, or integrate a database such as hsqldb to provide for a complete database-driven web platform. Or, use this in conjunction with web services for new collaboration and cooperation capabilities. The possibilities abound.

As a final note, I'll be talking more about this topic on Wednesday, October 29th, 2003 at the upcoming O'Reilly Mac OS X Conference. If you can make it, please come by and say "hello."

Will Iverson has been working in the computer and information technology field professionally since 1990.

O'Reilly & Associates recently released (April 2003) Mac OS X for Java Geeks.

Return to ONJava.com.