Table of Contents

RCP Jetty

RCP - RESTFUL

Embedded Jetty in RCP

Other sources:

If error permission denied when starting jetty:

The solution is to apply this JVM argument on the arguments tab:

-Dorg.osgi.service.http.port=8888 OR
-Dorg.eclipse.equinox.http.jetty.http.port=8888

Embedded Jetty tutorial

There is existing RCP plugin project. Additional projects:

Configure dependencies of existing projects.

Add Jetty server code:



Create Main servlet handler: de.dailab.acs.attack.gui.web.ServletMain




Now start the plugin and open http://localhost:8888/main

Eclipse html

Headline

Jax-RS