• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

How to use Guice in web project?  RSS feed

Ranch Hand
Posts: 37
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use Guice in my web project.
When I first time use Guice , it is with Struts2 and guice works well.
This time, I do not have any web layer framework to be used, I just want to design a simple framework, read configuration from a source and dynamic dispatch each request to different classes.
All my service are injected by Guice, but I do not know how can I start Guice.

all my service classes use @Inject annotation, and I install all modules to an ApplicationModule. But, how can I integrate this with web tier?

He's my best friend. Not yours. Mine. You can have this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!