Utility Files (EJB Components)

Listings C.11C.14 are general helper Java classes to be used by both the EJB and Web components. However, since the two components are to be deployed as a single application, it is sufficient to place these files in the EJB component and then put the deployable EJB component into the classpath where the classloader for the Web components can find it. Also, these classes are just skeletal classes, demonstrating how such functionalities can be additionally incorporated into any application. Their specific implementation can be carried out as an exercise. These files are to be placed in the directory called ejb_components_src, discussed on Day 16.

Listing C.11. CreditCardInterface.java
 /****************************************************************************** ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.