As we have introduced a number of new source code artifacts that were not present in the previous chapter on session beans, the packaging process will be a little different. First we look at the program directory structure for our sample application.
Below is the program directory structure for the BankClient
application which invokes the BankServiceBean
in order to add the Customer
entity to the database.
There are a couple of differences in the directory structure from the one described in the previous chapter. We have added an entity
subdirectory; this contains the entity source code, Customer.java
. We have also added a config
subdirectory containing the manifest.mf
and persistence.xml
files.