-
Sep 24th, 2010, 05:18 AM
#1
GWT RequestFactory: how expose spring beans??
Hi
How can I expose an spring bean as a gwt RequestFactory service?
For what I saw it's quite easy to expose an static method of an arbitrary class
but for @Instance methods it looks that the RequestFactoryServlet is expecting the remote object to be an @Entity to be loaded by its id...
can any other objects that are not an @Entity be exposed as remote services?
it could be ok a new service instance that was maked as @Configurable, but is it posible to expose an spring singleton bean as a requestfactory service?
Regards
Ivan
-
Sep 24th, 2010, 11:11 AM
#2
Currently there is no support for that. You either have to expose your methods as static or it must be an Entity if you use the @Instance annotation. There will be support for arbitrary service object added. If it does not make it into the GA release it will be added in a point release that should come out pretty quickly after the GA release.
https://jira.springsource.org/browse/ROO-1186
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules