This content has been marked as final.
Show 3 replies
-
1. Re: Issue with Injecting SessionContext in SLSB
tremes Apr 27, 2015 4:24 AM (in response to valsaraj007)Hi,
I think there is no implicit CDI bean for SessionContext type therefore the unsatisfied dependency exception or do you have some CDi producer for this?
-
2. Re: Issue with Injecting SessionContext in SLSB
wdfink Apr 27, 2015 5:42 AM (in response to valsaraj007)1 of 1 people found this helpfulWhat server version do you use?
@Inject is not unified and there might be different issues, I hope that this will be better with the next specification
For the SessionContext in an EJB you should use @Resource annotation.
-
3. Re: Issue with Injecting SessionContext in SLSB
valsaraj007 Apr 27, 2015 6:04 AM (in response to wdfink)Thanks Wolf!
@Resource worked fine.