• 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

eclipse : new module

 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic