I took a quick look at
http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler
Not bad, but it still needs managed beans which is managed via a .xml
file or annotations.
I'm suggesting something that doesn't even need that ...
the caveat is that my soln uses a name-design pattern (which might not
be a caveat)

Cheers,
Henry

On Jan 23, 2:16 am, olivier nouguier <[email protected]>
wrote:
> Hi
>  It's quite easy to implement a GWT dispatcher. At least with spring, then
> use autoscan feature:
>  http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler
> HIH
>
>
>
> On Fri, Jan 22, 2010 at 7:13 PM, Henry <[email protected]> wrote:
> > So far,
>
> > I found there are a few ways to redirect your serviceimpl, namley
> > 1) logic in web.xml
> > 2) gwt-dispatch
> > 3) various framework plugins (for struts, jsf)
>
> > But each of these solns above require you to edit a config file (or
> > modify a java file with guice)
> > everytime you add a new serviceimpl.
> > Would it be possible to have an auto-config, so that if you follow the
> > standard naming
> > convention of
> > XXXService.java
> > XXXServiceAsync.java
> > XXXServiceImpl.java
>
> > that you won't have to add any more configurations.
> > i.e.
> > the service endpoint is something like
> > /gwt/GwtNameDispatcher
>
> > and GwtNameDispatcher is written so that it invokes the respective
> > ServiceImpl
> > w/o reading any configs files.  GwtNameDispatcher knows which
> > ServiceImpl to invoke
> > based upon what Service object was passed in the GWT-RPC post param.
> > The caveat is that you must follow the
> > XXXService.java
> > XXXServiceAsync.java
> > XXXServiceImpl.java
> > pattern, but if I write such a GwtNameDispatcher beast, would this be
> > useful
> > to the GWT community?
> > Is there a better soln?
>
> > Cheers,
> > Henry
>
> > --
> > 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]<google-web-toolkit%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> A coward is incapable of exhibiting love; it is the prerogative of the
> brave.
> --
> Mohandas Gandhi

-- 
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