GWT and Spring

85 views
Skip to first unread message

jose felix estevez

unread,
Aug 1, 2011, 11:58:43 AM8/1/11
to Google Web Toolkit
buenas amigos soy nuevo en esto de gwt y me gustaria integrar gwt con
spring alguna ayuda

Gal Dolber

unread,
Aug 1, 2011, 8:22:46 PM8/1/11
to google-we...@googlegroups.com
Buenas, bienvenido! 

No use nunca spring, pero parece haber mucha informacion al respecto, este el primer proyecto que aparece: 

Saludos

On Mon, Aug 1, 2011 at 12:58 PM, jose felix estevez <josef...@gmail.com> wrote:
buenas amigos soy nuevo en esto de gwt y me gustaria integrar gwt con
spring alguna ayuda

--
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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/




jose felix estevez

unread,
Aug 1, 2011, 8:26:01 PM8/1/11
to google-we...@googlegroups.com
wow gracias amigo por responder tan rapido.
Jose F.Estevez H.
T.S.U. en Analisis y Diseño de Sistemas
Consultor Staff I
Tecnology Consulting Solutions - TCS


Juan Pablo Gardella

unread,
Aug 1, 2011, 9:16:47 PM8/1/11
to google-we...@googlegroups.com
Hola José

Bienvenido a la comunidad. Yo te puedo recomendar que veas el siguiente prototipo:

https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home

Si bien es un poco avanzado porque tiene varios frameworks, te puede servir de guía.

Saludos,
Juan

2011/8/1 jose felix estevez <josef...@gmail.com>

jose felix estevez

unread,
Aug 2, 2011, 2:43:10 PM8/2/11
to google-we...@googlegroups.com
gracias amigo toda ayuda es bien recibida. saludos.

2011/8/1 Juan Pablo Gardella <gardella...@gmail.com>

Jeff Larsen

unread,
Aug 2, 2011, 3:39:22 PM8/2/11
to google-we...@googlegroups.com
Si estas interesante en usando RequestFactory, es facil usar Spring con RequestFactory en 2.4-RC.

Hacer un class se llama SpringServiceLocator

public class SpringServiceLocator implements ServiceLocator {

    public Object getInstance(Class<?> arg0) {
        ApplicationContext ctx = WebApplicationContextUtils
                .getWebApplicationContext(RequestFactoryServlet.getThreadLocalServletContext());
        return ctx.getBean(arg0);
    }
}

y usarlos en totas sus RequestContext annotations

@Service(value=MyService.class, locator=SpringServiceLocator.class)
public interface MyRequestContext extends RequestContext{
     ....
}

Juan Pablo Gardella

unread,
Aug 2, 2011, 3:45:21 PM8/2/11
to google-we...@googlegroups.com
Thanks Jeff!!

2011/8/2 Jeff Larsen <lars...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
Reply all
Reply to author
Forward
0 new messages