on 11-19-2008 12:57 AM
Hi,
We are planning to work with Webdynpro for Java. What is the best approach to retrieve data from Oracle as back end system. We have JavaBean model and Adaptive Webservice model. I have gone through some tutorials where in an EJB can be exposed as Webservice and can be used in Webdynpro as Adaptive Webservice model.
Can any one please suggest what are the advantages and disadvantages of using Java bean model or Webservice model.
Thanks,
Portal
Hi,
Use the JavaBean model when a Java API resides on the J2EE Engine your Web
Dynpro application will run on.
For example
EJBs*
BI Java SDK
MDM Java API
KM Java API
3rd-party Java API
(delivered as EJBs or otherwise)
Your other option of connecting to your Java API is by creating a web service
wrapper for it. This is potentially development intensive and adds a layer of network communication.
Refer, SDN page for Backend Access - Webdynpro Model:
Regards,
Anagha
Edited by: Anagha Jawalekar on Nov 19, 2008 9:26 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the Bean is residing on the same server, its better to use bean directly instead of xposing as a WS. coz its quicker.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Like Web Services the Bean Model allows to work with bean methods via a model execution in web dynpro.
For information on how to use it please refer to: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4072c0d0-c21e-2b10-ab84-e2c183d3...
or
Advantage are pretty much the same as web services: you get a wizard to implement the beans, you can abstract your model and ui (view) etc.
Disadvantages: Though possible, it is difficult to switch models after implementation and there is the step for configuring destinations etc. Performace can be slow on the first access - but usually speeds up on repeated use of the bean at runtime.
Hope that this helps you.
Thanks.
p256960.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.