顯示具有 EJB 標籤的文章。 顯示所有文章
顯示具有 EJB 標籤的文章。 顯示所有文章

2017年6月10日 星期六

EJB 3.1 Embeddable API + Junit 技術心得整理

簡介

在 Junit 中使用 Embedded GlassFish Server 做爲 EJB 元件的測試環境。The EJB 3.1 Embeddable API is designed for unit testing of EJB modules.

參考範例 Using the Embedded EJB Container to Test Enterprise Applications (https://netbeans.org/kb/docs/javaee/javaee-entapp-junit.html?print=yes)


2011年2月13日 星期日

在 Netbean+GlassFish 下開發 Sessiong Bean 及其 client 程式

本文件介紹如何使用 Netbeans 及 Glassfish 開發 Session Bean 及其 client 程式。內容包括:
  1.  建立並佈署 Session Bean (EJB 3.1)
  2.  在 Servlet 中使用 Glassfish 上的 Session Bean
  3.   在 JSP 中使用 Glassfish 上的 Session Bean
  4.  在 Stand-along application 中使用 Glassfish 上的 Session Bean
PDF 檔下載