Still it doesn't answer to my question...I understand that an entity
bean can be shared beetween different clients, but if I have to change
something in the database (and reflecting the changes on some
entities) I need to recompile these entitites and to deploy them to
all the users...this can be very annoying, don't you think? I mean,
maybe a better scenario is when I have a web application where all the
stuff is deployed in the same application server (therefore in the
same VM as well). Or am I not grabbing something about this
technology? Is that true that I have to deploy all the entities .class
files to all the clients every time I need to change something on my
data?
Thank you for your help
Cold
Per Newgro - 08 Feb 2007 09:55 GMT
Hallo cold80@libero.it,
> Still it doesn't answer to my question...I understand that an entity
> bean can be shared beetween different clients, but if I have to change
[quoted text clipped - 7 lines]
> files to all the clients every time I need to change something on my
> data?
It depends. If your bean don't care about the datamodel (is generic) it's
not required. But normally yes (in bean for BMT or in deployment descriptor
for CMT). Do you change your data model periodically often? Otherwise if
you change it maybe 2 times a year the delivery of a new version seems not
a big problem to be for me.
There is a feature called hot deployment. This manages the new deployments
on customer side. So normally its enough to build a good installer without
restarting the server.
Cheers
Per