关于java:EJB有状态会话bean是如何钝化到二级存储的 | 珊瑚贝

How is an EJB stateful session bean passivated to secondary storage


我已经阅读了有状态会话 bean:

“While in the ready stage, the EJB container may decide to deactivate,
or passivate, the bean by moving it from memory to secondary storage”

那么这个二级存储是什么?是下划线数据库吗?另外,如何在 Oracle 等关系数据库中保存(持久化)对象?


Java EE 只是一个规范,它取决于 JEE 兼容的应用服务器(例如 Glassfish、Wildfly 或 WebLogic)来确定辅助存储的确切内容。

WebLogic,至少在默认情况下,将 EJB:s 钝化到磁盘,如下图所述:

WebLogic



来源:https://www.codenong.com/30602694/

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_9676.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?