• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to design Business Objects for related tables in Database

 
Raymond Ong
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm not quite sure where to place this question so I just decided this area would best fit (unless I overlooked an area). Anyway, my question is how to design an object that would represent a set of related tables in a database.
It would be easy to do that if the tables were independent of each other. But I have table which had 1-to-many, and many-to-many relationships. I've read about BO, DAO and TO J2EE design patterns. I just need some practical advice on how to implement the patterns on the table relationships I just mentioned. Any links to references would also be appreciated.

Thanks in advance
 
karthi keyan R
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
This can be achived by the CMP concept in EJB, but it is in the 1.2 version on words..,
 
karthi keyan R
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I forget to go , Just go through the EJB2 spech , u well get a better idea.
thanks
karthi.R
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic