Tuesday, October 14, 2014

Re: Vraptor 3.5.2 + RequestFactory Gwt

AFAICT, VRaptor uses CDI, and CDI isn't that different from Guice; which means you should be able to use https://github.com/tbroyer/gwt-maven-archetypes/tree/master/guice-rf-activities/src/main/resources/archetype-resources/__rootArtifactId__-server/src/main/java as an inspiration (replace Guice's Injector with CDI's BeanManager).

(BTW, thanks Google for the Portuguese → English translation)

On Tuesday, October 14, 2014 3:28:59 PM UTC+2, Thiago borges martins wrote:
Boa tarde Amigos,

Estou integrando Vraptor com o GWT e tenho algumas duvidas em relação a forma de fazer a ligação através do RequestFactory.

No RequestFactory tem a interface ServiceLocator que serve para fazer a ligação entre com o serviço do lado java. Já trabalhei com EBJ3 do lado do java onde fazemos a implementação usando o InitialContext.doLookup( "java:global/ejb/" + clazz.getSimpleName() ).

Gostaria de saber como posso fazer essa mesma chamada usando o VRaptor.

Alguém poderia me ajudar?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment