Re: Integrating Wicket + Google Guice + Warp-persistence
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 : > No comments? > > On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes 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-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
Re: Integrating Wicket + Google Guice + Warp-persistence
first! -igor On Tue, Apr 7, 2009 at 10:46 AM, Eduardo Nunes wrote: > No comments? > > On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes 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-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
Re: Integrating Wicket + Google Guice + Warp-persistence
No comments? On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes 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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org