The iBank application has the following directory structure:
iBank/docroot/session/entity/misc
/docroot contains HTML, JSP’s and Image files in its root. It also contains the source files for servlets and EJBs in the sub-folder WEB-INF\\classes following the package structure com.sun.bank.*. A war file is generated using this directory.
/session contains the source code for the session beans following the package structure com.sun.bank.ejb.session. This directory forms the EJB module for the session beans.
/entity contains the entity beans following the package structure com.sun.bank.ejb.entity. This directory would form the EJB module for entity beans.
/misc contain the sql scripts for the database setup.