Standard practise to make the APIs reusable ?
In our project, we are using SAP portal as the front end with MDM. So, we are using Controller of the faceless Web Dynpro components (WDC) to define the methods to query the MDM repository using MDM java APIs. The data queried from the MDM repository is later set to WDC context.
I have a design concern here...
Later, if we need to use a different front end component(say Websphere portal), we have to change the entire java code that is written using MDM java apis. This is bcoz, I cannot use the WDC context with websphere portal.
What is the standard practise to make the APIs reusable with any front end technology? Any suggestions?