Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Sun's Java Workshop Model
Sun's Java Workshop Model

The following excerpt is from "Inside Java WorkShop," by Lynn Weaver & Bob Jervis. Sun Microsystems Press/Prentice Hall PTR book. (ISBN 0-13-858234-3; $39.95US) Copyright Sun Microsystems Inc., 1997.

The Java WorkShop design draws from the combined wisdom of the UNIX and the PC worlds. Here, Java has proven itself invaluable. Because Java WorkShop is written in Java, tools written as applets can share project information, allowing for sophisticated integration. Adding new tools is as easy as writing a new applet. Collaborative groups of applets can leverage the capabilities of Java to bring all kinds of new functionality to you. What you see today is only the beginning.

Java WorkShop is about helping you create a user experience. That user experience is created out of a combination of Web pages, multimedia, Java applets, and server code. Today, Java WorkShop provides a complete set of tools, integrated into a single environment, for managing the Java programming part of this problem. Most importantly, Java WorkShop uses a highly modular structure that enables you to easily plug new tools into the overall structure.

The real genius of Java lies not in its features per se, which were carefully selected from earlier languages, but in the way in which those features interact with the Internet. By providing a common programming interface for networking, graphical user interfaces, and multithreading, Java makes it possible for you to write the kinds of applications that are most needed on the Internet. By a lucky coincidence, corporate computing divisions all over the world have realized that most of their networking needs can be met by intranets, private computing microcosms that use Internet protocols.

Of Tools
If you are developing applets, you need to debug them in a browser environment, and Java WorkShop was the first to let you do that. We experienced this need as we developed Java WorkShop itself. Even though the WorkShop is a standalone application, we chose to use a browser look-and-feel, in part because the best way for us to understand the problems you face is to face them ourselves. Also, since we agree that the Web enables new ways of making software work, we needed to create an environment that exploited the Web as much as possible. It didn't make sense to preach the value of the Web and then to ignore it in our own tools.

Of Teams
The Web has also contributed to a trend begun by graphical user interfaces-a development team must include many more skills than ever before. Our own development team comprises programmers, writers, graphic artists, interaction engineers, human interface engineers, testers, translators, and evangelists. Software created for internal corporate use may not be quite as intense in its use of production values, but programming long ago ceased being a solitary activity. Java WorkShop provides support for easily sharing projects over the Web and also for version control integrated with your source editor. While these facilities help programmers specifically, we plan to provide better support for all members of the development team, not just the programmers.

The Great Cycles: Edit-Compile and Edit-Compile-Debug
When we thought about how to organize the Java WorkShop, we used the idea of two great cycles that a programmer goes through in creating a program. Most frequently, we cycle between editing our program and compiling it to discover compile-time errors. We can move on to the second cycle, editing, compiling, and debugging only when all the compile-time errors are gone. For example, if you use many compiles, you might put small amounts of new code into a program for each compile. It's easier to fix the errors, and then when you run tests, it's also easier to discover the causes of the runtime bugs. Different people have different styles, but integrated environments help cut the mechanical effort involved in working through the cycles. Rather than having to remember an assortment of commands, you let the environment take care of them for you.

Compilers are designed to diagnose as many distinct errors as possible in a source program. But how many distinct errors are in a program? If you made a mistake in the declaration of a variable, is each of the references to the variable also in error or just the result of the mistake in the declaration? If the compiler encounters an undefined variable name in the program, is the mistake a typo in the reference or in the original declaration? Only the programmer knows which spelling is correct. Eventually, you learn how a compiler responds. The common thread is usually some completely inexplicable error message complaining about what looks like a perfectly good statement or declaration.

In Java, many of the errors and diagnostics are quite similar to those of a C or C++ compiler, and the corrective action is the same. Java diagnostics differ from C or C++ in the area of importing classes. With C or C++, include files are sources, so they are all present or not, and the order in which you compile source files doesn't really matter. In Java, since imports work off previously compiled class files, there are a number of ways in which the current builder can report that class files don't exist but on a recompile, the diagnostics go away. This is usually due to some sort of ordering error in the build. Most of the time, the javac compiler doesn't care about the order in which you list the source files on the command line, but occasionally it does matter. Usually when this happens, repeating the build resolves the problem.

Sometimes a diagnostic shows up during a complete rebuild of your project. This is usually due to a hidden dependency that was only detected when the original class files were deleted and the sources were recompiled, for example, when there are circular dependencies among packages, so that a class in one package depends on the interface of a class in another package, and so on, until you get back to where you started from. The only way to satisfy the dependency is to make sure that all the source files in the cycle are compiled together. You may have to add source files to a package project that are not part of the package in order to do this.

Whether you are writing code for the Internet or your own corporate intranet, we believe that you are most likely to be trying to create network-aware software and a related Web site. Java WorkShop lets you develop standalone programs as well as applets.

About Java News Desk
JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Enterprise Open Source Magazine Latest Stories . . .
AMD said late Tuesday that its chief sales officer Emilio Ghilardi had left the company and that CEO and president Rory Read is going to do his job while a replacement is sought. AMD didn’t say why Ghilardi left but it’s assumed Read wants his own people. Read is relatively new to th...
With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and st...
During the lifespan of M3 (Monitis Monitor Manager) there has always been something lacking – timers. M3 execution procedure was outlined in this previous article. The execution mentioned in the latter was a one-time-execution, whereas server monitoring requires periodic invocati...
Red Hat is putting its bought-in Gluster scale-out NAS storage technology, acquired in October, on the Amazon cloud. It’s styled Red Hat Virtual Storage Appliance for Amazon Web Services and other clouds are supposed to follow in short order.
A new episode of the screencast series is now available at the OpenNebula YouTube Channel. This screencast demonstrates the new easily-customizable self-service portal for cloud consumers. Its aim is to offer a simplified access to shared infrastructure for non-IT end users. The scree...
C12G Labs has just announced an update release of OpenNebulaPro, the enterprise edition of the OpenNebula Toolkit. OpenNebula 3.2, released two weeks ago, brings important benefits to cloud providers with a new easily-customizable self-service portal for cloud consumers, and builders w...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE