求教精通ejb規範的高手,關於Dependent Value Classes的疑問
在ejb2.1規範的第147頁下面,
A dependent value class is a concrete class that is the value of cmp-field. A dependent value class may be a class that the Bean Provider wishes to use internally within an entity bean with container-managed persistence, and/or it may be a class that the Bean Provider chooses to expose through the remote (or local) interface of the entity bean.
A dependent value class can be the value of a cmp-field; it cannot be the value of a cmr-field.
The get accessor method for a cmp-field that corresponds to a dependent value class returns a copy of the dependent value class instance. The assignment of a dependent value class value to a cmp-field using the set accessor method causes the value to be copied to the target cmp-field.
A dependent value class must be serializable. The internal structure of a dependent value class is not described in the EJB deployment descriptor.
最讓我看不懂的就是第3段,怎麼會是複製傳的引數呢,本地客戶試圖的方法不都是pass by reference的麼?Dependent Value Class又是什麼東西呢,好像從沒有聽說過。
A dependent value class is a concrete class that is the value of cmp-field. A dependent value class may be a class that the Bean Provider wishes to use internally within an entity bean with container-managed persistence, and/or it may be a class that the Bean Provider chooses to expose through the remote (or local) interface of the entity bean.
A dependent value class can be the value of a cmp-field; it cannot be the value of a cmr-field.
The get accessor method for a cmp-field that corresponds to a dependent value class returns a copy of the dependent value class instance. The assignment of a dependent value class value to a cmp-field using the set accessor method causes the value to be copied to the target cmp-field.
A dependent value class must be serializable. The internal structure of a dependent value class is not described in the EJB deployment descriptor.
最讓我看不懂的就是第3段,怎麼會是複製傳的引數呢,本地客戶試圖的方法不都是pass by reference的麼?Dependent Value Class又是什麼東西呢,好像從沒有聽說過。
相關文章
- 關於 dingo API 的疑問GoAPI
- C++關於DLL中建立套接字的問題(求教)C++
- (求教)關於js函式按值、引用傳遞的問題JS函式
- MySQL關於資料字典的一個疑問MySql
- 關於移動端 App 測試的疑問APP
- 關於String內的indexOf方法的一些疑問Index
- [20201207]關於ORACLE IMU的一些疑問.txtOracle
- [20190312]關於增量檢查點的疑問(補充).txt
- 關於 K8S 在測試中的疑問K8S
- 關於學習Python的疑問,你都清楚了嗎?Python
- 讀draveness關於chan的介紹後的總結及疑問
- 關於SQL開發規範中的那些誤區!SQL
- 關於研發規範化的一些思考
- 關於技能技術企劃書的疑問和建議
- 關於C++中建構函式的常見疑問C++函式
- 怎樣成為解決問題的高手?——關於問題解決的關鍵4步驟
- 關於租用香港伺服器疑問解答伺服器
- 關於租用香港伺服器疑問解答?伺服器
- 關於租用香港伺服器疑問解答。伺服器
- 關於前端元件化、狀態管理規範化的思考前端元件化
- 關於 SAP Commerce Cloud Github 倉庫需要遵循的規範CloudGithub
- Mybatis【2.2】-- Mybatis關於建立SqlSession原始碼分析的幾點疑問?MyBatisSQLSession原始碼
- 關於 Kubernetes 規劃的靈魂 n 問
- 關於軟體開發流程規範,有感於最近做技術顧問(一)
- 關於 ui 自動化測試 driver 疑問?UI
- 【odoo】關於odoo二開模組規範的一點思考Odoo
- pl/sql developer中關於TIMESTAMP顯示格式的疑問和學習SQLDeveloper
- 關於“等保測評”的這些疑問,你都瞭解嗎?
- ① EJB無狀態的bean(建立EJB的基礎教程)Bean
- 關於 Locust 建立 Task 的疑問,困擾了好久,路過的幫忙看下。
- 關於SAP的MRP範圍
- 我的疑問
- 關於模型關聯 獲取不到關聯資訊 求教模型
- [提問交流]關於對OT現有的文件系統使用疑問
- 關於php的try catch 使用的疑惑,希望高手指點PHP
- 有關JavaScript事件迴圈的若干疑問探究JavaScript事件
- @Value失效的問題
- [20180713]關於hash join 測試中一個疑問.txt
- 求教個問題