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

  • Home
  • SEARCH
  • 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 8521333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:47:39+00:00 2026-06-11T06:47:39+00:00

Our web application’s structure is 3 Tier. (Presentation layer, Business layer, DB layer) All

  • 0

Our web application’s structure is 3 Tier. (Presentation layer, Business layer, DB layer)
All business logic is in the business layer.
Presentation layer requests CRUD to business layer and get result to process users’ request.
By the way, we configured read time out on presentation layer. (3 secounds)
In this case, if some results slowly come from business layer, user get error message and the CRUD processing is correctly finished. So user try action again. As a result, data is duplicated.
How to solve this problem? Just increase read time out?

  • 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-11T06:47:41+00:00Added an answer on June 11, 2026 at 6:47 am

    For long running transactions in the business layer, you should implement a COMET like mechanism on the Presentation Layer:

    1. User submit transaction, business layer returns immediately
    2. Transaction executes in the background in the business layer
    3. Presentation Layer regularly polls the business layer to check the state of the transaction

    Unfortunately, this mechanism usually requires some significant implementation changes in both the Presentation and Business Layer. On the client side, javascript frameworks provide these kind of features out of the box. On the server side, Asynchronous Servlets found in servlet 3.0 may help.

    Increasing read timeouts alone is simple but will not get you out of this in most cases: if the clients requests go through proxies/firewalls etc…, the latter will likely timeout and close connections before your Presentation Layer does.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For our web application, we are sending the X-UA-Compatible -> IE=EmulateIE7 for all the
In our web application we want to get some data from a text file
Our web application has version numbers that get served out to the client on
HI, In our web application it prints all the logs are printed like Spring
Our web application sends e-mails. We have lots of users, and we get lots
Our Web application is based on IE9, which means only IE9 can open the
In our web application, we have multiple small applications availables. Let us say A,B,C.
In our web-application we manage our continuous integration using TeamCity. So far we have
On our web application I am trying to ping a 3rd party site to
We generate reports in our web application by querying our sql server for data

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.