Using Google Guice in web applications can raise some issues. First of all when we talk about web applications we talk about servlets and we talk about managed environments. The creation of servlets in not controlled by us, when we write the application, it is controlled by the web application container. This generates some problems:
- [...]
04 Aug
Posted by: admin in: Java, java snippets, java web apps
There are two options to store parameters in web.xml:
- context parameters – available to the entire scope of the web application
- init parameters – available in the context of a servlet or filter in the web application
Context Parameters