Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

BEA seeks to ease XML development on Java

Hosted service to feature XMLBeans technology

By Paul Krill
January 27, 2003
 

BEA Systems on Monday is introducing a technology called XMLBeans, which is designed to improve developer productivity by eliminating challenges to incorporating XML data into Java.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell

To debut initially as a free, hosted service, XMLBeans aims to enable developers to focus time on value-added development for Web services and enterprise applications. The hosted service eventually will be part of BEA's WebLogic for Java application development and deployment. Version 8.1 of WebLogic, due in beta release at the BEA eWorld conference in March, will feature XMLBeans.

"We're trying to push this into the standards layer," and get it broadly adopted, said Carl Sjogreen, senior product manager for BEA WebLogic Workship, in Seattle.

"Without a technology like XMLBeans, it's very painful to use XML. We think this is going to drive the adoption of XML," he said.

XMLBeans provides a Java object-based view of XML data. Unlike other Java "binding" solutions, XMLBeans enables programmers to maintain the fidelity of raw XML data while gaining the productivity and flexibility benefits of Java, according to BEA. It features a core set of Java classes that provide a common XML store.

A core set of libraries are provided for specific documents, such as libraries for a purchase order, Sjogreen said.

"It's designed to make it easier for developers to access XML from within Java," Sjogreen said.

"The current solutions that leverage that XML data are really insufficient," he said.

An XMLBean actually is a Java Bean, Sun's technology for Java classes, Sjogreen said.

"It's more like regular Java Beans," than Enterprise Java Beans, which reside on the server and manage transactions and security, Sjogreen said.

"Java Beans basically provide a standard format for simple Java classes to get and set values and we've used sort of some of the same naming conventions and paradigms for getting and setting XML values," Sjogreen said.

Analyst Tom Murphy, senior program director at Meta Group, in Stamford, Conn. , said the XMLBeans concept was interesting but that it was important that the technology did not remain proprietary to BEA.

"I think [an open source route is] a good idea," Murphy said. He questioned whether BEA would go through the formal JCP (Java Community Process) for including technology in Java or attempt to establish it as a standard by simply publishing it and attempting to garner support outside the JCP.

"The issue [is] from a developer perspective, is this proprietary-BEA, and often developers, when they choose Java, they choose things that are portable across different platforms," Murphy said. "They don't want vendor lock-ins."

A BEA representative said the company wants to make XMLBeans a standard but has not yet decided which specific route it will take toward that end.

BEA's XMLBeans provides direct access to XML using a conventional set of interfaces such as XQuery, Sjogreen said. "It makes it very easy for [developers] to access that XML information," without losing any information in the XML Schema, he said.

XMLBeans differs from other approaches to incorporating XML data into Java, such as DOM and SAX, in that it does not result in loss of data due to fundamental differences between the two languages, requiring recoding of information and development of custom linkages.

DOM and SAX present low-level API approaches to using XML that are tedious to work with and make applications brittle, while other technologies, such as JAX-B or Castor, force developers to fit XML into Java classes, Sjogreen said.

"The problem with [JAX-B and Castor] is they generally sort of force-fit XML into Java," thereby losing a lot of the original XML information, such as rules on XML data organization or data constraints, said Sjogreen.

BEA hopes to get feedback from developers via launching XMLBeans as a hosted service. Developers can log onto the site and upload a schema that describes documents they want to use, and in return will get back XMLBeans classes needed to process that document in their application, according to Sjogreen.

XMLBeans is available at: http://dev2dev.bea.com/techtrack/detail.jsp?highlight=xmlbeans.





 


 
Paul Krill is an InfoWorld editor at large.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




MIGRATING TO VISTA
Join Windows Vista Expert, Richard Whitehead as he presents the benefits and challenges of migrating to Windows Vista. Sponsored by Novell

»  Click here to view this Webcast
  The Path to Enterprise Security
This is your comprehensive guide to Enterprise Security. In it you'll find solutions to the most pressing security threats facing you and your company. Learn the latest on insider threats and how to effectively minimize risk within your organization. Sponsored by Nokia

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist