Video Library Online

This is a web application used by members to select movies online. Once a member select a movie through this application, it is delivered to member by the library. Member can also perform other operations such as giving feedback and changing his profile.

Major Operations

The following are the major operations of this portal:

Technologies and Products used

The following table lists operations and associated objects and files.

Operation Files Associated Objects
Home page home.jsp , listmovies.jsp UserBean
Listing Movies listmovies.jsp UserBean
Displaying details of a movie displaymovie.jsp UserBean
Searching for movies search.jsp, listmovies.jsp UserBean
Selecting movie issuemovie.jsp UserBean, IssueBean EJB
FAQs faqs.xml, faqs.xsl  
Forgot password forgotpassword.jsp UserBean.java
Providing Feedback feedback.jsp UserBean.java, MovieBean.java

The following are the steps to related to be taken to run the existing part of the application :

  1. Download vl.zip and unzip it into webapps directory of Tomcat installation directory.
  2. Make sure you copy classes111.zip ( after renaming it to classes111.jar) or classes12.jar into WEB-INF/lib directory
  3. Compile javabeans in WEB-INF/classes/vl directory. Run batch file s.bat before compiling javabeans. You may have to make necessary changes to batch file depending on the directory structure of your system.
  4. Also make sure the classpath of Tomcat is changed to include weblogic.jar using setclasspath.cmd in BIN directory of Tomcat. After the change set CLASSPATH in setclasspath.cmd should look like as shown below:
    rem Set standard CLASSPATH
    rem Note that there are no quotes as we do not want to introduce random
    rem quotes into the CLASSPATH
    set CLASSPATH=%JAVA_HOME%\lib\tools.jar;c:\weblogic\weblogic700\server\lib\weblogic.jar
    
  5. Create account vl with password vl in Oracle Database. If you cannot do this, you can still use SCOTT account with TIGER password.
  6. Create required tables in Oracle using TABLES.TXT file and also insert some sample data.
  7. Place pictures realated to items added to MOVIES table in /pics directory. This application uses JPG files.
  8. Make sure Oracle and Tomcat are running.
  9. Start Weblogic Server and create the following
  10. Copy examples.properties file from c:\weblogic\weblogic700\samples\server\src directory of Weblogic server to issuebean directory
  11. Build the ejb in vl/issuebean directory.
  12. Copy issue_client.jar from issuebean directory to vl/WEB-INF/lib
  13. Run the application using the following url:
       http://localhost:8080/vl
     
  14. You should see home page of the application.