Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connections, Transactions, Locks and Threads

Lynn Haley
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Boy that sure is a general topic I posted.

My study group is getting together today, and I am trying to understand
what considerations will need to be made in a distributed web environment.

From a high level understanding, what is the interaction between Connections, Transactions,
Locks and Threads?

We saw that Struts 1 is not thread safe and we need to use a Singleton, but what if we consider
a clustered environment? Our heads are spinning to understand how we need to approach this to
ensure safety.

It seems that Struts2 is threadsafe.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic