DVC were in the PFD1 of the EJB2.0 spec, but dropped for the PFD2 and final releases.
 
serialization is not cheap, and I suppose you'd be well advised to avoid it if possible, but then again - writing to a database wont be cheap fullstop, so it might be worth doing some perf testing.  The real issue though, is that you cant just get your sql client andread your data.
 
cheers
dim
----- Original Message -----
From: Sunder
Sent: Thursday, February 14, 2002 5:51 AM
Subject: Dependent value classes

 Dependent value classes were introduced in the EJB 2.0 spec. I would like to know if it�s a good idea to use serialized java

Beans mapped to the database columns. That way, one does not need to change the EJB for database changes. All database

Changes can be reflected in the java bean. Of course, the primary key will not be a part of this bean. Are there any drawbacks in doing this??

 

Sunder

Reply via email to