Chapter 4 Creating J2EE Applications for Sybase EAServer


Adding EAServer Support

PowerDesigner can generate standard CMP or BMP EJBs, Servlets, JSPs, and application server specific descriptors.

It uses an extended model definition file (.xem) to support additional targets, such as application servers, O/R mapping tools, IDE workspaces, etc. The extended model definition defines stereotypes, extended attributes, code generation templates, commands, and options. It can add new code templates or override the templates of an object language (Java, XML, and so on); it can also be independent from the object language. The code generation templates use code templates and macros.

The EAServer extended model definition defines:

Steps To add EAServer support:

  1. Verify that the current model has the object language Java.
  2. Select Model→Extended Model Definitions.
  3. In the List of Extended Model Definitions, click on the Import tool
  4. Select Sybase EAServer 6.x from the list:
  5. Click OK. The XEM is imported into the current model.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.