cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro to server side execution

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

does anyone have a nice tutorial of ejb used as a webservice ? thanks

Former Member
0 Kudos

Hi,

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0b53558-6df6-2910-cfbf-a63316bb0...

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

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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