-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank,

frank wrote:
| I try to arrange all the services on one webserver, anyway if it need
| to be devided into several servers, I have to find a way to communicate
| between the servers, and I may use JMS or RMI to implement this. How
| about the diffierence between JMS and RMI?

RMI is used for passing objects (and issuing remote method calls), while
JMS is used more for passing "messages". JMS can be used to bridge
between Java and other languages, since IIRC the messages can be
transformed to some other format (like MQ, etc.). With RMI, you're stuck
with Java.

RMI has always seemed to be a PITA to me. I don't think either of these
technologies are the way you really want to go.

I think the best thing for you to do is either store the information in
a shared database (or not) and then trade keys (or whole data sets)
through SOAP or REST-based services.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkeWEEUACgkQ9CaO5/Lv0PBOWwCeM3SI4hwm4sN2x318YnT/6xD+
xjMAmwcyH2S98z592er4TsBsadMedcRg
=PFle
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to