Internet Banking

This application uses all major components of J2EE. It was used as project in J2EE batches that started on Dec 5th, 2003.

The following table lists operations and associated objects and files.

Operation Files Associated Objects
Login login.html, login.jsp User javabean
Home Page home.jsp User JavaBean, Account Ejb
Updation of user profile updateprofile.jsp User JavaBean
Transactions Statement trans.jsp User javabean
Request for Cheque Book chequebook.html, chequeubook.jsp User javabean, chequebook message queue
Cancel a cheque cancelcheque.jsp User javabean, cancelcheque message queue
Transfer of Funds transfer.html, transfer.jsp User javabean, Account EJB
Send Mail To Accounts Manager sendmail.html, sendmail.jsp User javabean, JavaMail
logout logout.jsp  

The following are the steps to install this application in your system :

  1. Download ib.zip and unzip it into webapps directory of Tomcat installation directory.
  2. Make sure you include Oracle driver classes in the classpath of Tomcat - use setClassPath.Bat file for this.
  3. Create account IB with password IB in Oracle.
  4. Create required tables in Oracle using TABLES.SQL file.
  5. Create a connection pool in Weblogic for user IB/IB.
  6. Create a datasource with name - oracle and JNDI name oracle.
  7. Create two message queues - cancelcheque, chequebook.
  8. Build ejb in account directory
  9. Copy ib_accounts_client.jar file from clientclasses directory of Weblogic to /WEB-INF/lib of ib application.
  10. Make sure Oracle, Weblogic Server and Tomcat are running.
  11. Run the application using the following url:
       http://localhost:8080/ib
     
  12. You should see login page of the application.