spring-mvc + java +concurrency


I have a problem that i make a spring mvc based web application in
which multiple user wants to access my application simultaneously to
perform operation. I used some global constant in which i assign
ip,port and other information for a particular user like
CAConstant.IP, CAConstant.PORT etc.I use these constant in different
class to perform operation based on particular user.The problem is
that when multiple user access application concurrently then last user
overwrite the global content of previous one that create conflict in
final report(when my main function was not synchronized).So my problem
is how can i resolve this problem or how we can allow multiple user to
access same web application concurrently using thread in java.


- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow