File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Where to synchronize struts 1.1
Joined: Sep 22, 2006
Feb 02, 2007 08:16:00
I need to thread safe a very basic
app. It get user info and inserts it into a db, but there are sessions involved.
The app uses two model classes, users and orders, each with getters and setters that handle instance variables through the action classes..
My question is this,
Do I thread safe the getter and setters on the model classes or do I synchronize the execute methods on the Action classes?
I assume both are fine but are there performance issues?
I agree. Here's the link:
subject: Where to synchronize struts 1.1
Where to synchronize Struts 1.1?
Is Struts Action class Thread Safe?
Validation with Model-Aware design.
Struts 1.2 session problem
Are struts action classes thread safe?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014