wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes Referring EJBs in Application.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Referring EJBs in Application.xml" Watch "Referring EJBs in Application.xml" New topic

Referring EJBs in Application.xml


Joined: Apr 07, 2004
Posts: 1
I have spearate Eclipse projects for Web tier, Delegation, EJBs and DAOs. Classes in Web tier do not refer to EJBs directly, they do it by using delegates. In this case, Do I still need to mention EJBs in application.xml? I have the reference for EJBs in delegation tier.

Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
I can't understand this design. There is no "delegation tier". There could be a delegation project, but it will have to be included on the classpath of the web tier.
In that case, your project (if it's a Java project) can't define references to EJB's, since those can only be defined in J2EE projects like EJB Projects, WAR projects and Java Client Projects.
Can you be more specific about exactly what your structure is and what you've done?

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I agree. Here's the link: http://aspose.com/file-tools
subject: Referring EJBs in Application.xml
It's not a secret anymore!