문제

I have simple class object which I want to pool in WebSphere Application Server 7.0.

My Java class looks like this:

SimpleBean
{
    String str1;
    String str2;

    SimpleBean()
    {str1="This is str1";}

    public void setStr1(String str1)
    {this.str1 = str1;}

    public void setStr2(String str2)
    {this.str2 = str2;}

    public String getStr1()
    {return str1;}

    public String getStr2()
    {return str2;}
}

How do I pool SimpleBean in WAS 7.0? I saw that there's an Object pool managers in WAS but I don't know if the pooling should be setup up there. Also I don't know how to use it.

도움이 되었습니까?

해결책

See the Object pools topic in the WebSphere Application Server 7.0 InfoCenter for more information on developing and configuring.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top