วันพฤหัสบดีที่ 24 มิถุนายน พ.ศ. 2553

The EJB Session Bean Unit Testing with JUnit (Extended)

    Even the Glassfish Application Server is not to be started and your application also is not to be deployed. You should firstly configure the other required resources, the connection pool for example, by using the Glassfish Application Server Administration console since the configuration is shared between the Glassfish Application Server and EJB embedded container. If not you may face some trouble about the resources missing/absence exception.

    Updated on June 29, 2010

    My fault. The application should be deployed to the Glassfish Application Server once before running the unit testing. If not you will face some trouble about the JNDI looking up.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น