You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Derek S <cu...@rogers.com> on 2003/02/19 18:32:14 UTC
[Validator] ValidatorResources instances sharable?
Greetings all,
I'm using Validator in a Swing-based app, and right now I'm creating a
new instance of ValidatorResources for each instance of a bean I want to
validate. I'm finding the overhead in this a bit expensive for my
needs. Is it safe to share a single instance of ValidatorResources
among multiple instances of Validator with each Validator handling a
single bean? How would this solution be expected to behave if multiple
Validators were working each on their own thread using a shared instance
of ValidatorResources?
Thanks for your time
Derek