Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Referring EJBs in Application.xml

 
Asia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
thanks,
RG
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic