Skip to content
For Silicon Valley Code Camp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jax-rs-rest-spring
jax-rs-rest
osgidemo
springosgidemo
.gitignore
LICENSE
README.md

README.md

Silicon Valley Code Camp

Some code for presentations.

jax-rs-rest Simple project using Jersey to create a GET /hello resource. Tests using Jersey client. To run tests first start the server manually.

Do a GET http://localhost:8080/jax-rs-rest/hello

Send these different headers and see the difference (one at a time).
Accept:text/plain
Accept:application/json
Accept:application/xml

jax-rs-rest-spring More involved, uses Spring to initilize and adds dependencies to hello-spring-annotation

Do a GET http://localhost:8080/jax-rs-rest-spring/hello?name=<>

You can exclude name or send name=hindi or name=english and see what happens.

osgidemo and springosgidemo are OSGi and Spring demos from more than a few years ago!

You can’t perform that action at this time.