| Author |
Return type of remote component interface?Does it required Serilizable object?
|
vijay Mamilla
Ranch Hand
Joined: Dec 29, 2004
Posts: 94
|
|
Consider a Customer class which doesn't implement the java.io.Serializable or java.rmi.server.UnicastRemoteObject interface. The Customer object can be defined as a return type of a method defined in the remote component interface of a session or entity bean? Thanks, Vijay
|
 |
David McDonagh
Greenhorn
Joined: Feb 13, 2004
Posts: 19
|
|
|
Arguments and return types for Remote home interface methods must be legal RMI-IIOP types (Serializable, primitive, Remote, collections or arrays .... etc. So I don't think the example you gave is legal.
|
 |
 |
|
|
subject: Return type of remote component interface?Does it required Serilizable object?
|
|
|