0

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.

4

1 回答 1

2

有关开发和配置的更多信息,请参阅WebSphere Application Server 7.0 信息中心中的对象池主题。

于 2013-05-22T15:44:23.510 回答