Table of Contents |
---|
Install OpenESB SE
Download and extract the archive from http://build.open-esb.net:8080/jenkins/job/openesb-standalone/lastSuccessfulBuild/artifact/openesb-standalone-packaging/target/
Install REST services
Download REST services extension from http://build.open-esb.net:8080/jenkins/job/openesb-rest-services/lastSuccessfulBuild/artifact/target/ and copy it into ${OE_HOME}/lib
Next, you need Grizzly and Jersey libraries :
Code Block |
---|
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-grizzly2-servlet</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>2.1</version>
</dependency> |
And copy all the libraries into ${OE_HOME}/lib/ext
Start REST services
REST services are automatically exposed when you're starting OpenESB SE.
All is good when you see the following lines in your console :
Code Block | ||
---|---|---|
| ||
août 07, 2013 10:44:29 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.1 2013-07-18 18:14:16...
août 07, 2013 10:44:29 AM org.glassfish.grizzly.http.server.NetworkListener start
INFO: Started listener bound to [localhost:4848]
août 07, 2013 10:44:29 AM org.glassfish.grizzly.http.server.HttpServer start
INFO: [HttpServer] Started.
Jersey app started with WADL available at http://localhost:4848/openesb/application.wadl |
Now you can take a look to the WADL at http://localhost:4848/openesb/application.wadl or use a REST client to use services.