wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Transparent Cross-domain Integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transparent Cross-domain Integration" Watch "Transparent Cross-domain Integration" New topic
Author

Transparent Cross-domain Integration

Johann Evans
Ranch Hand

Joined: Nov 18, 2002
Posts: 47
Hi,

I need to "wrap" an external entity i.e. a Customer from a CRM system - the system exposes SOAP functionality to perform CRUD operations on its mastered entities.

I would like to create a CMP that is modelled to the CRM Customer structure, then create a resource adapter and make that EJB use the registered datasource / linked RA. Is this possible with CMP?

Currently, I believe you can create a BMP Entity Bean that uses a DAO to connect via a Resource Adapter to an external datasource - this should all work fine (and I believe you should ne able to create relationships from the CMP's to this BMP).

What I am trying to achieve is to be able to model your solution in a single place while referencing cross-domain classes (i.e. located in CRM systems, HR etc.). This will allow you to create your EJB's from the perspective of your solution for instance I will have a Customer EJB that contains specific fields for my billing system as well as a 1-1 relationship to an Account EJB that "wraps" the actual account entity in the CRM system - thus seperating data access from the model.

Any good examples out there on integrating cross-domain applications using such modelling techniques instead of messaging integration?
 
 
subject: Transparent Cross-domain Integration