• 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:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

referencing ejb at run time in wsad

 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

I have an ear in WSAD 5.1.My ear contains one Web modules and multiple EJBs modules.few classes EJBs are tight coupled (this shouln't be)

When I run my EAR it is supposed to run one war and 3 ejb-jar,but one of three ejb-jars is not able to get reference of a class ie in other EJB jar

I added project reference in project properties but it did't work out.

It works only when if I pull out those classes and keep in my classpath as a jar.

I need suggestion to how to refer reference of other EJB class.
I am able to refer ejbs at compile time

thanks
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right click on each of your EJB projects and go to "Java JAR Dependencies". Make sure you have set up the proper dependencies here............your project references are only valid for compile time. The Java JAR Dependencies create entries in your Manifest.mf for runtime.

-Ed
 
Shailesh Chandra
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks ed,
but I had already tried this, but didn't work out.

I will try again.

Shailesh
[ March 11, 2005: Message edited by: Shailesh Chandra ]
 
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic