[Design of POJO Server] - Re: xml persistent format for attachments
by scott.stark@jboss.org
"emuckenhuber" wrote :
| Concerning unmarshalling of the persisted attachment i think we can try to rebuild the ManagedObject
| from the metadata and due to this WritethroughManagedProperty we actually should be able to directly reuse the attachment.
| Most probably there are some ManagementProperty annotations missing in some parts (e.g. ServiceMetaData)
| to persist and restore everything needed, as i'm currently only planning to persist ViewUse.CONFIGURATION only.
|
| But maybe we want to do the delta thing later on and see how far we can get with restoring the attachment that way?
| As it should not require changes to the persistence format itself.
|
I'm not really following. You have the marshalled form of the ManagedObject and build it back up, to apply to the deployment attachment or are you talking about something else?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191057#4191057
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191057
17 years, 4 months
[Design of POJO Server] - Re: xml persistent format for attachments
by emuckenhuber
"scott.stark(a)jboss.org" wrote : Also, if we are only persisting the managed object view of the attachment, it won't be a predetermined attachment any longer. Its a delta against the original transient managed attachment, so we would have to integrate the change in a PRE_REAL deployer. Not that this is a big issue, but there is no authoritative view of the metadata out on disk somewhere.
|
Concerning unmarshalling of the persisted attachment i think we can try to rebuild the ManagedObject
from the metadata and due to this WritethroughManagedProperty we actually should be able to directly reuse the attachment.
Most probably there are some ManagementProperty annotations missing in some parts (e.g. ServiceMetaData)
to persist and restore everything needed, as i'm currently only planning to persist ViewUse.CONFIGURATION only.
But maybe we want to do the delta thing later on and see how far we can get with restoring the attachment that way?
As it should not require changes to the persistence format itself.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191049#4191049
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191049
17 years, 4 months