• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Best solution for my distributed application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to conceive an application which has to get input from a POS terminal or some other server. The application has to communicate with another module residing in a mainframe, get the results and output the response back to the POS terminal. The components with which the application communicates may be non-java components. Please recommend the best architecture for this system. This a performace critical application with the application needing to support 10000+ client hits at a time. Considering these, what technology is best suited? Simple TCP server socket/WebServices/Servlet/CORBA/RMI??
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The best choice of course will depend on your specific needs.

For instance, will you application require distributed transactions or 2 phase commits? Do you have any security requirements, such as authentication and authorization of services? How will your application handle failures, such as network failures or hardware failures, while tasks are being processed? Is there a specific ordering of tasks that must be synchronized, such as task A must be performed before task B? What are the dependencies between the different clients?

As you can see, you'll need to analyze all the other aspects of the system before determining the ideal architecture. Performance is just one aspect of the design.



Originally posted by Allan Sam:
I need to conceive an application which has to get input from a POS terminal or some other server. The application has to communicate with another module residing in a mainframe, get the results and output the response back to the POS terminal. The components with which the application communicates may be non-java components. Please recommend the best architecture for this system. This a performace critical application with the application needing to support 10000+ client hits at a time. Considering these, what technology is best suited? Simple TCP server socket/WebServices/Servlet/CORBA/RMI??

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since all of the technologies you mention build layers onto TCP sockets, dealing at the most primitive level will be fastest for moving data. However, as Joseph pointed out there are many considerations you need to define and work out the consequences.
Try a google search for "premature optimization is the root of all evil."
This is certainly an interesting problem, please keep us up to date on your progress with it.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic