[jboss-user] [EJB 3.0] - Re: Cannot get my first EJB 3.0 to work!!!

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Aug 29 11:11:40 EDT 2006


do like this

@Remote
public interface Count
{
public int count();
public void set(int val);
public void remove();
}


@Stateful(name = "CountingBean")
public class CountBean implements Count
{
...........
} 




Then add the interceptors back.


You missed the annotation on the interface.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968106#3968106

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968106



More information about the jboss-user mailing list