• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

How to design Business Objects for related tables in Database

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic