Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    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 comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    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 comment
    10|10000 characters needed characters exceeded