This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can EJB be used not as service from OSGi bundle  RSS feed

Pasha Turok
Posts: 5
  • 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
Boost this thread!