• 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

Content of ejb-jar file

 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
According to HFEJB
The ejb-jar should include EJB's home, either directly or by reference. What it mean by reference? Can you provide an example? Thanks.
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Keyword: manifest file

In EJB2.0 and ejb-jar is not required to have a manifest file. So normally you msut have the following entries in your ejb jar file:
1) Home interface
2) Component interface
3) Your bean class
4) ejb-jar.xml in META-INF directory.

But if you wish you can package your jar file as follows:

1) ejb-jar.xml in META-INF directory.
2) manifest file referring to Home/Component and Bean classes

In the second approach you are indirectly referring to your Home/Component/Bean classes.
 
Devender Thareja
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sankar Subbiramaniam:
Keyword: manifest file

In EJB2.0 and ejb-jar is not required to have a manifest file. So normally you msut have the following entries in your ejb jar file:
1) Home interface
2) Component interface
3) Your bean class
4) ejb-jar.xml in META-INF directory.

But if you wish you can package your jar file as follows:

1) ejb-jar.xml in META-INF directory.
2) manifest file referring to Home/Component and Bean classes

In the second approach you are indirectly referring to your Home/Component/Bean classes.



hi
i want to asked why directory structure of ejb contains both home
and component interface , why they have make the structure so
complicated
reply
    Bookmark Topic Watch Topic
  • New Topic