Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Initial load and space initialization

Hi,

We have persistence configured and when we start the application, the initial load is done. Also, we have a bean with an initialization method that inserts and object into the space. So, if you deploy the application for the first time, you will see the bean that was written by that bean during its initialization.

My question is: if a restore the space from the db and the object that is created by the previous bean was in the database with some particular values, when the space is restored, what is going to be in the space? The object written by the bean or the object loaded from the space?

Thanks,

Diego

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3697]{quote}

asked 2011-06-28 17:02:00 -0500

dgaviola gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

The initial load called before any colocated bean is initialized. This means the bean initialization will override whatever the initial load will be loading into the space. Shay

answered 2011-06-28 21:05:00 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Thanks Shay!

dgaviola gravatar imagedgaviola ( 2011-06-30 07:51:00 -0500 )edit

Thanks Shay!

dgaviola gravatar imagedgaviola ( 2011-06-30 07:53:15 -0500 )edit

Thanks Shay!

dgaviola gravatar imagedgaviola ( 2011-06-30 08:11:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-06-28 17:02:00 -0500

Seen: 51 times

Last updated: Jun 28 '11