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

WD Model Import for Java Beans (POJO)


Will there be a model import functionality for normal Java Beans?

This would be quite usefull for already existing Java Applications, which use Java Beans + some OR Mapper for the business and persistence Layer, and want to rebuild their UI with Web Dynpro.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2004 at 05:44 AM

    Hi Raphael,

    If you have the model of the Java Beans in Togethersoft or Rational Rose you can export it as XMI file and this XMI file can be imported into Web Dynpro by using XMI Model.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Naresh,

      we use the Togethersoft plugin for the Sap Netweaver.development tool.

      We tried to import an XMI file. Unfortunatelly we have a few problems.

      Is there any detailled documentation/examples about how to import a xmi models in web dynpro.

      At the moment the tool imports the classes but I cant see the methods.

      When I have a "getArray" method,

      I get a property "array", but no method "getArray".

      Is this correct?

      What about the relations between the classes. Is it possible to import relations between classes

      and is it possible to use this relations with the context of web dynpro?

      Currently in our Web dynpro model we have 2 via XMI imported "Model Classes". One is representing a business delegate class

      the other one is representing a DTO, which is returned by the business delegate class.

      How is it possible to bind the context to the model class. So the value nodes in the context are filled automatically

      Otherwise we have to call setters and getters for each node.

      Best Regards,


  • Posted on Jun 25, 2004 at 08:08 AM

    Hi Raphael,

    we are already working on such a solution as the XMI Import is quite tedious in case you already have a JavaBean based implementation. But it is not yet decided at which point of time it will be shipped.



    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.