Remote Guice

4 views
Skip to first unread message

Aleksey Didik

unread,
May 4, 2009, 11:28:24 AM5/4/09
to guiceyfruit
Hello all,

What do you think about remote access to Guice injector?
Like JBoss and other J2EE-containers?
IMHO it could be very lightweight and simple remote container for apps
where we don't need too heavy and big JBoss.
No stateless and stateful beans, only Guice POJOs. No EJB 3.0
specification, but something like this:

Injector injector = new RemoteInjector("host", 1099);
Foo foo = injector.getInstance(Foo.class);

What do you think?

Best regards,
Aleksey.










James Strachan

unread,
May 22, 2009, 5:08:16 AM5/22/09
to guice...@googlegroups.com
2009/5/4 Aleksey Didik <alekse...@gmail.com>:
>
> Hello all,

Hi - sorry I missed this mail!

Just to check I understand your use case - you want to grab a local
client side proxy to a remotely created object? I guess it would be a
nice simple alternative to using EJBs and so forth. Though shouldn't
the client side proxy be injected?

Sounds fine to me though if its useful for you!

I guess generally speaking, you could just create a Provider to create
the local client proxy; maybe some helper method would let you easily
bind a number of types to their client proxy?

--
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply all
Reply to author
Forward
0 new messages