I'm not using the ejb like entity associated to the DB, may it be the problem?
Then, how can I get the sessionContext?
"The container calls the setSessionContext() method after the instance
creation". Maybe not works.
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&
yes, thats true.
But my problem is that i want to get the sessionContext from the Controller of
my application. I put that code into the bean to reference:
@Stateless
public class ProcessPaymentBean implements ProcessPaymentLocal{
@Resource SessionContect sessionContext;
//private SessionContext
"beherenow" wrote : That's right but..
|
| How do you get the current sessionContext?
There's a callback method setSessionContext which gets called by the container.
See this for more details
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/ejb/SessionBean.html#setSessionContext(javax.ej
That's right but..
How do you get the current sessionContext?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142324#4142324
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142324
hey, thanks alot!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962360#3962360
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962360
___
jboss-user mailing list
jboss-user@li
String user = sessionCtx.getCallerPrincipal().getName()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962176#3962176
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962176
__