[jboss-user] [Datasource Configuration] - Re: Web -Services connection Handling

gireesh g do-not-reply at jboss.com
Fri Mar 29 00:18:45 EDT 2013


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&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130329/3944786a/attachment-0001.html 


More information about the jboss-user mailing list