Richard,
Correct me if I'm wrong... but wouldn't the lack of support
for Serializable types make the implementation non-compliant
with the EJB spec? Can you list the servers which do not
support graphs of Serializable objects?
I looked at your PBV paper... and it has some interesting
ideas. I don't think that atomicity and immutability are
absolutely necessary, but I agree with the dependent and
fine-grained criteria. You should be able to specify as
complex a data/view model as required. And clients should
be able to update the objects and send them back to the
server (not in all cases, but when it makes sense).
-eric
Richard Monson-Haefel wrote:
>
> Personally I think this issue about passing partial object graphs is
> irrelevant in some ways. Two issues come to mind:
>
> First not all CORBA implementations of EJB support Java serializable types,
> most allow standard CORBA structs but not PBV as we are used to in Java RMI.
> In these cases you have to develop your PBV objects to be very simple with
> public attributes so that it can double as CORBA structs if necessary.
>
> Second, PBV should be done with care. I have outlined some ground rules for
> PBV in a paper I submitted to the EJB workshop
> (http://www.inprise.com/events/ejbdesign/submissions/Pass-by-Value.html).
> Generally, PBV is a bad idea in Component Transaction Monitor (CTM)
> applications because of problems with object equivalence and performance.
> You can use PBV as described in my paper, but anything more complicated will
> cause problems in the long run.
>
> You can't design EJB solutions like business object systems because you are
> dealing with solutions that span address spaces. Your approach needs to be
> completely different stressing the use of session beans to manage workflow
> and act as an interface to your clients (applets, servlets, etc.), and
> limited use of entity beans on the client. Entity bean should focus on
> consistent and safe access to related data.
>
> There is a lot more to this than meets the eye and there is no way I can
> cover it all in an e-mail - a book maybe.
>
> Thanks,
>
> Richard
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".