uCosminexus Application Server, EJB Container Functionality Guide
Of the invocation functionality of an EJB remote interface, the settings for the following functionality must be specified in a J2EE server:
Furthermore, the settings that specify the Enterprise Bean in which the pass by reference functionality of the EJB remote interface is enabled can be defined in the J2EE application. Reference the settings when setting up or changing the properties of a J2EE application that does not include cosminexus.xml.
Set up a J2EE server with the Easy Setup definition file. Specify the settings in the <configuration> tag of the logical J2EE server (j2ee-server) of the Easy Setup definition file.
The following table describes the definition of the invocation functionality of an EJB remote interface in the Easy Setup definition file:
Table 2-41 Definition of the invocation functionality of an EJB remote interface in the Easy Setup definition file
Items | Parameter to be specified | Setting contents |
---|---|---|
Range of the local invocation optimization functionality | ejbserver.rmi.localinvocation.scope | Specify the range of optimizing a local invocation in the EJB remote interface. |
Pass by reference functionality of the remote interface | ejbserver.rmi.passbyreference# | Specify whether to enable the pass by reference functionality of the remote interface. |
Operation of the EJB client during the occurrence of a communication failure in the remote interface | ejbserver.container.rebindpolicy | If a J2EE server at the specification location is the client of another J2EE server, specify the operation for retrying a connection at the EJB client side, and the operation for resending requests. |
For details on the Easy Setup definition file and parameters, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.
When the EJB client is in the form of an EJB client application, the operation of the EJB client during the occurrence of a communication failure in the EJB remote interface will be specified in the property of the EJB client application.
You can define the settings for specifying whether to enable the pass by reference functionality of the EJB remote interface in each Enterprise Bean, in the execution environment. Specify the settings in the J2EE application imported into a J2EE server, and execute the setup only when setting up or changing the properties of a J2EE application that does not include cosminexus.xml.
A J2EE application is set up in the execution environment with server management commands and property files. Use the following property files to define the reference mapping:
Table 2-42 Property files used to define the management method of an Enterprise Bean transaction
Setting target | Attribute files |
---|---|
Session Bean | Session Bean attribute file |
Entity Bean | Entity Bean attribute file |
The tags specified in the property files correspond to the DD or cosminexus.xml. For details on the cosminexus.xml settings, see 2.13.4 Defining in cosminexus.xml.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.