title: Can we have an application JAR servicing REST & JSON-RPC requests?
body: <p>Sorry if this sounds like a dumb question - I have an application JAR file which currently serves REST API requests using Spring Boot. Is it possible for me to have JSON-RPC services as a part of the same JAR file ? If yes , how do I do it ? I've seen a few JSON-RPC libraries like - Simple JSON-RPC (<a href="https://github.com/arteam/simple-json-rpc/tree/master/server" rel="nofollow noreferrer">https://github.com/arteam/simple-json-rpc/tree/master/server</a>) , JSON-RPC 2.0 Base (<a href="http://software.dzhuvinov.com/json-rpc-2.0-base.html" rel="nofollow noreferrer">http://software.dzhuvinov.com/json-rpc-2.0-base.html</a>) . However I'm not able to write a JSON-RPC service and invoke it. Any help would be greatly appreciated. Thanks !</p>