Suggestion on remoting (rpc, rmi) for Java SE client-server app?
Question
I'm absolutely in love with the way GWT does RPC. Is there anything similar for Java SE you have experience with that:
- Is not spring
- Doesn't require a Java EE/Servlet container to run the server side
- Is not RMI that comes with Java SE
Solution 4
POJ (Plain Old JSON).
OTHER TIPS
Maybe Jini. Not Spring- or EJB-related, doesn't run in a container, and you can pick the transport.
Apache Mina. Not true rpc but easy to use and surely a option to consider.
If you want something like distributed computing you could have a look at the cajo project.
Did you try sfnrpc (http://code.google.com/p/sfnrpc) No spring required. You can run multiple servers within same JVM You can have a client connect to multiple servers also. No event style programming, but supports asynch and synch calls over nio.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow