Software // Enterprise Applications
News
8/28/2003
02:51 PM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

New Face For Java Apps On The Client

Two emerging Web-services standards are expected to improve users' online experiences.

Two Web-services standards are emerging at the same time and are expected to radically improve the user experience on the Web through better interactions with Web servers and higher speeds.

The little-known Java Server Faces will provide a standard way to build user interfaces for Java Web applications and open the way for highly customized and specialized components to be plugged into applications. Java Server Faces is still being hammered out, and its first specification is expected "late this year or early in 2004," says Ed Burns, Sun Microsystems staff engineer and co-chair of the Java Server Faces expert group of the Java Community Process. The Java Community Process is an industry consortium for extending the Java platform, organized by Sun.

Java is the dominant language for applications on Web servers, and moving to a standard way to build user interfaces will ease the developer skills required and the expense of building applications with more-sophisticated user interactions, Burns says. However, Java's success on Web servers hasn't been matched by its use on clients. Java includes its own user interface elements, called Swing, but developers tend to implement Swing in a variety of ways. Client machines also tend to use a variety of Java virtual machines for running Java applets, and applets have to be targeted to a specific virtual machine, compounding developer headaches.

Getting Java interfaces to run predictably on clients has been a challenge, Java spokesmen concede. With Java Server Faces, developers can build user interfaces that "only require the ability to handle JavaScript in the browser," says Burns--a requirement most existing PC browsers can meet. Over the next two years, Java developers "will build more personalized, more-customized apps instead of doing system-level stuff," says Rikki Kirzner, an IDC analyst for application development.

Tools supporting Java Server Faces will move the difficult task of building Java applications to a process closer to working with the drag-and-drop process of building Microsoft Visual Basic applications, says Dennis MacNeil, Sun's senior product manager, Java 2 Enterprise Edition. "We're closing the gap," he adds.

Java Server Faces will specify how one element of a user interface may interact with another, such as the Oracle JDeveloper tool's current ability to show the user a list of customers and then show a table of orders for that customer when a name is highlighted. If the order data were more than a few hours old, the user interface would know to go to a server and get fresh data without disturbing other elements of the page, something that's difficult to do with HTML pages, says Oracle's Ted Farrell, application development tools architect.

Another standard, the first version of the Basic Profile for Web Services, was issued in mid-August by the Web Services Interoperability Organization. By following its recommendations, Web services built on one platform using XML documents and Simple Object Access Protocol messaging will work with those developed on another. Data from a Web service generated by a Sun Solaris server could be combined with data collected from a Web service generated by a Microsoft Windows server because both companies are supporting the Basic Profile, MacNeil says.

Toolmakers such as Sun, Oracle, IBM, BEA Systems, and Borland are expected to implement support for both the Basic Profile and Java Server Faces in future versions of their tools. IBM's WebSphere Studio 5.1, released earlier this month, supports Basic Profile, and the Page Designer included in it has been geared to support Java Server Faces as its specification becomes final, says Bernie Spang, director of WebSphere Studio marketing.

Comment  | 
Print  | 
More Insights
Building A Mobile Business Mindset
Building A Mobile Business Mindset
Among 688 respondents, 46% have deployed mobile apps, with an additional 24% planning to in the next year. Soon all apps will look like mobile apps and it's past time for those with no plans to get cracking.
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest - July 22, 2014
Sophisticated attacks demand real-time risk management and continuous monitoring. Here's how federal agencies are meeting that challenge.
Flash Poll
Video
Slideshows
Twitter Feed
InformationWeek Radio
Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.