Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 864 Bytes

File metadata and controls

22 lines (13 loc) · 864 Bytes

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!