File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Return type of remote component interface?Does it required Serilizable object?
Joined: Dec 29, 2004
Jun 02, 2005 08:37:00
Consider a Customer class which doesn't implement the
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?
Joined: Feb 13, 2004
Jun 02, 2005 09:42:00
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:
subject: Return type of remote component interface?Does it required Serilizable object?
Return type of CMR feild only local component interface
question about ejbSelect
The Winners Are
Can i use the return values of finder method directly
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013