Using Protocol Buffers in J2EE?
- by mlaverd
Hello everyone,
I have coded a server that uses Protocol Buffers in Java. A client talks to it using PB.
I'd like to migrate the server code to J2EE and take advantage of the containers' built-in features like clustering.
How can I have a service that receives PB messages and interprets them properly, and then gets them handled?
I was thinking of a dedicated type of servlet, but how can it be done?
I'm a J2EE newbie... I'm not familiar enough with J2EE application servers to know if there is a way to make that happen.
P.S. I'm looking for a solution that uses TLS sockets directly. No overhead-causing middleman protocols like HTTP are welcome here.
P.P.S. Open source solutions only please.