This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transparent Cross-domain Integration

 
Johann Evans
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic