ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Jobs
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


Application development Toolkit

Sun takes the covers off Mustang

Ingrid Marson Builder UK

Published: 29 Jun 2005 12:20 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Although the plan for Dolphin is more tentative, Reinhold said there are a number of features that Sun may add in this release, such as a complete revision of JAR files and language-level support for XML.

Some of new features and enhancements in Mustang include:

Scripting — JSR 223
You'll be able to use scripting languages within Java applications, which will be interpreted by a scripting engine included in the Java platform. Incorporating scripting code will be relatively easy, according to Reinhold. "You can interpret JavaScript in Java programs with only 3 lines of code," he said.

JDBC 4.0 API — JSR 221
The next version of JDBC will include ease of development features such as automatic java.sql.Driver discovery and SQLException improvements. This will cut down the amount of code needed, according to Reinhold. "You only have to drop the JAR file in and it automatically catches exceptions. You can get rid of the extra code," he said.

Javadoc tag update — JSR 260
The new version of Javadoc will allow API authors to write more flexible and accessible documentation through features such as providing a "newbie" and "advanced" view of a class. Reinhold said this update is essential to make it easier for you to navigate through the documentation for large classes. "Javadoc hasn't scaled as well as the programming language has — it doesn't do much to help you navigate it," he said.

Streaming API for XML — JSR 173
This API will specify a pull-parsing API for XML — you can ask for the next event. At present, the only ways that you can parse XML is through the SAX or DOM API, which forces you to respond to events caught by event handlers. Reinhold said these APIs can be "clumsy" to work with and the streaming API will be more suitable for some applications.

"Many kinds of XML driven programs don't fit into this event driven style," said Reinhold. "[Streaming API] is a much more natural way to be writing code."

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with Konica

Did you find this article useful?
181 out of 392 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:












Discussions

erijustice erijustice

Beware

Tuesday 7 October 2008, 6:10 AM

2 comments
sunsj sunsj

xG update - money, mystery and more

Tuesday 7 October 2008, 4:44 AM

3 comments

Featured Talkback

In association with Intel
The fact is: Software developers today are really designers and not coders. The reason that business anlaysts exist today to model solutions is because they understand the value of designing software before writing it. All too often developers create code that has little value because they do not understand that business classes interact with other classes within the confines of a working model or pattern.

By: 1000165269

Read full story:
Making sense of agile modelling