• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Entity and session beans orgnization

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic