Refactor service implementation
commit726a3a959d44e73bb256ba4fe8b9309c86a83e42
authorImran M Yousuf <imyousuf@smartitengineering.com>
Mon, 29 Dec 2008 11:46:33 +0000 (29 17:46 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Mon, 29 Dec 2008 11:46:33 +0000 (29 17:46 +0600)
tree157619203e54e9efc8726a515a4bfa024a5566c6
parent774c2d855ec5e2cb189190cd53e8199e09221bca
Refactor service implementation

Change the package structure make the name more consistent.

Make use of DI for DAO integration and keep the service layer free of app
context initialization.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
ServiceImplementation/src/main/java/com/smartitengineering/bookstore/service/impl/AbstractServiceImpl.java [new file with mode: 0644]
ServiceImplementation/src/main/java/com/smartitengineering/bookstore/service/impl/BookServiceImpl.java [new file with mode: 0644]
ServiceImplementation/src/main/java/com/smartitengineering/bookstore/service/impl/PublicationHouseServiceImpl.java [moved from ServiceImplementation/src/main/java/com/smartitengineering/bookstore/serviceimplementation/PublicationHouseServiceImpl.java with 55% similarity]
ServiceImplementation/src/main/java/com/smartitengineering/bookstore/service/impl/dao/AbstractDao.java [moved from ServiceImplementation/src/main/java/com/smartitengineering/bookstore/serviceimplementation/AbstractDaoImpl.java with 52% similarity]
ServiceImplementation/src/main/java/com/smartitengineering/bookstore/service/impl/dao/CommonDaoImpl.java [new file with mode: 0644]
ServiceImplementation/src/main/resources/service-app-context.xml [moved from ServiceImplementation/src/main/resources/app-context.xml with 85% similarity]
ServiceImplementation/src/test/java/com/smartitengineering/bookstore/serviceimplementation/PublicationHouseServiceImplTest.java