dimanche 10 mai 2015

How can a Project and its Entities, break to the smaller projects?

Really I don’t know, The question has been said, match or not with what I have said in the following!

We have a JEE-Project that we use the following frameworks and technologies:

JBOSS AS 7.1.1 , JSF2.0 , EJB3.0 , JPA2.0 , Hibernate4 , Oracle RDBMS and etc.

This project structure is similar to the following picture(current project):

CurrentProject

In this current project there nearly forty entities that joined to Organization-Entity.The current project is very large and actually consists of several projects. For this reason(Of course, other reasons), we need broken the current project into two or three projects.

(All of these entities are in a “SAME DATABASE”)

Requirements:

We want to implement the following:

  1. Each project has its own database.
  2. Each project has its own Entity.
  3. Each project has its own relation to Organization-Entity.
  4. We do “not” want any relation to be on-the-fly.
  5. after update of Organization-Entity(indeed, Organization-Table) , we want to see this update on all databases.

In fact, we want our project to be something like the following: NewProject

What are the ways to do this?

What is the best way to do this?

What do you suggest?

Please help me and Thank you.

Aucun commentaire:

Enregistrer un commentaire