Hi Frank,
Thanks for your replay. Still my problem exists, but managing with synchronized it leads performance issues.
My webservice class looks like
TestService.java
{
private Business business;
public Business getbusiness() {
return business;
}
public void setbusiness(Business business) {
this.business= business;
}
business.validateMember() // business is the object wich i created using spring ioc, which is singleton false, below mentined the code snippet.
}
Business Class
Business.java
{
synchronized validateMember()
{
// java code.
}
}
application-context.xml
-------------------------------------
<bean id="business" class="org.core.Business" singleton="false">
<bean id="testService" class="org.core.TestService" singleton="false">
<property name="business"><ref bean="business"/></property>
</bean>