BEA Logo BEA WebLogic Enterprise Release 5.0

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WLE Doc Home   |   J2EE & Related Topics   |   Previous   |   Next   |   Contents   |   Index

Panels

Panels display deployment descriptor information for the selected component in the ejb-jar Contents List. Table 3-1 describes the panels in the WebLogic EJB Deployer.

Table 3-1 Panels in the WebLogic EJB Deployer  

Panel Name

Description

ejb-jar panel

Information about the ejb-jar file, including the following panels:

Bean Properties Panel

Displays a list of EJBs associated with the selected ejb-jar file, including the name and type of each EJB.

EJB panel

For the selected EJB, displays the bean class, home interface, remote interface, a summary of bean characteristics, and a description.

Method panel

For the selected method, displays the transaction attribute, a list of allowed callers, and a description.

Persistence panel

For the selected EJB, displays persistence information: the primary key class, a list of container-managed fields, and a description.

Security Role References panel

For the selected EJB, displays the security role reference and link to a security role.

Environment Entries panel

For the selected EJB, displays the name, type, value, and a description of one or more environment entries.

EJB Reference panel

For the selected EJB, displays the home interface, remote interface, linked JNDI name, and a description of the EJB reference.

Resource Factory Reference panel

For the selected EJB, displays the type, sign-on responsibility, and a description of the resource factory reference.

JDBC panel

For the selected EJB with container-managed persistence, displays the following panels and a description:

File panel

For a selected stateful session bean with container-managed persistence, displays the root directory for persistent storage and a description.

ejb-jar panel

The ejb-jar panel displays the following tabs that contain information about the selected ejb-jar file:

Description tab

Figure 3-1 shows an example of the Description tab.

Figure 3-1 Description Tab

The Description tab displays text that describes the selected ejb-jar file:

Name

Description

XML Element

Description

Text description of the ejb-jar file.

description

Security tab

Figure 3-2 shows an example of the Security tab.

Figure 3-2 Security Tab

The Security tab displays the following security information for the selected ejb-jar file:

Name

Description

XML Element

Application Roles

Displays a list of any security roles that are available in this environment.

security-role

Description

Text description.

description

System administrators define security roles using the TUXEDO tpaddgrp feature. For more information on managing groups, see the BEA TUXEDO documentation.

Module Initialization tab

Figure 3-3 shows an example of the Module Initialization tab.

Figure 3-3 Module Initialization Tab

The Module Initialization tab displays the following module initialization information for the selected ejb-jar file:

Name

Description

XML Element

Class Name

Name of the server implementation class for handling the initialize and release methods.

module-initializer-class-name

You can edit the Class Name in the WebLogic EJB Deployer. To add a new class, click Add and specify the Class Name in the new row. To delete an existing class, select the row and click Delete.

Note: These XML elements are WLE XML extensions.

Bean Properties Panel

Figure 3-4 shows an example of the Bean Properties panel.

Figure 3-4 Bean Properties Panel

The Bean Properties panel displays a list of EJBs associated with the selected ejb-jar file, with the following information for each EJB:

Name

Description

XML Element

Icon associated with the EJB.

small-icon or default

Name

Name of the EJB.

ejb-name

Type

Type of EJB (Entity or Session).

EJB panel

Figure 3-5 shows an example of the EJB panel.

Figure 3-5 EJB Panel

The EJB panel displays the following information about the selected EJB:

Name

Description

XML Element

Bean class

Fully qualified name of the EJB's class.

ejb-class

Home interface class

Fully qualified name of the EJB's home interface.

home

Remote interface class

Fully qualified name of the EJB's remote interface.

remote

Summary

Summary text about an EJB: the bean type, session type (for session beans), persistence type (for entity beans), transaction type, and whether an entity bean is re-entrant.

Description

Text description of the EJB.

description

Method panel

Figure 3-6 shows an example of the Method panel.

Figure 3-6 Method Panel

The Method panel displays the following information about the selected method:

Name

Description

XML Element

Transaction Attribute

Specifies the transaction attribute for the EJB. Select of the following values:

trans-attribute

Allowed callers

Specifies the role name(s) allowed to invoke the method.

role-name

Description

Text description of the method.

description

You can select a different Transaction Attribute from the list using the WebLogic EJB Deployer.

Persistence panel

Figure 3-7 shows an example of the Persistence panel.

Figure 3-7 Persistence Panel

The Persistence panel displays the following persistence information for the selected EJB:

Name

Description

XML Element

Primary key type

Fully qualified name of an entity bean's primary key class.

prim-key-class

Primary key field

Primary key field, if specified.

primkey-field

Fields

Container-managed fields.

cmp-field

Field

Name of a container-managed field.

field-name

Type

Java data type associated with the field.

N/A

Description

Text description.

description

Security Role References panel

Figure 3-8 shows an example of the Security Role References panel.

Figure 3-8 Security Role References Panel

The Security Role References panel displays the following security role reference (security-role-ref ) information for the selected EJB:

Name

Description

XML Element

