what about adding a initialize(...) method that your EJB calls before returning
it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084461#4084461
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084461
Either create a method which initializes the bean:
@Init void create(int state)
| {
|this.state = state;
| }
Put that same method in you business interface. Note that the @Init is actually
meant for use with an EJB 2.1 client view.
Or if you want a reference to the current bean:
have you tried @PostConstruct ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083991#4083991
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083991
___
jboss-user mailing list
Yes. The problem is how do I create a remote reference to an EJB passing an
argument. A JNDI lookup, as I am doing now, doesn't allow that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084152#4084152
Reply to the post :