Plugins (1071)


Training and Consulting (41)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 539
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Guest
Post subject: Standard for defining O/R mapping in UML?  PostPosted: Mar 17, 2004 - 12:37 PM






Are there any standards for defining an O/R mapping in UML. I know I can specify the object model in UML, but what about the mapping between the objects and the datastore - is that always proprietary/tools specific?

If I put the mapping information in a runtime config file, how do I keep it in sync with my object model?

Any ideas Idea ?
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 18, 2004 - 11:42 AM






You might try checking the OMG site www.omg.org. They are responsible for the uml standard.
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 18, 2004 - 08:29 PM






Scott Ambler has also written on the object-relational mapping topic - see www.agiledata.org or www.agilemodeling.com
 
   
Reply with quote Back to top
Blade
3 Post subject: UML and Datamodeling  PostPosted: Mar 20, 2004 - 05:06 AM
Guest





EclipseDatabse is trying to find a solution to Datamodeling and it is not easy.
We dediced to consider both MDA and UML/object approach, using JDBC or JDO. We have implemented bottom up approach to reverse existing database and then generate code using Torque, Hybernate others... mappings.
We are implementing UML JDO profiles using MDA approach. Data is a stereotype and infortmation are saved in XMI.
I personaly like JDO technology, but many projects needs JDBC.
Finaly we are working on a kind of JDO/JDBC integration (no, it is not stupid idea !!). Reversing existing database, modeling, and using JDO to generate code. Easy and efficient databases migrations.
We do not have the magic trick, therefore Omondo will implement Torque, Htybernate and other mappings . We will use JDO and datamodeling having a MDA approach based on EclipseUML2 (XMI 2.0).
Hopes it help !!!

Blade,
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 22, 2004 - 12:05 PM






Isn't JDO more for OODB mapping? Is there any standard that doesn't force me to use J2EE and that is more suited to RDB?
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 22, 2004 - 01:15 PM






Take a look at XJDO's relational database mapping capabilities - it is already combining JDO and JDBC over relational databases, within Eclipse - completely integrated into the compilation, error generation, mapping generation, launcher and much more:

http://www.eclipseplugincentral.com/mod ... nk&cid=168

or

http://www.spadesoft.com

I think this is what you guys are looking for ..

Ran
 
   
Reply with quote Back to top
Blade
Post subject: JDO  PostPosted: Mar 23, 2004 - 03:23 AM
Guest





EclipseUML is currently adding a JDO UML profiles using EclipseJDO plugin + Kodo.
EclipseUML will allow any specific JDO vendors to add its own JDO profiles and XJDO, Libelis and others ... are welcome.
Blade,
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 25, 2004 - 12:22 PM






Do any of these approaches offer integrated OR mapping and caching? Is caching something I can specify in my design/configuration or do I integrate it afterwards?
 
   
Reply with quote Back to top
ckeene
Post subject:   PostPosted: Apr 06, 2004 - 06:00 PM



Joined: Feb 03, 2004
Posts: 5

There is a pretty good article on some of the tough issues in O/R mapping in JavaWorld here:

http://www.javaworld.com/javaworld/jw-0 ... ck-p3.html

There is also a discussion of the same article in The Server Side here:

http://www.theserverside.com/news/threa ... 932#116887
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Guest
14 Post subject: JDO is mostly used with relational databases!  PostPosted: Aug 05, 2004 - 06:35 PM






Anonymous wrote:
Isn't JDO more for OODB mapping? Is there any standard that doesn't force me to use J2EE and that is more suited to RDB?

Most of the JDO implementations are for relational databases. The beauty of JDO is that is supports relational, object, and pretty much any other persistent technology that you care to use, without a code change to your objects.

I highly recommend a visit to http://www.jdocentral.com, or google JDO to get a better feel for it. JDO 2.0 introduces several new capabilities, including standardized O/R mappings, direct exposure of the underlying datastore connection (JDBC Connection for relational implementations), customized fetch groups, named queries, and more. JDO 2.0 addresses easily 98% of the concerns that I've ever heard mentioned.

If you look at the newly proposed EJB 3.0 entity beans in the EJB 3.0 early draft specification, you'll see how similar they are to JDO-persisted objects: POJOs. The difference between EJB 3.0 EBs and JDO is that EJB 3.0 EBs require a container; JDO does not. You can imagine how that makes vendors like BEA & IBM worried -- all of the sudden, their container is irrelevant. Additionally, both technologies do a reasonable job of commoditizing the underlying datastore, but again, another difference between EJB 3.0 EBs and JDO is that EJB 3.0 EBs are, according to the specification, restricted to relational databases. That means different APIs for EJB-based developers depending on which environment they're targeting (EJB v. non-EJB). Since JDO can be used outside and EJB container or inside an EJB container (including transaction integration), the choice should be pretty clear.

Hope this helps.

Hope this helps.
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Aug 05, 2004 - 06:58 PM






www.hibernate.org
ejb 3 have many things from hibernate

regards
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits