[jboss-user] [EJB 3.0] - Integrate entities of different applications

celsogbj do-not-reply at jboss.com
Sat Dec 27 08:05:43 EST 2008


I have two entities mapped in two different applications. 

Let's s say the fist entity is Company in the application "Company Management", which manages companies and information about them (size, address, associates, subsidiaries among others). The second entity is Risk in the application "Risk Management", which manages the risk of credit of a given Company. Both applications are implemented with EJB.

Conceptually, Company has a one-to-one relationship with Risk. Do I have to package both entities at the same ejb-jar, under the same persistent unit in order to map the relationship between them?

What are the other ways to integrate these two applications, supposing that EJB is used on both applications?

Thanks in advance,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198618#4198618

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198618

More information about the jboss-user mailing list