[jboss-user] [EJB 3.0] - EJB3 session beans can't have a remove() method?

norman.richards@jboss.com do-not-reply at jboss.com
Mon Nov 13 18:07:29 EST 2006


I was helping someone with an application that has a stateful session bean with a remove() method with the following signature:

String remove();

(this is an action method on backing bean in a seam application)

This failed because JBoss tries to create a proxy for the object using the EJBLocalObject interface, which declares void remove().   

My question is this: is JBoss doing the right thing here?  Are EJB3 session beans supposed to be limited by the EJBLocalObject interface?   To me this seems like a bug in our implementation, but perhaps it is the intention of the EJB3 spec?  

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

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



More information about the jboss-user mailing list