Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8487379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:13:14+00:00 2026-06-10T21:13:14+00:00

I am building a web application where I want to distribute the code in

  • 0

I am building a web application where I want to distribute the code in various tiers like UI, Business logic and database. Here are my desired features which explain my usage scenario:

  • Real time high performant request-response type application
  • Application to be divided in various layers like UI, business logic and database- each layer working on a cluster of computers
  • The layers should support load balancing and failover features preferably transparent to other interacting layers.
  • Interoperability with various languages in future will be an additional desirable feature
  • These layers will be residing internally to my organization itself, i.e. I don’t intend to interact with outside organization services at present.

I tried out RMI but drawbacks were Java lock-in and no support for load balancing and fail over features. I have considered JMS but realize that even though the features like load balancing, failover of MOM are very tempting, it doesn’t seem suitable for real time request-response type application to me(Correct me if you think I am wrong).

Please suggest me good popular, suitable framework(s) that best suit in this use case scenario.

Update:
Exploring SOA, I come across the two prominent options SOAP and REST. As I mention, I have to make a choice interms a communication methodology to use internally between the modules/layers in my application. Is there an obvious/popular choice to make between them when looking for quick request-response and high scalability, load balancing, failover scenario? I don’t intend to convert this post into REST vs. SOAP discussion, but if quick lite comparison can help in this case. I am also open for any third alternative if it’s there in SOA which I am missing. Some examples from real world deployment scenarios will also help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:13:16+00:00Added an answer on June 10, 2026 at 9:13 pm

    Let’s dig into your architectural requirements:

    1. Real-time high-performant request-response type application
    • if you are probably trying to achieve almost zero application latency, then you must cache almost everything near the web layer, like memcached, and postpone or make updates asynchronously.
    • consider also using REST, it demands less overhead than SOAP, and you can use JSON as a document format which is also more compact than XML, lowering network throughput requirements.
    1. Application to be divided in various tiers like UI, business logic and database- each layer working on a cluster of computers:
    • The more tiers you use, the more latency your application probably have, database is the least scaleable item from almost every architecture, then you must try to avoid hitting it for every request, you will definitely need a powerful cache.
    1. The tiers should support load balancing and failover features preferably transparent to other interacting tiers:
    • in order to increase scalability and failover you must seek service statelessness because session state synchronization between servers is very expensive and a load balancer with sticky sessions, will be a problem when a single server crashes.
    • HTTP load balancers can be very transparent.
    1. Interoperability with various languages in future will be an additional desirable feature
    • SOAP have more fancy features that are not well supported in all languages, if you use REST you will be probably more safe here. REST interfaces are usually more simpler to design and less dependent on specific technology than SOAP’s WSDL.
    1. These layers will be residing internally in my organization itself, i.e. I don’t intend to interact with outside organization services at present.
    • If you think you will have interaction with other services outside your service repository, you have to know that if you don’t use standards, you will probably need a kind of gateway tier that would do message translation.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with a legacy database while re-building the web application. I want to
I'm building a web application and eventually would want to use Yii framework. But
I'm building an as3 only web application and want to be able to include
I'm building a web-application in JavaScript using the dojo framework. I want to create
I am building a new asp.net MVC3 web application for reporting and I want
I'm building a simple web based forum application. I want to allow users to
I'm building a web application where all database connectivity is done through a proxy
I am building web application using Spring MVC Spring Security Hibenate MySQl I want
We building big Web Application and we use mysql, we want to make mysql
I'm building a iPhone Web Application and want to lock the orientation to portrait

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.