Skip to content
Guice 3 and Netty 4 Sample Project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src added server parameters, plugin to run the app, logging on NettyServer Sep 16, 2014
.gitignore
LICENSE
README.md
pom.xml

README.md

guice-netty-bootstrap

Guice 3 and Netty 4 Sample Project

Dependencies included

  • Guice 3.0
  • Guava (Latest release)
  • Netty 4.0.23.Final
  • JUnit 4.10

Requirements

  • Java 7
  • Maven 3

Configuring Hostname and Port

  • Open pom.xml file and modify the netty.hostname and netty.port properties
  • Default values are localhost:8080

Running with Maven

  • Make a jar package in target folder with mvn clean package
    Run the jar from target folder with java -jar guice-netty-bootstrap <hostname> <port>
  • Run the Application with mvn exec:java

Connect to Server

  • Run telnet localhost 8080
  • To stop the server press Ctrl + C on the Server Terminal and any Client will drop.

Generate Maven Archetype from Project

  • Work In progress
You can’t perform that action at this time.