简体   繁体   中英

Suggestion on remoting (rpc, rmi) for Java SE client-server app?

I'm absolutely in love with the way GWT does RPC. Is there anything similar for Java SE you have experience with that:

  1. Is not spring
  2. Doesn't require a Java EE/Servlet container to run the server side
  3. Is not RMI that comes with Java SE

Apache Mina . Not true rpc but easy to use and surely a option to consider.

Maybe Jini . Not Spring- or EJB-related, doesn't run in a container, and you can pick the transport.

如果您想要分布式计算之类的东西,可以看看cajo项目。

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.

POJ(普通旧JSON)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM