Skip to content
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.
proto
src
.gitignore
LICENSE
README.md
pom.xml

README.md

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
You can’t perform that action at this time.