Referenced Role

Name of a security role.

role-name

Application Role

Links a security role reference to a defined security role.

role-link

Description

Text description of the security role.

description

You can edit the Application Role field using the WebLogic EJB Deployer.

Environment Entries panel

Figure 3-9 shows an example of the Environment Entries panel.

Figure 3-9 Environment Entries Panel

The Environment Entries panel displays the following environment entry (env-entry ) information for the selected EJB:

Name

Description

XML Element

Name

Name of an EJB's environment entry.

env-entry-name

Type

Java type of the environment entry value that is expected by the EJB's code.

env-entry-type

Value

Value of the EJB's environment entry.

env-entry-value

Description

Text description.

description

You can edit the Value field using the WebLogic EJB Deployer.

EJB Reference panel

Figure 3-7 shows an example of the EJB Reference panel.

Figure 3-10 EJB Reference Panel

The EJB Reference panel displays a list of the following EJB reference (ejb-ref-name ) information for the selected EJB:

Name

Description

XML Element

Home interface class

Home interface of the EJB reference.

Home interface of ejb-ref

Remote interface class

Remote interface of the EJB reference.

Remote interface of ejb-ref

Linked bean JNDI name

Links this EJB reference to another EJB in the ejb-jar file.

ejb-link

Description

Text description.

description

Resource Factory Reference panel

Figure 3-11 shows an example of the Resource Factory Reference panel.

Figure 3-11 Resource Factory Reference Panel

The Resource Factory Reference panel displays the following resource factory reference (res-ref-name ) information for the selected EJB:

Name

Description

XML Element

Resource factory type

Type of the data source, which is the Java interface (or class) expected to be implemented by the data source.

res-type

Sign-on responsibility

Specifies whether the EJB code signs on programmatically to the resource manager, or whether the Container will sign on to the resource manager on behalf of the bean. In the latter case, the Container uses information that is supplied by the Deployer.

res-auth

Description

Text description.

description

JDBC panel

The JDBC panel contains the following tabs that describe container-managed persistence for the selected EJB:

This panel appears only when persistence-store-jdbc is specified for the EJB, which instructs the container to store the object state in a database that is managed by a JDBC connection pool.

Note: These XML elements are WLE XML extensions.

Configuration tab

Figure 3-12 shows an example of the Configuration tab.

Figure 3-12 Configuration Tab

The Configuration tab displays the following container-managed persistence configuration information for the selected EJB:

Name

Description

XML Element

Table name

Name of the table used to store EJB state information.

table-name

Connection Pool Name

Name of the JDBC connection pool associated with the database used to store EJB state information.

pool-name

Description

Text description.

description

You can edit the Table Name and Connection Pool Name fields using the WebLogic EJB Deployer.

Field-Column Map tab

Figure 3-13 shows an example of the Field-Column Map tab.

Figure 3-13 Field-Column Map Tab

The Field-Column Map tab displays a list of the following container-managed persistence mapping information (attribute-map and attribute-map-entry ) for the selected EJB:

Name

Description

XML Element

Field

Name of an EJB field mapped to the table column in this attribute map entry.

bean-field-name

Type

Java data type associated with the field.

N/A

Table column

Name of a table column mapped to the field in this attribute map entry.

table-column-name

You can edit the Table column field using the WebLogic EJB Deployer.

Finders tab

Figure 3-14 shows an example of the Finders tab.

Figure 3-14 Finders Tab

The Finders tab displays a list of the following container-managed persistence finders information for the selected EJB:

Name

Description

XML Element

Finder signature

Finder descriptor for finding one or more EJBs.

finder-descriptor

You can edit an expression for a Finder signature by selecting it in the list, and then clicking Edit Expression. The Edit Expression dialog box appears. Figure 3-15 shows an example of the Edit Expression dialog box.

Figure 3-15 Edit Expression Dialog Box

The Edit Expression dialog box displays an editing window for changing the expression for the selected finder signature. Edit the expression, and then click OK to close the dialog box.

The expression must comply with the syntax rules specified for the query-grammar element. For more information about the expression syntax, see the detailed description in query-grammar .

File panel

Figure 3-16 shows an example of the File panel.

Figure 3-16 File Panel

For stateful session beans with container-managed persistence, the File panel displays the following information for the selected File entry (when persistence-store-file is specified for the EJB):

Name

Description

XML Element

Persistent directory root

If persistent storage is to a flat file, specifies the directory root for storing all instances of an EJB. Each ejb-name element is converted to a directory name.

persistence-store-directory-root

Description

Text description.

description

You can change the directory root using the WebLogic EJB Deployer, either by typing a different path or by clicking the Select button to browse the file system and select a different path.

Note: You must specify a path that already exists.

If you click the Select button, the Specify Directory for Storing Entity Beans dialog box appears. Figure 3-17 shows an example of this dialog box.

Figure 3-17 Specify Directory for Storing Entity Beans Dialog Box

Browse the file system, select the path you want, and then click Select.

To save changes, see Saving Changes to ejb-jar Files.