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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:35:25+00:00 2026-06-12T10:35:25+00:00

I am working on development of web application where i need to track the

  • 0

I am working on development of web application where i need to track the number of hits to a particular web application from client side using Ajax.

MyEar has below wars:

  1. APP-a
  2. APP-b (using Spring framework 3.1.0 )
  3. APP-c (using Spring framework 3.1.0 )
  4. APP-d

I want to track/count(using filters in APP-b and APP-c) the number of request to application APP-b and APP-c from a APP-d(using ajax)

I cannot use session as my APP-b and APP-c are stateless.

Thanks for any 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-12T10:35:26+00:00Added an answer on June 12, 2026 at 10:35 am

    You can use interceptors.
    1)If you want to have separate count of requests to APP-b and APP-c, just define a static variable in your both apps. Every time , a request is received in the interceptor, check whether it is from APP-d. If it is, increment the static counter. Keep on updating the file or db(where you are saving your count) periodically after some time.
    2)If you want to have overall count as total no of hits in both your apps, then you should use a cache that supports clustering(most of caches do), so that you will be able to access it from both your apps. After receiving request, get previous count from cache , increment it and update it in your file or database.

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

Sidebar

Related Questions

I'm working on development of a social web application using Java. I need to
I am working on my school application using jsp and web-development is new to
I'm currently working on a web application development. Our company methodology is to work
Hi i'm a newbie to iphone application development.. present i'm working on Picasa web
I'm working on my first asp.net/web development application. Obviously, I'm very new to asp.net
I'm working on a web development project where i need to take care of
I am developing a Spring (Java framework for server-side web-development)web application, which will respond
I'm working on a small Servlets & JSP application while learning web development. I
I'm working on a client-side Java application for which I want to create a
I'm working on a Java-based web app using Tomcat 7.0 as the application server.

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.