• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Saving Itinerary

 
Dinesh Bhattacharya
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am debating saving the itinerary in the customerejb -> a CMP bean , in the profile class. A more common approach seems to be itinerary's own EB EJB.

Just want to know what others think of storing the itinerary in the profile...

Am I completely out of track or is this a new way of doing things ?
 
Rodrigo Dinis
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, of course, the better aproach is one EJB (Entity) to the itinerary and other to the customer.

Regards,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic