I am trying to lookup an EJB within a rar file, from
the Connection class that implements the physical connection?
I get the following a null-pointer exception when using @EJB and
Context context = new InitialContext();
cardStatusService = (CardStatusLocal) context.lookup("java:global/f...");
response.setText(text +" # of card status:" + cardStatusService.total());
Why is this happening?
i am now using wildfly-10.0.0.Final
Please can you point me in the right direction.
Retrieving data ...