Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.md

jersey-kryo

Demo application uses Jersey/JAX-RS Message Body Writer and Reader using Kryo serialization framework

Try it

Build it

Build the application:

mvn clean install

Grizzly it

Maven packaging of this demo application is war. But it is possible to run the application using Grizzly HTTP container:

mvn exec:java

You can enable FINEST logging using logging.properties:

mvn exec:java -Djava.util.logging.config.file=target/test-classes/logging.properties

Jetty it

Or you can run it as common webapp using Jetty container:

mvn jetty:run-war

Again, you can enable FINEST logging using logging.properties:

mvn jetty:run-war -Djava.util.logging.config.file=target/test-classes/logging.properties

Check it

GET method is available at URL http://localhost:8080/, check it using curl:

curl -v http://localhost:8080/

Response should look like:

> GET / HTTP/1.1
> User-Agent: curl/7.40.0
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Length: 20
< Content-Type: application/x-kryo
< Server: Jetty(8.1.16.v20140903)
<
Salzbur�*Wolfgan�

Blog post

The Jersey Kryo support started as a "friday project" and now is part of Jersey project, currently as incubator module.

Evolution of the Kryo support shows list of blog posts:

  1. JAX-RS Kryo support introduced
  2. Performance report of JAX-RS Kryo support
  3. JAX-RS Kryo support is part of Jersey project

About

Demo application uses Jersey/JAX-RS Message Body Writer and Reader using Kryo serialization framework

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.