The following are the major operations of this portal:
The following table lists operations and associated objects and files.
| Operation | Files | Associated Objects |
|---|---|---|
| Login Page | login.jsp | InvestorBean |
| Displaing Investments Details | portfolio.jsp | InvestorBean |
| Adding units of a scheme | funds.jsp, schemes.jsp, add.jsp, addfinal.jsp | InvestorBean, SchemeBean |
| Sale of units | sale.jsp, salefinal.jsp | InvestorBean, SchemeBean |
| Deleting Transaction | deletetransaction.jsp, deletetransactionfinal.jsp | InvestorBean , TransactionBean |
| Adding Email Alerts | emailalerts.jsp, emailalertsfinal.jsp | InvestorBean , EmailAlertBean |
| Deleteing Email Alerts | deletealert.jsp, deletealertfinal.jsp | InvestorBean, EmailAlertBean |
| Change Password | changepassword.jsp | InvestorBean |
| Displaying dividends information | dividends.jsp | InvestorBean |
| Registering as new user | newuser.html, newuser.jsp | Investor EJB - Stateless Session Bean |
| Forgot password | forgotpassword.jsp |
The following are the steps to related to be taken to run the existing part of the application :
create user mft identified by mft; grant connect, resource to mft;
<local-tx-datasource>
<jndi-name>OracleMFT</jndi-name>
<connection-url>jdbc:oracle:thin:@localhost:1521:oracle8i</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>mft</user-name>
<password>mft</password>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle8</type-mapping>
</metadata>
</local-tx-datasource>
http://localhost:8080/mft/login.jsp
jar cfv mft.war .