MyCalendar.Com Using Struts 2 + Hibernate
This website allows users to store their events and keep track of them.
It allows user to do the following:
- Change password
- Add Event
- Delete Event
- Update Event
- List Upcoming Events
- List Past Events
- Search Events
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 -> Action classes -> DAO -> Hibernate -> Oracle Database.
It uses Tiles of Struts2 for templating.
Products and technologies used in this project
- Java EE 7.0/6.0
- Oracle 11g Express Edition
- Struts 2.x
- NetBeans IDE 8.0
- Jdk 8.0
- Tomcat 8
Steps to download and deploy this project
Download MyCalendar.rar. The .rar file contains the entire source
code for the project. Unzip the file into c:\ so that c:\mycalendar folder is created with all the components of the project.
- Open the project in NetBeans 8.0
Go to properties of the project using popup menu. Select libraries node and delete missing libraries using Remove button.
Make sure you have the following libraries:
- Oracle Driver - ojdbc6.jar
- Hibernate .jar files
- Struts2 .jar files
Create mycalendar account with password mycalendar in Oracle11g
Express Edition. This must be done after you log in as SYSTEM user. Then create tables and sequences listed below after connecting to Oracle as
mycalendar. These commands are also present in tables.sql file in your project source code.
- Run login to bring login page.
- Click on Register link and register as a new user.
- Test other options