on 01-25-2010 4:42 PM
Hi everyone, I have some concept issues, I do not know what is the best way to call java code on server side (maybe a java class that resides in the server) from a webdynpro app that may not be alive past the java class execution.
does anyone have a nice tutorial of ejb used as a webservice ? thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This tutorial shows how to create a complete application based on database persistence, EJB, Web service and Web Dynpro Java. You will define different types of Development Components (DC) in the SAP NetWeaver Development Infratructure (NWDI) such as Dictionary project, Library project or EJB module project. Finally you will use the Adaptive Web Service Model in a Web Dynpro Java DC to build the user interface.
Hope this helps.
Srini
Edited by: Sinivasan Rajamani on Dec 18, 2010 7:47 PM
Hi
Have a look on this thead.
[Using Server-Side Eventing in Web Dynpro Components |http://help.sap.com/saphelp_nw04/helpdata/en/24/243ca46e1c334f8a6f8b0792656bc7/frameset.htm]
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ! thanks a lot for your reply, i read the tutorial but i have one question about it, does the components runs independently of each other or the embedded way is obligatory.
I ask because I want to execute code from my webdynpro app component to other that acts independently, with no UI and if the webdynpro app ends his tasks, the other component still do the job in the server.
Hi,
You can create a Java bean model. The bean is just a POJO. The pojo can inturn call servlet\EJB\JDBC or anything possible in Java. WD recognizes Java bean class as a model if your class has a public constructor and getter setter methods. You can also have additional business methods in the same bean class.
http://vland.wordpress.com/2008/01/30/3rd-party-libraries-and-java-bean-models-in-web-dynpro/
The options in this link should help you.
Regards
Srini
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.