A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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?
Can i use the return values of finder method directly
Return type of CMR feild only local component interface
question about ejbSelect
The Winners Are
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013