Hi!
I found the very simple reason for the above code not to work: The
@PostActivate and @PrePassivate is only being run for Stateful Session Beans.
Changing them to @PostConstruct and @PreDestroy everything works!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
Hi
This works:
| @Remote @Stateless @WebService
| public class CalculatorService1 implements Calculator {
|
| @WebMethod
| public int add(int a, int b) {
| Calculator c = new CalculatorImpl();
| int result = c.add( a, b );
| return res
Hi!
I have *exactly* the same problem. Do you have a solution meanwhile?
...darko
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899817#3899817
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899817
-