I have a REST Service invoking a Stateless EJB and I'm writing test cases for it,
When the service is not a stateless EJB (i.e. doesn't have @Statelss annotation) the test fails, however when I annotate my service with @Stateless the service works fine.
When the test fails a get a WELD-001408 Unsatisfied dependencies exception.
Any clue, what's missing in here?
Not 100% sure i'm following what you mean, could you give code examples ?
Retrieving data ...