Google Guice - Extensions: Servlet.
Guice integration with servlets.
Here is the list of declaration for guice-servlet. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-servlet</artifactId> <version>2.0</version> </dependency>
If you think this Maven repository POM file listing for guice-servlet is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following packages are defined in the guice-servlet-2.0.jar
com.google.inject.servlet
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.inject.extensions</groupId> <artifactId>extensions-parent</artifactId> <version>2.0</version> </parent> <artifactId>guice-servlet</artifactId> <packaging>jar</packaging> <name>Google Guice - Extensions: Servlet</name> <description>Guice integration with servlets</description> <!-- Note: this pom is for dependency management only. It will not build the project --> <dependencies> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </dependency> </dependencies> </project>