Chapter 7 Creating J2EE Applications for IBM WebSphere 5.0


Model Extended Attributes

The following extended attributes are available:

Extended Attribute Description
WSAD_EJBProjectName Specifies the WSAD EJB project name.

Default value: Package or Model code. If the same model or package contains both EJBs and Web components, the project name will have an EJB suffix
WSAD_WebProjectName Specifies the WSAD Web project name.

Default value: Package or Model code. If the same model or package contains both EJBs and Web components, the project name will have a Web suffix
WSAD_UseStruts Specifies the use of Apache Struts in Servlets or JSPs.

Default value: false

Note: By default, a single .jar file and a single .war file will be generated per OOM model. You can decide which package should generate a separate .jar or .war file by assigning the archive stereotype to this package.

If you decide to use Apache Struts for JSPs or Servlets, you must set the WSAD_UseStruts extended attribute to true for the model or the package that will generate a .war file.

 


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