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

Ask Your Question
0

POJOs should implements Externalizable?

Hi,

We are using DocumentProperties (DP) to model our POJOs (Most of the POJO attributes are defined as an entry within the DP in order to have an easy schema evolution with backward compatibility).

It is possible to know how the DocumentProperties implements the write/read method from the Externalizable interface?

Is it recomended to implements the Externalizable interface on all the POJOs with the new versions? Does GS ignores the POJO Externilizable implemententation? Any recomendation/advice?

http://docs.gigaspaces.com/release_no...

Environment: XAP 10.2.0 with Java 8

Thanks in advance,

Manuel Vieda

asked 2015-10-13 17:33:15 -0500

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Space classes by default ignore the Externalizable implementation. Any other user defined classes used as within space classes as fields or DP or Space Documents key values implementing Externalizable are absolutely NOT ignored - in fact it is highly recommended to implement Externalizable for these for optimal serialization.

answered 2015-10-14 05:17:14 -0500

shay hassidim gravatar image
edit flag offensive delete link more

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: 2015-10-13 17:33:15 -0500

Seen: 426 times

Last updated: Oct 14 '15