Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 771 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 771 Bytes

OSGi JPA sample project

This repo is a sample application using enRoute and bndtools. see the google group list for details link -> https://groups.google.com/forum/#!topic/bndtools-users/Ssw_iPr1VhI

the intentions are:

  1. use bndtools

  2. use enRoute templates

  3. use JPA

    a. use Derby/H2 in memory database for tests

    b. use mysql as release prod

  4. use eclipse link as provider

other design patterns

  1. abstract the JPA implementation with a session interface

  2. use a service factory (OSGi) for creating many datasource connection. EntityManagerFactory

  3. implement integration unit tests (enRoute) black box

  4. unit tests