Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
diff --git a/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServer.java b/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServer.java
new file mode 100644
index 0000000..1ec7739
--- /dev/null
+++ b/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServer.java
@@ -0,0 +1,38 @@
+package org.onlab.onos.foo;
+
+import java.io.IOException;
+
+import org.jboss.netty.handler.logging.LoggingHandler;
+import org.onlab.netty.EchoHandler;
+import org.onlab.netty.KryoSerializer;
+import org.onlab.netty.NettyMessagingService;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Test to measure Messaging performance.
+ */
+    public class SimpleNettyServer {
+        private static Logger log = LoggerFactory.getLogger(IOLoopTestServer.class);
+
+            private SimpleNettyServer() {}
+
+            public static void main(String... args) throws Exception {
+                startStandalone(args);
+                System.exit(0);
+            }
+
+        public static void startStandalone(String[] args) throws IOException {
+                NettyMessagingService server = new NettyMessagingService(8080);
+            try {
+                server.activate();
+            } catch (Exception e) {
+                e.printStackTrace();
+            }
+            server.setSerializer(new KryoSerializer());
+                    server.registerHandler("simple",
+                        (org.onlab.netty.MessageHandler) new LoggingHandler());
+                server.registerHandler("echo", new EchoHandler());
+        }
+    }
+
diff --git a/pom.xml b/pom.xml
index 9d7edfe..ad4ddcb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,6 +69,13 @@
 
             <dependency>
                 <groupId>org.slf4j</groupId>
+                <artifactId>slf4j-core</artifactId>
+                <version>1.7.6</version>
+                <scope>test</scope>
+            </dependency>
+
+            <dependency>
+                <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-jdk14</artifactId>
                 <version>1.7.6</version>
                 <scope>test</scope>