This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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?