Guice 3 and Netty 4 Sample Project
- Guice 3.0
- Guava (Latest release)
- Netty 4.0.23.Final
- JUnit 4.10
- Java 7
- Maven 3
- Open
pom.xml
file and modify thenetty.hostname
andnetty.port
properties - Default values are
localhost:8080
- Make a jar package in
target
folder withmvn clean package
Run the jar fromtarget
folder withjava -jar guice-netty-bootstrap <hostname> <port>
- Run the Application with
mvn exec:java
- Run
telnet localhost 8080
- To stop the server press
Ctrl + C
on the Server Terminal and any Client will drop.
- Work In progress