You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Eduardo Nunes <es...@gmail.com> on 2009/04/07 15:05:10 UTC
Integrating Wicket + Google Guice + Warp-persistence
Hi there,
After a long period of reading, now I'm starting to code my
application using these frameworks: Wicket, Google Guice and
Warp-persistence. I facet a conceptual problem (IMHO) about how
initialize google guice. I read a lot of source codes on the internet
and most of them, if not all, initialize Google Guice and
Warp-persistence inside the WicketApplication class (extends
WebApplication). I think it isn't a good thing, because in the
conceptual point of view google guice doesn't have direct relation to
wicket. So, I started to find a good solution for this problem.
My solution consists in use Google Guice servlet extension. I think
that sometimes a source code says more than a thousand words ehehe,
below are the pastbin links for all envolved files. What I want from
you is a feedback, suggestions, improvements, critics, etc...
Files:
- web.xml
http://pastebin.com/f576189de
- GuiceServletContextListener
http://pastebin.com/f6a42d811
- WebModule
http://pastebin.com/f24a797b
- ServiceModule
http://pastebin.com/f6e9db66f
- PersistenceServiceInitializer
http://pastebin.com/f6e4425fd
Maybe, and probably, some parts of the pasted source code are based on
another projects, blogs posts, etc.
Thanks,
Eduardo S. Nunes
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Integrating Wicket + Google Guice + Warp-persistence
Posted by francisco treacy <fr...@gmail.com>.
if conceptually and technically it works for you then it's fine! very
likely some day someone searching the mailing list is going to find it
useful.
francisco
2009/4/7 Eduardo Nunes <es...@gmail.com>:
> No comments?
>
> On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes <es...@gmail.com> wrote:
>> Hi there,
>>
>> After a long period of reading, now I'm starting to code my
>> application using these frameworks: Wicket, Google Guice and
>> Warp-persistence. I facet a conceptual problem (IMHO) about how
>> initialize google guice. I read a lot of source codes on the internet
>> and most of them, if not all, initialize Google Guice and
>> Warp-persistence inside the WicketApplication class (extends
>> WebApplication). I think it isn't a good thing, because in the
>> conceptual point of view google guice doesn't have direct relation to
>> wicket. So, I started to find a good solution for this problem.
>> My solution consists in use Google Guice servlet extension. I think
>> that sometimes a source code says more than a thousand words ehehe,
>> below are the pastbin links for all envolved files. What I want from
>> you is a feedback, suggestions, improvements, critics, etc...
>>
>> Files:
>> - web.xml
>> http://pastebin.com/f576189de
>>
>> - GuiceServletContextListener
>> http://pastebin.com/f6a42d811
>>
>> - WebModule
>> http://pastebin.com/f24a797b
>>
>> - ServiceModule
>> http://pastebin.com/f6e9db66f
>>
>> - PersistenceServiceInitializer
>> http://pastebin.com/f6e4425fd
>>
>> Maybe, and probably, some parts of the pasted source code are based on
>> another projects, blogs posts, etc.
>>
>> Thanks,
>> Eduardo S. Nunes
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Integrating Wicket + Google Guice + Warp-persistence
Posted by Igor Vaynberg <ig...@gmail.com>.
first!
-igor
On Tue, Apr 7, 2009 at 10:46 AM, Eduardo Nunes <es...@gmail.com> wrote:
> No comments?
>
> On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes <es...@gmail.com> wrote:
>> Hi there,
>>
>> After a long period of reading, now I'm starting to code my
>> application using these frameworks: Wicket, Google Guice and
>> Warp-persistence. I facet a conceptual problem (IMHO) about how
>> initialize google guice. I read a lot of source codes on the internet
>> and most of them, if not all, initialize Google Guice and
>> Warp-persistence inside the WicketApplication class (extends
>> WebApplication). I think it isn't a good thing, because in the
>> conceptual point of view google guice doesn't have direct relation to
>> wicket. So, I started to find a good solution for this problem.
>> My solution consists in use Google Guice servlet extension. I think
>> that sometimes a source code says more than a thousand words ehehe,
>> below are the pastbin links for all envolved files. What I want from
>> you is a feedback, suggestions, improvements, critics, etc...
>>
>> Files:
>> - web.xml
>> http://pastebin.com/f576189de
>>
>> - GuiceServletContextListener
>> http://pastebin.com/f6a42d811
>>
>> - WebModule
>> http://pastebin.com/f24a797b
>>
>> - ServiceModule
>> http://pastebin.com/f6e9db66f
>>
>> - PersistenceServiceInitializer
>> http://pastebin.com/f6e4425fd
>>
>> Maybe, and probably, some parts of the pasted source code are based on
>> another projects, blogs posts, etc.
>>
>> Thanks,
>> Eduardo S. Nunes
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Integrating Wicket + Google Guice + Warp-persistence
Posted by Eduardo Nunes <es...@gmail.com>.
No comments?
On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes <es...@gmail.com> wrote:
> Hi there,
>
> After a long period of reading, now I'm starting to code my
> application using these frameworks: Wicket, Google Guice and
> Warp-persistence. I facet a conceptual problem (IMHO) about how
> initialize google guice. I read a lot of source codes on the internet
> and most of them, if not all, initialize Google Guice and
> Warp-persistence inside the WicketApplication class (extends
> WebApplication). I think it isn't a good thing, because in the
> conceptual point of view google guice doesn't have direct relation to
> wicket. So, I started to find a good solution for this problem.
> My solution consists in use Google Guice servlet extension. I think
> that sometimes a source code says more than a thousand words ehehe,
> below are the pastbin links for all envolved files. What I want from
> you is a feedback, suggestions, improvements, critics, etc...
>
> Files:
> - web.xml
> http://pastebin.com/f576189de
>
> - GuiceServletContextListener
> http://pastebin.com/f6a42d811
>
> - WebModule
> http://pastebin.com/f24a797b
>
> - ServiceModule
> http://pastebin.com/f6e9db66f
>
> - PersistenceServiceInitializer
> http://pastebin.com/f6e4425fd
>
> Maybe, and probably, some parts of the pasted source code are based on
> another projects, blogs posts, etc.
>
> Thanks,
> Eduardo S. Nunes
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org