aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Return type of  remote component interface?Does it required Serilizable object? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "Return type of  remote component interface?Does it required Serilizable object?" Watch "Return type of  remote component interface?Does it required Serilizable object?" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Return type of remote component interface?Does it required Serilizable object?
 
Similar Threads
Can i use the return values of finder method directly
deployment error
Return type of CMR feild only local component interface
question about ejbSelect
The Winners Are