现在,如清单20所示,当用户重新连接到数据库,并试图访问表时,将接收到错误消息。
Now, as shown in Listing 20, when users reconnect to the database and try to access the table, they receive an error.
现在已经成功连接了,接下来请关闭浏览器,重新启动服务器并运行 creditApprovalClient.jsp,但这次使用 nonManager 类用户登录。
Now that you're connected, close the browser, restart the server and run creditApprovalClient.jsp by signing in this time with the nonManager user.
短的绿色线条显示托管连接现在绑定到 EJB 上,以缩短时间并可以在别的地方重新使用。
The short green bars show how the managed connection is now tied to the EJB for less time and can, consequently, be reused elsewhere.
应用推荐