Skip to content

Simple RPC app with Spring, Guice, Jetty HTTP/2 and Protostuff

License

Notifications You must be signed in to change notification settings

objectstyle/rpc-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple RPC application

This is a simple RPC application which uses SpringBoot, Spring Remote for RPC, Jetty HTTP/2 for connectivity and Protostuff for Serialization. It consists of 3 modules.

RPC Module

This module has common classes for both Client and Server modules and uses Protostuff Runtime Serializer as SerializationService implementation.

Server Module

This module provides JettyHttp2ServerConfig with custom HTTP/2 server connector and provides implementation of HttpInvokerServiceExporter for using predefined SerializationService.

Client Module

This module has custom Http2InvokerRequestExecutor implementation of AbstractHttpInvokerRequestExecutor with Jetty HTTP/2 Client. As it uses prior knowledge about HTTP/2 on server-side you could try it without ALPN. Also it shows how to combine Spring DI container with Guice through SpringModule.

About

Simple RPC app with Spring, Guice, Jetty HTTP/2 and Protostuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%