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


   

 
 
Download Current Issue
ISSUE 2/1/2010 PDF

Need Back Issues?
DOWNLOAD HERE

Receive the print Edition?


 
blogs tab
Visual Studio 2010 Release Candidate Available Today
A Visual Studio 2010 release candidate is available on MSDN.
02/09/2010 09:45 AM EST

Is Microsoft eyeing Office subscription pricing?
Microsoft may be preparing to offer a new Office pricing option called "union," which charges the same for cloud as on-premises.
02/01/2010 09:38 AM EST

Facebook rewrites PHP runtime
Facebook is about to open source its own PHP runtime, written from scratch for speed.
01/30/2010 08:53 PM EST

 

Events calendar tab
2/9/2010 to 2/13/2010
San Francisco
IDG World Expo

2/10/2010 to 2/12/2010
San Francisco
BZ Media

2/17/2010 to 2/25/2010
Atlanta
Python Software Foundation

2/19/2010 to 2/20/2010
Los Angeles
SCALE

2/21/2010 to 2/24/2010
Las Vegas
IBM


 
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