Asgeir Frimannsson
2010-04-14 00:37:56 UTC
Hi all,
so that I can send POJOs generated by frameworks which doesn't know
about Errai (but still follow GWT RPC serialization rules)?
If not, would it be possible to get rid of it? ;-)
For instance, by e.g.:
a) Following a similar 'white-list' approach that GWT uses, or
b) Define an annotation where I could add my exposed entities, such as
@ExposedEntities({
MyPOJO.class
MyOtherPojo.class
})
Any hints or approaches appreciated!
cheers,
asgeir
From the documentation, one of the requirements for serialization is
the use of an @ExposeEntity annotation. Is there any ways around this,so that I can send POJOs generated by frameworks which doesn't know
about Errai (but still follow GWT RPC serialization rules)?
If not, would it be possible to get rid of it? ;-)
For instance, by e.g.:
a) Following a similar 'white-list' approach that GWT uses, or
b) Define an annotation where I could add my exposed entities, such as
@ExposedEntities({
MyPOJO.class
MyOtherPojo.class
})
Any hints or approaches appreciated!
cheers,
asgeir