[jboss-user] [Installation, Configuration & DEPLOYMENT] - RMI argument in EJB method
moskvach
do-not-reply at jboss.com
Tue Jul 17 06:05:55 EDT 2007
I'm beginner in j2EE, but i suppose that all I do is correct :)
JBoss 4.0.5 throws exception for RMI argument in my EJB method during deploying of my application.
| 12:59:41,260 WARN [verifier] EJB spec violation:
| Bean : AccountSessionEJB
| Method : public abstract boolean addAccount(Account) throws RemoteException
| Section: 7.11.5
| Warning: The method arguments in the remote interface must be of valid types for RMI/IIOP.
|
RMI Interface looks like:
| public interface AccountSession extends EJBObject {
| public boolean addAccount(Account ac) throws RemoteException;
| }
|
defining ot type:
| import java.rmi.Remote;
| public class Account implements Remote {
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064924#4064924
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064924
More information about the jboss-user
mailing list