on 09-26-2007 2:18 AM
Hello,
Is it possible to call a dynpro application (when deployed in portal) from an
ejb? Or maybe call a dynpro application from a method?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kanwalpreet,
Thank you for the reply. I have read through the link you have provided. It seems you can call a dynpro application from a prt, because it's dependent on the portalapp.xml file.
Would this still work if the dynpro is called from an ejb method? Like the event is originating from an ejb to dynpro, not dynpro to ejb. Is this possible?
regards,
arnold
Arnold,
EJB is on the business side and WebDynpro is on the Presentation side. Why would you want to call a webdynpro from an EJB? If you're looking to re-use business logic from webdynpro, then you might consider a change in your design because webdynpro is primarily presentation-centric, with business logic concentrated in ejbs/BAPIs/RFCs etc.
If you could describe your problem more, then somebody might help you in the right way.
Regards,
Rajit
Arnold,
Webdynpro java and ABAP are two different worlds. As far as I know, synchronous communication in the form of eventing is not possible (if it is, it is complex). If you are talking something like, posting of a material on ABAP side generates an event and you want to react to it on the Java side, for example.
A common way of doing things in such cases is to create a task/notification in the user's Inbox (ABAP Workbench) and the user can action the item from UWL (on the portal side). This actioning can in turn invoke a webdynpro application and so on.
For backward communication, meaning ABAP to Java, it is possible through something similar to a RFC call to Java side (which is how things work in XI as far as I know) and I'm not much aware of its workings.
Or another option could be, a service running on the server side polling the ABAP side. OFcourse this should be your webdynpro and react accordingly. But I wouldnt suggest this path.
That's just an idea.
Disclaimer: My knowledge is not complete
Good luck,
Rajit
Message was edited by:
Rajit Srinivas
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.