提供者创建的受管对象包含与JDBC包装器(由容器提供的连接池管理器添加)相似的自动征用代码。
The managed objects created by the provider contain similar auto-enlistment code as the JDBC wrapper added by the container-supplied connection pool manager.
如果您打开生成的J2Cbean,您将看到在代码中被贴以doclet标志的受管的连接工厂的JNDI名字。
If you open the generated J2C bean, you will see that the JNDI name of the managed connection factory is specified in the doclet tag within the code.
例如,我们可以在security - constraint的内部加上如下代码片段,这样当用户访问受管资源时,将会被强制使用SSL。
For example we can add the following snippet inside the security-constraint to enforce use of SSL when user is accessing managed resources.
当您在JS p源代码的受管Bean的名字上使用Ctrl +click时,您就可以链接到受管Bean的定义文件faces -config . xml上。
When you use Ctrl + click on the name of a managed bean (config) in the JSP source code, you are taken into the faces-config.xml.
当您在JS p源代码的受管Bean的名字上使用Ctrl +click时,您就可以链接到受管Bean的定义文件faces -config . xml上。
When you use Ctrl + click on the name of a managed bean (config) in the JSP source code, you are taken into the faces-config.xml.
应用推荐