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
- NetBeans 5.5
- Tomcat 5.5 embeded in NetBeans
- Oracle10g Express Edition
- Java Server Pages (JSP)
- Java Beans
- CMail Server and JavaMail
- Filter for authentication
The following are the steps to related to be taken to run the existing part of the application :
- 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;
- Create required tables in flashcard account by using commands in tables.sql file of flashcard.zip
.
- Download flashcard.zip and unzip it into d:\ directory.
You can substitue d:\ with another path if you like.
- Start NetBeans 5.5.
- Open flashcard project in NetBeans using File->Open Project option.
- Add Oracle Library - ojdbc14.jar, Java Mail libary to flashcard project.
- Build and deploy the project to embeded Tomcat of NetBeans.
- 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.
- 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.
- Copy flashcard.war from dist directory of flashcard project into JBOSS_HOME\server\default\deploy directory.
- Run the application using the following url:
http://localhost:9999/flashcard
- You should see login page of the application.