Skip to content

rahulaga/code-camp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

For Silicon Valley Code Camp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages