on 09-09-2008 1:54 AM
Hi,
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?
Thanks,
Surendra
Hi Surendra,
Generally a Java Project is created for all the methods written using MDM Java APIs. The methods from this project can then be called from Webdynpro components. As we have now separated frontend from business implementation, we can easily reuse the MDM Java APIs methods with other frontends as required.
The data is sent and received from Webdynpro components to these MDM Java API methods using objects like maps, sets, lists, etc. The data from these objects can then be easily assigned to contexts in WDC.
Hope this gives you an idea.
Regards,
Rashmi Jadhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.