Search code examples
javatomcatrmi

Tomcat + RMI best way?


What is the best way using RMI over tomcat?

Can i create global RMI-pool or one RMI connection for all my applications?


Solution

  • I use a static class in a controller that wraps the RMI interface. RMI will pool your connections on the serverside, you don't need to worry about it in your Tomcat.