aspose file tools*
The moose likes Java in General and the fly likes which one i should use JMS or RMI or Socket ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "which one i should use JMS or RMI or Socket ? " Watch "which one i should use JMS or RMI or Socket ? " New topic
Author

which one i should use JMS or RMI or Socket ?

Mohammad wish
Greenhorn

Joined: Oct 11, 2011
Posts: 12
Good Day Professionals,
i have a web application on the server that has a list of document object information get (******) it from repsostiory machine , the server go throw this list and send every item to another - destination - machine ( ****** ) once the mehtod called in the destination machine from server machine it (destination machine) read the document object information and get it is ID and call another method ( ****** ) in Repostiory machine to get the phical doument by id from it.

Note: i have a huge number of documents and i want the server machine to control this operation but without get the document content from repository machine - just get information from it- and the destination connect directly to the repository machine to get the document content for performance issue and secuirty issue, and i want the connection to be synchronous between machine.

My question which is the best technology (Socket or JMS or RMI ) that i should use between machines (******) ?

you can see the attached image.

Regards
Mohd.Weshah


[Thumbnail for Untitled.png]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which one i should use JMS or RMI or Socket ?