gireesh g [
https://community.jboss.org/people/ggireeshg] created the discussion
"Re: Web -Services connection Handling"
To view the discussion, visit:
https://community.jboss.org/message/805421#805421
--------------------------------------------------------------
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>
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/805421#805421]
Start a new discussion in Datasource Configuration at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]