Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity and session beans orgnization

 
Shyam kumar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Ranchers,

In a J2EE application should we have the session beans and entity beans within the same ejbmodule or should we have a different ejb project for entity beans and different one for session beans? In my project session beans and entity beans are orgnized in different ejb modules. What is the general practice? I'm using WSAD 5.0.

Thanks in advance,

Naveen
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up to you really. Normally entity bean are not needed ouside the scope of a particular EJB application so they tend to get bundled with that application.

Personally, I wouldn't use Entity Beans at all.


I'm using WSAD 5.0.


That's a fairly old application server. Any reason why you don't use a more up to date one?
[ March 19, 2007: Message edited by: Paul Sturrock ]
 
Shyam kumar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul, I'm sorry but I didn't get you... you mean to say that we DON'T NEED TO have a different ejb project for entity beans and different one for session beans?
One more thing... you said "Personally, I wouldn't use Entity Beans at all." can you please elaborate?

Thanks in advance,
Naveen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic