Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: sun-cmp-mappings
- Next: sun-web-app

## sun-ejb-jar

Defines the Application Server specific configuration for an EJB JAR file. This is the root element; there can only be one `sun-ejb-jar` element in a `sun-ejb-jar.xml` file. See The sun-ejb-jar.xml File.

### Superelements

none

### Subelements

The following table describes subelements for the `sun-ejb-jar` element.

Table A–115 `sun-ejb-jar` Subelements

Element | Required | Description
--- | --- | ---
security-role-mapping | zero or more | Maps a role in the corresponding J2EE XML file to a user or group.
enterprise-beans | only one | Describes all the runtime properties for an EJB JAR file in the application.

- Previous: sun-cmp-mappings
- Next: sun-web-app

- © 2010, Oracle Corporation and/or its affiliates