• Post Reply Bookmark Topic Watch Topic
  • New Topic

eclipse : new module  RSS feed

 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Eclipse 3.0 with Lomboz j2ee plugin for the j2ee application development. I read the documentation about the various modules in the j2ee application, but had some confusion about the concept of module.

Would I need to create a seperate ejb module for each individual entity bean / session bean / message driven bean?

Similarly, for web applications, would I need to create a seperate web module for each web application context?

Ankit
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit,
An EJB module is a group of one or more ejbs. They will get grouped as a single ejb-jar at deployment time.
 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, that's what I want to clear up, might be I should have raised this question in the ejb and j2ee forum. Let me elaborate more :

When should I consider putting multiple ejbs in one EJB module and what is the significance of doing this? The reason I am asking this is that, so far I haven't used any IDEs, I usually create the home interface, remote interface, bean class, pk class manually and copy the deployment descriptor, manually jar them and deploy in the application server, so there is no concept of ejb module here.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit,
If the EJBs logically go together it is good to put them in the same ejb module. The significance is that the ejbs will go into the same ejb-jar, which is useful if you want to distribute them to others (without using an ear.)

I'm going to move this post to the EJB forum for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!