MyNotes.Com Using Struts 2 + Hibernate

This website allows users to store important notes online.

This project is developed using Eclipse Luna. For NetBeans 8.0 version, please click here.

It allows user to do the following: The following screenshot shows home page.

Architecture Of the Project

This project uses Struts 2 + Hibernate. It uses DAO (Data Access Objects), which talk to database using Hibernate.

So overall architecture is - JSPs (View) -> Action Classes -> DAO -> Hibernate -> Oracle Database.

It uses Tiles of Struts2 for templating.

Products and technologies used in this project

Steps to download and deploy this project

  1. Download MyNotes.rar. The .rar file contains the entire source code for the project. Unzip the file into c:\ so that c:\mynotes folder is created with all the components of the project.
  2. Start Eclipse Luna.
  3. Select File-> Import . Select Existing Projects in Workspace in Import dialog box.
  4. Select the folder where you extracted project(ex: c:\mynotes) as root directory of the project to be imported.
  5. Turn on Copy project into workspace check box to copy project into workspace.

  6. Copy .jar files shown in the screenshot below to webcontent/WEB-INF/lib folder.

  7. Create mynotes account with password mynotes in Oracle11g Express Edition. This must be done after you log in as SYSTEM user. Then create tables and sequences in mynotes account. These commands are also present in tables.sql file in your project source code.
  8. Run loginOpt to bring login page.
  9. Click on Register link and register as a new user.
  10. Test other options.