Skip to content

vladimir-dejanovic/springboot-protobuffer-jersey-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-protobuffer-jersey-sample

This is sample application written in SpringBoot, which use Jersey for REST end points.

Demo example for my talk https://www.slideshare.net/VladimirDejanovic2/protocol-buffers-and-microservices

This is demo application which demonstrate very simple end points

  • Plain Text
  • JSON
  • XML
  • Protocol Buffer
mvn clean install

java -jar target/springboot-protobuffer-jersey-sample-0.0.1-SNAPSHOT.jar

curl http://localhost:8080/text

curl http://localhost:8080/json | json_pp

curl http://localhost:8080/xml > 1.xml ; xmllint --format 1.xml

curl http://localhost:8080/proto

Releases

No releases published

Packages

No packages published

Languages