Skip to Content

Accessing EJB from Web Dynpro (WAS 6.30 SP 2)

Hi all,

I understand that there is currently no way access an EJB directly from a Web Dynpro application. There is a published example that does it by creating a web service from the EJB then generating a model in Web Dynpro from the wsdl description. I do not have that option using the ramp-up version WAS6.30 SP 2. Am I missing something? Do I have another option for accessing the bean?

Any help would be appreciated,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2003 at 05:16 PM

    Hello Gregory,

    you are right: the Web Services features of Web Dynpro which are part of the Sneak Preview Edition on SDN are not part of WAS6.30 SP 2. They have been enhanced and will be part of Web AS 6.40 SP 4 which is expected Q1 2004.

    In the meantime you could describe your EJBs in XMI fromat and use them via the Web Dynpro XMI model importer. This approach however requires several manual steps.

    Please come back to us if you want more documentation on the XMI approach.

    Many greetings


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Joost,

      I already documented a little within another posting in that forum:

      "With the Sneak Preview of the Web Application Server it is possible to connect to an EJB backend via XMI Model only.

      - after creating a model, choose import model from UML definition

      - enter the path for your external model (extenstion needs to be .xmi)

      - for build an deploy process of a Web Dynpro app with an XMI model, you need to create a JAR file (add Java classes essential for the import)

      - store JAR file locally in /lib of the Web Dynpro project

      - make the JAR file available (properties, java build path, libraries, add jars)

      - to start the display and change mode for the imported model classes, open the Model Editor view by choosing EDIT in the context menu for the model in the Web Dynpro Explorer

      To be able to import an XMI model into the Web Dynpro development environment, you must use an external modeling tool that can produce XMI files. To import to Web Dynpro you require Version 1.1 with Unisys Extension 1.3.

      SAP has tested the modeling environments of the companies Rational Rose and TogetherSoft."

      If you need more detailed information and documentation, please let me know your e-mail address, I would then send you a document describing it at full length.

      Best regards,


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.