Hi, all,
Investigating the feasibility of the J2EE platform for my needs, I have come upon this theoretical question. Suppose I write and deploy my J2EE application but then there arises the need for me to change the attributes of some object in it.
For example, suppose my app has a certain "ContactPerson" object but a few months after deploying the application and creating hundreds of ContactPerson instances in the database I realize I need to associate a new attribute with each one of them -- like their Internet telephony ID.
In the most basic of terms, then, what is the J2EE capability/procedure for inserting a new field into an already existing application object definition without losing any data associated with its instances but rather supplementing those instances with the new attribute? So, in my example, I wouldn't want lose any existing data stored in my ContactPerson object instances but would want to seamlessly migrate that data to the new, expanded definition of ContactPerson. Any suggestions on how this is done in J2EE?
Thanks in advance,
D. P.
Investigating the feasibility of the J2EE platform for my needs, I have come upon this theoretical question. Suppose I write and deploy my J2EE application but then there arises the need for me to change the attributes of some object in it.
For example, suppose my app has a certain "ContactPerson" object but a few months after deploying the application and creating hundreds of ContactPerson instances in the database I realize I need to associate a new attribute with each one of them -- like their Internet telephony ID.
In the most basic of terms, then, what is the J2EE capability/procedure for inserting a new field into an already existing application object definition without losing any data associated with its instances but rather supplementing those instances with the new attribute? So, in my example, I wouldn't want lose any existing data stored in my ContactPerson object instances but would want to seamlessly migrate that data to the new, expanded definition of ContactPerson. Any suggestions on how this is done in J2EE?
Thanks in advance,
D. P.