This project is a sample application created for the Eclipse DemoCamp Luna 2014 in Hamburg/Braunschweig.
https://wiki.eclipse.org/Eclipse_DemoCamps_Luna_2014/Hamburg https://wiki.eclipse.org/Eclipse_DemoCamps_Luna_2014/Braunschweig
Prerequisites:
- Maven 3.1
- Java JDK 1.7
- Tomcat 7
Step by step:
- Install Eclipse IDE for Java EE Developers, at least 3.8
- Download/clone this project osgi-rest-demo to an arbitrary location
- Import all projects into a new workspace
- File / Import / Existing Maven Projects
- Import from directory osgi-rest-demo
- Select all Maven projects found
- Press Finish
- Make sure a Java 1.7 Environment is configured
- Build the project on the command line via
mvn clean package
- Refresh projects in workspace
- Right click on project de.alichs.osgi.restdemo.webapp / Run as / Run on Server
- If not yet done, follow the instructions to configure your Tomcat 7
- Launch http://localhost:8080/de.alichs.osgi.restdemo.webapp/api for investigating the REST API
- Launch http://localhost:8080/de.alichs.osgi.restdemo.webapp/system/console/ for accessing the OSGi web console (User: admin, password: admin)
- Pascal Alich, Software Engineer