I thought dependent classes didnt make it, instead local interfaces did. Anyways, one disadvantage is you can't offload the queries to the database. Another might be the cost of serializing/deserializing the objects.

_________________________________________
 
Tinou Bao
BAO Systems
Chairman of the Board and Chief Software Architect
www.baosys.com
----- Original Message -----
From: Sunder
Sent: Wednesday, February 13, 2002 10:51 AM
Subject: [EJB-INT] 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