Skip to Content
author's profile photo Former Member
Former Member

Webdynpros using EJBs

Hi all,

is there any probability to access EJBs from a Webdynpro client without using the proxymodel via XMI? Using a XMI-file generates a lot of overhead because you need another Tool (don´t forget the additional licences you need). Generally you should be able to access the EJBs via RMI/IIOP (lookink up the JNDI name) analog to any other client/requester.

Thanks for help

Christian

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2003 at 07:59 PM

    Hello Christian,

    we are considering native access from Web Dynpro Models to EJBs in future releases.

    Another convenient approach for now would be to build a Facade Bean (based on a Session Bean) infront of the EJBs that you want to access from Web Dynpro. Then you expose this Bean as a Web Service (which is really quick when you use the Web Services wizards) and use it to build a model in Web Dynpro.

    I hope this helps.

    Many greetings

    Ivo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2003 at 11:55 AM

    Hi Christian,

    you can code all this in the WebDynpro controllers but you have to deal with manual synchronization of the context - this means that you have to call manually the EJB methods and fill in the context.

    Regards,

    Metodi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.