• Post Reply Bookmark Topic Watch Topic
  • New Topic

Injecting statefuel session bean inside servlet

 
Ramy Nady
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

As I have checked , to use statefuel session bean inside stateless session bean of servlet , I have to JNDI lookup using initial context or session context.
I.e initContext.lookup().

Can I inject statefuel session reference using Dependency Injection
I.e @EJB ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!