FlashCard.Com

This web application allows users to share knowledge using FlashCards. Each FlashCard contains a question and an answer (like a question in quiz). Flashcards are divided into different topics and each user is allowed to create topics. It provides options to add,modify,delete,list and search topics and cards.

Technologies and Products used

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

  1. Create flashcard account with password flashcard in Oracle10g Express Edition. This must be done after you log in as SYSTEM user.
          create user flashcard identified by flashcard;
          grant connect,resource to flashcard;
        
  2. Create required tables in flashcard account by using commands in tables.sql file of flashcard.zip .
  3. Download flashcard.zip and unzip it into d:\ directory. You can substitue d:\ with another path if you like.
  4. Start NetBeans 5.5.
  5. Open flashcard project in NetBeans using File->Open Project option.
  6. Add Oracle Library - ojdbc14.jar, Java Mail libary to flashcard project.
  7. Build and deploy the project to embeded Tomcat of NetBeans.
  8. Run this project - you must see login.jsp page.

Deploying Web Application In Tomcat of JBoss

The following procedure explains how to deploy a web application flashcard, developed with Tomcat that is embeded with NetBeans to Tomcat embeded in JBOSS application server.
  1. You better change port number at which Tomcat in JBoss is running using JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\server.xml file. Change port number of HTTP Container from 8080 to 9999.
    This is required as Oracle10g also uses 8080.
  2. Copy flashcard.war from dist directory of flashcard project into JBOSS_HOME\server\default\deploy directory.
  3. Run the application using the following url:
       http://localhost:9999/flashcard
     
  4. You should see login page of the application.