is it possible to integrate PersistentUnit annotations in RequestFactoryServlet?

25 views
Skip to first unread message

Elhanan

unread,
Sep 15, 2011, 7:56:46 AM9/15/11
to google-we...@googlegroups.com
so far rpc's give me the jee standard of DI injection, but RequestFactoryServlet is closed, so i can't really place anything.

and i can't use GIN,guice or spring..

Jens

unread,
Sep 15, 2011, 10:20:44 AM9/15/11
to google-we...@googlegroups.com
You can use guice with RequestFactory: http://wanderingcanadian.posterous.com/guiced-up-gwt-requestfactory

-- J.

Elhanan Maayan

unread,
Sep 16, 2011, 4:17:51 AM9/16/11
to google-we...@googlegroups.com
i know i CAN use guice, but i CAN't use it, becouse our CTO is against integrating anything else aside from GWT (yea i know using GWT alone is an anti-pattern, but he doesn't want any added risks, hell he won't let us even use Activity places)
so i was wondering if there is any underlying mechanism i can tap into. something that would retrieve a name maybe from the servlet web.xml and i'd be able to somehow use it in my api.

On Thu, Sep 15, 2011 at 5:20 PM, Jens <jens.ne...@gmail.com> wrote:
You can use guice with RequestFactory: http://wanderingcanadian.posterous.com/guiced-up-gwt-requestfactory

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6YEPMo8CcXUJ.

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.

Reply all
Reply to author
Forward
0 new messages