Show TOC

Importing Enterprise JavaBean (EJB) ModelsLocate this document in the navigation structure

Prerequisites

Context

You use this procedure to import EJB models using the model import wizard in Web Dynpro. The model import wizard is very intuitive and has features such as, auto-resolving of conflicting model class names, resolving unresolved model class relations, and differentiates between overloaded methods.

More information: Enterprise JavaBean (EJB) Model

Procedure

  1. In the Web Dynpro Explorer , choose Create Models from the Model Node.
  2. Select the Enterprise JavaBean Model type from the list of available model types.

    A wizard to import an Enterprise JavaBean model appears.

  3. Proivde a Model Name , Package Details and Enterprise Application DC details and click Next .
  4. Select the required methods from the Enterprise JavaBean interfaces and click Next .
  5. View the model classes genereated for the required methods and click Next .
  6. Click Finish .
    Note

    The wizard auto-resolves any name conflicts (if present) between model classes. Model classes with any unresolved relations appear with error markers. You will have to manually resolve the unresolved relations by selecting a valid target model class. To assign a valid target model class, chose the error marked model class and select the required option from the Solve Relation dropdown list box.