• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DI Question for .war/.jar

 
Sai Surya
Ranch Hand
Posts: 463
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have a web application and an EJB in a .war and .jar respectively. I deployed them to Glassfish v3 as separate applications instead of in an EAR. When I try to invoke EJB method from servlet I am getting InjectionException and NameNotFoundExceptions. I understand that container not able to find bean instance. In this case, do I need to have any additional vendor specif DD?

Please clarify.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic