Hi Jim,

It wasn't meant to be only for Spring.
At first it started as a MVC framework for GWT, but now the spring
integration is included.

I am investigating the possibility of adding Google Gears for the next
version, but that is just an idea for now.

The idea behind GWTruts is that traditional MVC is good enough to be
used by GWT.

Please let me know if you need any info on how to use GWTruts.



On May 14, 9:26 pm, Jim <[email protected]> wrote:
> 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.
>
> Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/
>
> On May 14, 3:14 am, Reza  Alavi <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to