Okay, here's some more detail on the problem I'm having. To give a
little background and make this clearer, my application is used to keep
track of ideas and categorize them. The bean that is giving me a
problem is for an Idea. When I create an Idea I want to associate it
with a give category, so I pass in a reference to the remote interface
of the Category.
The IdeaBean looks something like this:
public class IdeaBean implements EntityBean {
public Integer ideaId;
public java.sql.Date dateCreated;
public String userName;
public Category category;
public String ideaName;
public String ideaDesc;
private static DataSource ds;
public Integer ejbCreate (String userName, Category category,
String ideaName, String ideaDesc) throws CreateException {
...
}
}
Now, Category is a remote interface for another Entity Bean that looks
like this:
public interface Category extends EJBObject {
public User getUser ();
public void setUser (User user);
public String getCategory ();
public void setCategory (String category);
}
The error I get looks like this:
[Verifier]
Bean : Idea
Method : public Integer ejbCreate(String, Category, String, String)
throws CreateException
Section: 9.2.3
Warning: The method arguments of an ejbCreate(...) method must be legal
types for RMI/IIOP.
It looks to me like everything is just fine here but JBoss is definitely
not happy with it.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]