This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Entity and session beans orgnization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Entity and session beans orgnization" Watch "Entity and session beans orgnization" New topic
Author

Entity and session beans orgnization

Shyam kumar
Ranch Hand

Joined: May 21, 2006
Posts: 146
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

Joined: Apr 14, 2004
Posts: 10336

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 ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Shyam kumar
Ranch Hand

Joined: May 21, 2006
Posts: 146
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Entity and session beans orgnization
 
It's not a secret anymore!