【正文】
與其他 EJB不同, MDB不存在一個用戶視圖(如需要用戶引用的遠程接口),用戶也不能通過資源定位獲得一個MDB實例。 樣例文本 C ? 實體 Bean是含有持久化狀態(tài)的分布式對象。它們并不對請求進行當(dāng)即響應(yīng)。s acceptance. Although developer tools made it easy to create and use EJBs by automating most of the repetitive tasks, these tools did not make it any easier to learn how to use the technology. Moreover, a countermovement had grown up on the grassroots level among programmers. The main products of this movement were the socalled 39。lightweight39。比方說,某網(wǎng)站用戶點擊“請通知我更新信息”按鈕,將會觸發(fā)某個 MDB將這名用戶加入到數(shù)據(jù)庫的希望獲得更新信息用戶列表中。這個持久化狀態(tài)的管理既可以交給 Bean自身( BeanManaged Persistence, BMP),也可以托付于外部機制( ContainerManaged Persistence, CMP)。 MDB只在后臺監(jiān)聽消息源并實施自動處理。自 EJB , JMS被加入進來以允許在容器內(nèi)部實施事件驅(qū)動處理。 ? 除了上述以外,目前還有一些 EJB處于設(shè)想階段,如 JSR 86提出了用于在 Java EE應(yīng)用中集成多媒體對象的媒體 Bean( Enterprise Media Beans)。 ? 消息驅(qū)動 Bean是支持異步行為的分布式對象。第五級 樣例文本 A ? Gemmi Cong 精美 PPT模板盡在如下豆單 ? ? 歡迎大家欣賞和下載 樣例文本 A ? Gemmi Cong 精美 PPT模板盡在如下豆單 ? ? 歡迎大家欣賞和下載 樣例文本 B ? In addition, businesses found that using EJBs to encapsulate business logic brought a performance penalty. This is because the original specification only allowed for r