Skip to content

vijithaepa/AddressBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This contains the set of instructions required to build and run the address book application.

This application demonstrate the simple usage of Java Swing, Spring (Crud Repo, Transaction handling, IOC, AOP, ORM), Hibernate/Jpa, Load Time Weaving with AspectJ (PerformanceAdvice)

Contents :
==========
.
├── DesignDocument.doc
├── h2db.h2.db
├── pom.xml
├── ReadMe.txt
└── src
    ├── main
    │   ├── java
    │   │   └── com
    │   │       └── genix
    │   │           └── addressbook
    │   │               ├── dao
    │   │               │   ├── PersonDao.java
    │   │               │   └── PhoneDao.java
    │   │               ├── entity
    │   │               │   ├── Person.java
    │   │               │   └── Phone.java
    │   │               ├── exception
    │   │               │   ├── CheckedException.java
    │   │               │   └── ValidationFailException.java
    │   │               ├── manager
    │   │               │   ├── EntityManager.java
    │   │               │   ├── impl
    │   │               │   │   └── PersonManagerImpl.java
    │   │               │   └── PersonManager.java
    │   │               ├── presentation
    │   │               │   ├── AddressForm.form
    │   │               │   └── AddressForm.java
    │   │               ├── util
    │   │               │   ├── Builder.java
    │   │               │   ├── PerformanceAdvice.java
    │   │               │   ├── PersonBuilder.java
    │   │               │   ├── PhoneBuilder.java
    │   │               │   └── ResourceLocator.java
    │   │               └── validation
    │   │                   ├── BaseValidator.java
    │   │                   └── PhoneValidator.java
    │   └── resources
    │       ├── db.properties
    │       ├── messages.properties
    │       ├── META-INF
    │       │   └── aop.xml
    │       ├── persistence.xml
    │       └── spring
    │           ├── applicationContext.xml
    │           ├── dataContext.xml
    │           ├── messages.properties
    │           └── propertiesContext.xml
    └── test
        ├── java
        │   └── com
        │       └── genix
        │           └── addressbook
        │               ├── AbstractTest.java
        │               ├── entity
        │               │   ├── PersonTest.java
        │               │   └── PhoneTest.java
        │               ├── manager
        │               │   └── impl
        │               │       └── PersonManagerTest.java
        │               ├── util
        │               │   ├── PersonBuilderTest.java
        │               │   ├── PhoneBuilderTest.java
        │               │   └── ResourceLocatorTest.java
        │               └── validation
        │                   └── PhoneValidationTest.java
        └── resources



Building the Project.
====================

Pre-requisites
--------------
JDK 1.5.x or higher
Maven 2 or higher
set java_home and m2_home.
eClipse 3.5 or higher

Steps:
------
1 - Unzip the AddressBook.zip
2 - import project to eClipse IDE (Existing Projects in Workspace > Browse and locate the extracted "AddressBook" folder)
3 - Configure Project Build path and add a new Variable "M2_REPO" point to the directory "<<Local-User-Directory>>/.M2/repository"
4 - Go to the project home directory AddressBook, and run 
    - mvn clean package
    - This might take a few seconds to download all the dependencies to your local M2 repo.
5 - To run the tests,
   - mvn clean test

Running the application.
========================

In eClipse IDE : Right Click on the File "AddressForm.java"(/AddressBook/src/main/java/com/genix/addressbook/presentation)
		 Run As -> Java Application

- Follow the prompts made by the application.



About

Address Book app using spring, hibernate/Jpa, swing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages