File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can EJB be used not as service from OSGi bundle

 
Pasha Turok
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing application with javaee (gf4) and I'm using osgi bundle architecture. Now I'm trying to inject in servlet (bundle1) EJB (bundle2) but I failed. All bundles are at the same domain of GF. I tried to get it via lookup - the same result. In internet I can see a lot of examples how to use EJB as service and I'm little confused. Can't we use EJB as not service? Via @EJB or only as service in this case?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic