Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

referencing ejb at run time in wsad

 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 ]
 
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic