Johannes,
yes, this is no problem, see http://code.google.com/p/wicket-guice-jaxws/
Bas
----- Original Message -----
From: "Johannes Schneider" <maili...@cedarsoft.com>
To: <users@wicket.apache.org>
Sent: Thursday, September 02, 2010 3:58 PM
Subject: Wicket + Guice + other framework (e.g. Jersey)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi guys,
I have created a webapp based on Wicket. This app uses the GuiceFilter.
And I have also created a REST API for my application using Jersey. It
is also using Guice.
Both applications run fine in different contexts.
Now I'd like to run both apps within one application (one Guice
injector, one of my business objects) so that they can share all those
memory intensive stuff.
Has anybody done this? I think it should be doable, shouldn't it? But I
really don't have an idea how I could share the modules.
Injection: The both webapps share several of their modules, but not all.
I think this can be solved using child injectors?
Prefix: I'd like to have one prefix (e.g. "api") that is used for that
Jersey stuff. Can this be done transparently?
Anybody done something like that? Any hints?
Thanks,
Johannes
- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBAgAGBQJMf62LAAoJEAytD9R7Qv6dGI4IAM1G2062SJRDbmN2vCSvl2Fq
vLXLumqDBOD4MBxWW+9WakRBF8Jfc0Zf+ziPsb0pAlTK+ioVORoXYUsfRmdbnnFq
1ZPOEDD9Q+rzBN1gFrsZbO5XHlBKMwkmVSDcggImdHaS513ns5mVEuSrjWeNdmyR
VwxqUwtuLt4wAoMV2pHyXGjXtT7x4EsEVCPOl1gN1r0gd99GdKl8wGgSY0kvCQoR
N92G8ncqZSMJfh2wolWEWBO+JguL/GUqSYVJkgC/NVGD7AkB5EchF9QU5slSbt/x
iH7Q5AuKBf3++EiWuBVjbOgHnonL0oJZ7veQUm/bS4KZHx2Fa4rA9aQVsZzcbv8=
=8Ykg
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org