There is no 'official' way to use Spring with GWT. Both frameworks are extremely flexible and can be
configured in a number of different ways depending upon your application.
If you are referring to SpringROO, then see:
http://www.springsource.org/roo
which has substantial documentation.
However, if you want to use a Spring web-app as the backend for a GWT application, the simplest way
to do it has no impact on the GWT side at all - just build a regular Spring application, and in the
init method of the GWT RPC or Request factory servlet, inject any services by simply retrieving the
service beans from the WebApplicationContext. Its a bit clumsy, but it works and takes about 5 mins
of coding.
There are more elegant ways - many of which are separate o/s projects. GIYF, I suggest. For example,
we use the Spring MVC mechanism and have created a Handler wrapper for the GWT RPC servlet. Works
nicely. I can supply code if requested, but there are other projects out there.
HTH
Alan
On 2/24/2011 11:48 AM, lascarayf wrote:
Why GWT team do not make a OFFICIAL GWT SPRING INTEGRATION
DOCUMENT??????
--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.com
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.