Why do you name it GWTruts? I thought it is a library for integrating
GWT with Struts first because I am looking for a library that can
integrate Strut 1 with GWT. Now I realize it is for Spring. I will
definitely try it so see I can integrate your library with Dreamsource
ORM.

Good Job.


Jim
http://www.gwtorm.com
http://code.google.com/p/dreamsource-orm/

On May 14, 3:14 am, Reza  Alavi <rezaal...@gmail.com> wrote:
> GWTruts-0.8-Final is finally out.
>
> The most important feature in this release is the ability to have
> controllers inside spring as normal spring beans.
> This feature omits the need to work with RPC in Spring base
> solutions.
> Anytime GWT clients wants to work with server it "navigates" to the
> spring based controller.The controller then fill the model based on
> the post values and calls the next view inside the client-side code.
>
> This schema is a possible scenario:
>
> A spring based controller is called --> It calls an injected spring
> based service
> --> Controller puts the result in the model --> controller returns a
> ModelAndView that has the name of next view
> --> A view with that name (inside gwt client) is called  and the model
> is passed.
>
> A Simple Controller in spring might look like this:
>
> public class MyController extends BasicController{
>
>     private HelloService helloService;
>
>     @Override
>     public ModelAndView handleRequest(Map post, Map sharedModel) {
>
>         model.put("sayWhat", helloService.getSayWhat());
>         return new ModelAndView("nextViewName",model);
>     }
>
>     public void setHelloService (HelloService helloService) …
>     public HelloService getHelloService() …
>
> }
>
> And the spring configuration:
> <bean id="myController"
> class="com.yourcompany.webapp.controller.MyController"
> autowire="byName"/>
>
> This release was in Beta for more than 2 months and it is production
> ready.
>
> For more information please 
> visit:http://apps.sourceforge.net/trac/gwtruts/wiki
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to