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 6962425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:39:31+00:00 2026-05-27T15:39:31+00:00

We are evaluating the technology to be used for a web based application and

  • 0

We are evaluating the technology to be used for a web based application and some suggestions are to go with RESTful based services approach.
Tech Stack

1) Spring
2) Apache CXF ( JAX-RS)

My questions are

1) How state is managed between requests. For example, a user has been authenticated and now he is making a series of requests lets say going through a paginated report. I would imagine the URL for this will be like

domain.com/reports/customreport/page/1
domain.com/reports/customreport/page/2
etc…

a) Where is the user information & request parameters are stored so that it can be shared between requests.
b) Lets say the result is being streamed, where is Rowset is stored?

Is there a complete sample application something similar to Petclinic that can provide the best practices for such an application.

  • 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-05-27T15:39:32+00:00Added an answer on May 27, 2026 at 3:39 pm

    If you are doing RESTful strictly / properly, then user authentication is done in each request and there is no concept of a session. Each request contains enough context information (in the URL and/or request parameters) to allow it to work independent of a session.

    1) How state is managed between requests.

    It must be managed by the client.

    a) Where is the user information & request parameters are stored so that it can be shared between requests.

    User authentication information is stored by the client and provided to the server with each request. The server will recalculate any derived information about the user on each request. Any request parameters that would normally be stored in a server-side “session” must be passed afresh with each request.

    b) Lets say the result is being streamed, where is Rowset is stored?

    In the first instant, nowhere. The query is reissued each time with a parameter saying where to skip to. If performance was an issue, you could

    • read-ahead a few pages of the result set and store them in a server-side cache, or
    • tune the database query caching for the query.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been evaluating technology stack for developing a social network based application. Below are
A colleague is evaluating the purchase of a web-based application for their company. One
I'm creating my first web application and I'm really confused as to what technology
While evaluating ICEfaces I have used Eclipse and its Web Page Editor to visually
We're evaluating SharpKit as a possible technology to write an AJAX application, as we
We are evaluating Windows Workflow Foundation 4 to use in MVC 3 based Web
I am currently evaluating ASP.NET MVC as a possible technology for a web project.
While evaluating the advantages and disadvantages of moving our Subversion-based repository over to Git,
I'm evaluating Terracotta to help me scale up an application which is currently RAM-bounded.
I'm evaluating Visual Studio productivity addons for my development team, which includes some folks

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.