| By Kunal Mittal | Article Rating: |
|
| November 16, 2004 12:00 AM EST | Reads: |
16,087 |
Earlier this year, BEA donated several proprietary technologies to the open source community primarily to increase the adoption of BEA WebLogic Workshop, which is the basic entry point into the WebLogic Platform suite. Although for typical J2EE applications deployed on the WebLogic Server, Workshop serves only as a basic IDE; for development in WebLogic Portal, BEA WebLogic Integration or BEA Liquid Data for WebLogic, Workshop forms the only IDE that you can really use.
By open sourcing several technologies such as XML Beans, Java PageFlows, Controls, and others, BEA hopes that several plugins will be created so that more popular development tools can be used to develop J2EE and Web services applications on WebLogic Workshop.
XMLBeans
In September 2003, BEA released the XMLBeans technology to open source. Like OR mapping tools allow you to make relational data to objects, XMLBeans provide a way to map XML data to objects. XMLBeans fully support XML Schemas and provide an easy API to access XML data as if you were accessing data in a JavaBean. XMLBeans 1.0 is currently a stable release, and a lot of work is being done to make it more suitable for large Web services applications.
Assume you have an XML Schema. You can easily generate a set of classes that allow you to work with this schema. In BEA WebLogic Workshop, this can be done using an XML Schema project. You get a JAR file with the classes that are used to work with any XML file that conforms to this schema. For example, you can access data from the XML file using these simple commands.
// Load an XML document MyDocument myDocument = MyDocument.Factory.parse(inputFile); Document doc = myDocument.getDocument(); // get an element from the head Header header = doc.getHeader(); Element element = header.getElement(); Attribute attribute = element.getAttribute();
One good way to use XMLBeans is as Data Transfer objects from your View layer to your Model layer.
Apache Beehive Project
The Beehive project was created with the Java PageFlow technologies that were introduced in BEA WebLogic Workshop. The main focus of the project is to simplify J2EE and Web services programming by using annotations. Java PageFlows are directly on top of Struts, and provides support for JSR-175, a metadata specification that allows you to reduce the J2EE coding required.
In addition to PageFlows, the Beehive project also has support for the technology called "Controls" - a component framework with support for metadata. The final piece of the Beehive project is JSR-181 - an annotation-driven model for Web services.
Initially, development for Java PageFlows and Controls could only be done using WebLogic Workshop as your IDE. Recently the Eclipse Foundation launched a project called "Pollinate" to build support for Beehive into the Eclipse IDEs. Other popular IDEs, such as IDEA IntelliJ, NetBeans, and JBuilder will soon fully support Beehive projects. (Note: This is not to say that you cannot use these IDEs today. See the Beehive Wiki in the References for more information.)
Beehive has been released under the Apache License v2.0 and is being promoted widely by BEA. Only 50% of the committers to Beehive are BEA employees, which should encourage other developers to contribute to this project.
My Take
Personally, I believe BEA made a great decision by open sourcing several of their proprietary technologies. Not only will this foster a greater adoption of BEA WebLogic Workshop as a tool, but as more J2EE applications are built faster, it will help the WebLogic Server find greater adoption. J2EE and Web services developers will be able to build applications faster and more easily using the metadata annotation for a lot of core/redundant tasks (like writing getters and setters for your Java Beans).
References
Published November 16, 2004 Reads 16,087
Copyright © 2004 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Kunal Mittal
Kunal Mittal is a consultant for implementation and strategy for Web services and services-oriented architectures. He has co-authored and contributed to several books on Java, WebLogic and Web services.
- CleverTouch achieves compound growth of over 120% p.a., opens in Europe, and appoints new MDs and advisory board
- Hot Tech Firms at the 2012 DoDIIS Conference
- Oracle Bounces Back from Q2 ‘Aberration’
- Cloud Office and Collaboration Productivity Applications Market Shares, Strategies, and Forecasts, Worldwide, 2012 to 2018
- Oracle’s Great Suit Against Google to Go to Trial
- Oracle and Google Ordered Back into Android Settlement Talks
- Doug Morse Joins Cubic Transportation Systems in New Post of Vice President, Customer Experience
- Rapid Protect, a Leading Developer of Mobile Safety, Security and Collaboration Software, Announces Major Update of Its Mobile Applications and Web Service Platform
- SaaS Branding | 6 Challenges of Killer Cloud Brands
- Mobile Commerce News Weekly – Week of March 19, 2012
- CCC Information Services Inc. Leverages Oracle Fusion Middleware
- Emulex Partners with Myricom to Enter High Performance Networking Market for Low Latency Applications
- CleverTouch achieves compound growth of over 120% p.a., opens in Europe, and appoints new MDs and advisory board
- Hot Tech Firms at the 2012 DoDIIS Conference
- Oracle Bounces Back from Q2 ‘Aberration’
- Cloud Office and Collaboration Productivity Applications Market Shares, Strategies, and Forecasts, Worldwide, 2012 to 2018
- Oracle’s Great Suit Against Google to Go to Trial
- Oracle and Google Ordered Back into Android Settlement Talks
- Doug Morse Joins Cubic Transportation Systems in New Post of Vice President, Customer Experience
- Intel distributes open source LibreOffice
- Global Networking Hardware and Software (IT) Industry
- Rapid Protect, a Leading Developer of Mobile Safety, Security and Collaboration Software, Announces Major Update of Its Mobile Applications and Web Service Platform
- SaaS Branding | 6 Challenges of Killer Cloud Brands
- IEEE ICC 2012 to Feature “Paperless+” Wireless Networking Event from June 10 – 15 in Ottawa, Canada
- Java vs C++ "Shootout" Revisited
- Where Are RIA Technologies Headed in 2008?
- Configuring Eclipse for Remote Debugging a WebLogic Java Application
- XA Transactions
- Migrating a JBoss EJB Application to WebLogic
- An Introduction to Abbot
- The Top 250 Players in the Cloud Computing Ecosystem
- 'HTTP Session Replication Failure' Issues
- WebLogic Tutorial: "Integrating Apache Poi in WebLogic Server"
- Eclipse "Pollinate" Project to Integrate with Apache Beehive
- Failover and Recovery of Enterprise Applications - Part 1
- Monitoring and Controlling WebLogic Servers with WLST




















