Niket, If you already have a messaging that supports the JMS API running between the sites and are satisified with its security, I would think you would want to use message driven beans. If not, then I think you would have an easier time installing and administering SOAP. For security, you would use SSL, which provides encryption, server authenticatication and (optionally) client authentication.
With either technology, in your implementation each server would basically have a daemon or periodically run process that would make the call to send the data to the other server. Scott Nichol ----- Original Message ----- From: "Niket Anand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 9:47 AM Subject: difference between soap and Message Driven Bean Hi All, Can anybody tell me the difference of sending message as (Text, Object,etc) via Soap and Message Driven Bean? Which is better in terms of security? The actual scenario is as follows:- There are two Application servers running remotely. server A in India and server B in US. In folder A/xmlfoder XML files, containing A's data, are placed. similarly in folder B/xmlfolder XML files, containing B's data, are placed. At certain time these xml files are needed to synchronized with each other i.e server B will get A's xml data and insert into its database and vice versa. So, How should I send XML content from server A to server B and vice versa? Can anybody suggest me which technology SOAP or message driven bean should I use as through both I can send object? pls reply.... Thanks, Niket -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>