Empros is Event Management and Processing System. Empros runs on a Servlet container which supports Servlet 3.0.
Empros project provides a server and client(agent) component.
Empros server component is provided as WAR component to run on Servlet 3.0 container. You can deploy the war file on your application server. If you want to try it easily, just run the following command:
$ mvn install
$ cd empros-war
$ mvn tomcat7:run
$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
-X POST -d "{\"aaa\":1,\"bbb\":2}"
or
$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
-X POST -d "[{\"aaa\":1,\"bbb\":2}]"
$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
-X POST -d "[{\"aaa\":1,\"bbb\":2,\"ccc\":{\"ddd\":3,\"eee\":4}}]"
$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
-X POST -d "[{\"aaa\":1,\"bbb\":2},{\"ccc\":\"CCC\",\"ddd\":\"DDD\"}]"
- Java 11
- Eclipse (m2e, m2e-wtp, Spring Tool Suite)
- Maven 3