Because the JNDI lookup can be expensive, it is good practice to store the provider object as a member variable of the portlet, and to initialize it in the init method.
因为JNDI查找开销非常大,所以最好的做法是将提供程序对象存储为Portlet的成员变量,并在init方法中对其初始化。
Because the JNDI lookup can be expensive, it is good practice to store the provider object as a member variable of the portlet, and to initialize it in the init method.
因为JNDI查找开销非常大,所以最好的做法是将提供程序对象存储为Portlet的成员变量,并在init方法中对其初始化。
应用推荐