Most Read Latest News Blog Resources

Thought Reduces O/R Mapping to Afterthought




June 15, 2006 — 
The automated mapping function in the CocoBase Pure POJO 5 Java object-relational mapping product, according to its maker, Thought, reduces the once time-consuming job to a simple task of double-checking.

“The Magic Mapper attempts to reverse-engineer your application,” said Thought’s CTO, Ward Mullins, referring to the automated wizard new to version 5. “It attempts to find out what you have on both sides, taking into account your application classes and database models,” he explained. “Then it looks for mismatches in naming conventions and types, and [displays] any problems that resulted.”

Working within Eclipse, developers are presented with a list of automatic mappings and can click to edit them manually, if needed. “This [replaces] a lot of manual steps with a system that uses a best guess,” he said. A preference slider allows users to select how hard the tool will work to try to solve mapping problems to “catch more fine-grained mismatches,” he said.

Pricing remains at US$6,000 per developer; there are no server or runtime fees.

CocoBase 5 also now includes Mapping Workbench, which offers developers a single place to create their class-to-table mappings, rather than having to page through multiple editor screens to specify mappings. A new persistence and query manager handles local Java SE and distributed Java EE objects without changing the bytecode or adding annotations or extensions for POJO or EJB 3.0 objects.

Also new is the ability to input custom SQL operations, which Mullins said enables developers to execute code-level actions from a project-level interface. “After you’ve mapped, you often need to do something special, like put in an Oracle hint or insert a field that’s always converted to uppercase,” he said. “So you might put in a wrapper for that field” that would execute those operations or even route them to stored procedures.

CocoBase Pure POJO 5 is available now; free trialware can be downloaded at www.Thoughtinc.com

Spring 2 Action
CocoBase 5 is now integrated with the Spring 2.0 framework, and includes an implementation of the JPetStore. “This is a fully functional Web application using CocoBase,” said Mullins. “People can see a whole object model that’s mapped and round-tripped.”

Thought also has extended its repository features to accommodate the enterprise. The new functionality is implemented as a layer on top of the previous repository and is backward compatible, he claimed.

Mullins, commenting on the recently completed EJB 3.0 specification, said that Thought favors its new direction. “We like what Sun has done, and our persistence management is along the same programming lines as EJB 3.”

The most positive development, he said, was the inclusion of the specs for Java Data Objects (JDO). “It gives developers one set of mapping APIs, and it’s all POJO.” Mullins said CocoBase will support the new spec in its next dot release, probably in the third quarter.


Share this link: http://www.sdtimes.com/link/29392
 

Add comment


Name*
Email*  
Country     


  • Comment
  • Preview
Loading



 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 
Download Current Issue
ISSUE 3/15/2010 PDF

Need Back Issues?
DOWNLOAD HERE

Receive the print Edition?


 
blogs tab
Google Code turns 5
Google Code Turns 5, and adds a Paxos Algorithm to make the system more stable and reliable.
03/17/2010 11:16 AM EST

Test your Visual Studio 2010 know-how
Microsoft is offering free beta certification exams for Visual Studio 2010.
03/17/2010 11:08 AM EST

Microsoft lifts the hood on IE9
Microsoft is previewing IE9.
03/16/2010 01:10 PM EST

 

Events calendar tab
3/22/2010 to 3/25/2010
Santa Clara, Calif.
The Eclipse Foundation

4/12/2010 to 4/14/2010
Las Vegas
Penton Media

4/12/2010 to 4/15/2010
Santa Clara, Calif.
O'Reilly Media

4/19/2010
New York City
Flagg Management

4/25/2010 to 4/28/2010
Overland Park, Kans.
IIUG