Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Socket or JMS ?  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

i want to get the following :
- Transfer a huge number of document between Two server.
- Synchronous connection.
- High Speed.
- No Application Server between Two 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
Untitled.png
[Thumbnail for Untitled.png]
 
Greenhorn
Posts: 1
Android Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mohammad wish wrote: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.

i want to get the following :
- Transfer a huge number of document between Two server.
- Synchronous connection.
- High Speed.
- No Application Server between Two 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



You should use JBoss HornetQ JMS Provider.
- Transfer a huge number of document between Two server. (http://hornetq.sourceforge.net/docs/hornetq-2.0.0.GA/user-manual/en/html/large-messages.html)
- Synchronous connection.(async or sync messaging supported, download hornetq example)
- High Speed. (8.5 million messages per seconds see http://planet.jboss.org/post/8_2_million_messages_second_with_specjms)
- No Application Server between Two machine. (hornetq is embeddable)

hope can help you
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!