求教精通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又是什麼東西呢,好像從沒有聽說過。
相關文章
- 關於spring + ejb進行組合的一些疑問Spring
- UI設計中關於設計規範、切圖和尺寸的幾點疑問?UI
- 關於Java編碼規範的問題Java
- 關於TargetServiceFactoryVisitable的疑問
- 求教執行EJB程式時出現的問題
- 關於CMP的關係,求教...
- 關於 dingo API 的疑問GoAPI
- 關於jdonframework框架的小疑問Framework框架
- 關於設計模式的疑問設計模式
- 關於字典和陣列的疑問陣列
- 關於非同步介面呼叫的疑問?非同步
- 關於no-wait latch 的疑問AI
- 關於論壇快取的疑問快取
- 關於JTA實現的疑問
- 關於EJB的學習曲線的問題
- 關於axis的學習求教
- 關於EJB的ejbLoad方法以及j2ee伺服器效能最佳化疑問伺服器
- 關於原型模式的看法和疑問原型模式
- 求教:關於Eclipse+lomboz3.0+jboss3.2.5的問題EclipseS3
- 請教高手 關於STRUTS DATASOURCE的問題
- 關於jdbc的一個問題,高手解惑JDBC
- 求教:關於SimpleJdonFrameworkTestFramework
- MySQL關於資料字典的一個疑問MySql
- 有幾點關於C語言的疑問C語言
- 關於Multiple Buffer Pools的一些疑問
- 關於Proxy和Decorator設計模式的疑問設計模式
- 關於多執行緒協作的疑問執行緒
- QI4J中關於entity的疑問
- 請斑竹及眾高手:關於EJB,同時使用JIVE中的設計模式。。。設計模式
- C++關於DLL中建立套接字的問題(求教)C++
- (求教)關於js函式按值、引用傳遞的問題JS函式
- 求教 關於分頁技術提交後的處理問題
- 關於SESSION中出現的奇怪的問題!高手進~~Session
- 求教,請高手指點!
- 關於圖靈社群言論規範的宣告圖靈
- 請高手幫忙了,關於javamail的問題JavaAI
- 關於HibernateDaoSupport使用的問題,高手指點
- 求教 banq 大哥關於網際網路問題