struts is thread safe or not ?give me answer as early as
possible
Answers were Sorted based on User's Feedback
Answer / coolsat
The very basic applies to every java class, when it comes
to being thread-safe.
Local variables are thread-safe.
In Struts, the action classes are not thread-safe.
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / chowdary
struts is not thread safe by default...........
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kumar
it is not Thread safe.
we want to put code in between
synchrorize{
............
}
it is block level synchronization.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravish sharma
We can't say that any framework is thread safe or not?.
Because thread safty is depends on how many threads are accessing a single object. On this basis we can say that thread safe or not....So We cant say that any framework is thread safe or not? so its depend upto you how you are implimenting in your project.
Thanks
Regards Ravish Sharma
Is This Answer Correct ? | 0 Yes | 0 No |
we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.
What is an interceptor stack?
What is the purpose of @emailvalidator annotation?
What is the need of struts?
is it possible to see actionservlet in my system. if yes how
What is actionservlet?
In web.xml file instead of *.do can i write *.ibm, Specify with example
What kind of mvc is struts 2?
Explain about token feature in struts?
How to handle exceptions in structs?
what are the disadvantages of MVC architecture
What happens when Two users requests for same action class? How the threads are controlled?