I have the following interface and bean
userProfile.java //interface
userProfileBean.java //implementation
and i do the following from a servlet
private userProfile UserProfile;
Context context = new InitialContext();
UserProfile = (userProfile)context.lookup(userProfileBean/remote);
It works
We have an EAR deployed on AS 4.2.1
In the webapp (war-archive), we need to access an SLSB (EJB3).
MyBeanLocal bean = (MyBeanLocal) context.lookup(java:comp/env/ejb);
But this context is not existing! How comes?
We can access the Bean-proxy using JNDI-path myapp/MyBean/local, but this
object
Hello,
I have a problem with injection of WebServiceContext.
| @Resource()
| WebServiceContext wsCtx;
|
| MessageContext context = wsCtx.getMessageContext();
| Map attachments = (Map)
context.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS) ;
|
wsCtx is always null. I'm using