![]() |
![]() |
The New J2EE Session EJB Wizard walks you through both the creation of new applications and the editing of existing applications.
![]() |
An application contains both a session EJB and a connector. |
To package and deploy a new application you must first select the task file you want to package as an EJB and connector application, choose the application server you want to deploy to, and designate the state management mode you want to use for your session EJBs.
To display this page, in the left pane of the MCS (Management & Control Services) window, select Deployments, then J2EE Session EJBs. In the right pane of the MCS window, choose New or Edit.
Package this task file: Choose the task file you want to package and deploy from the drop down list of published task files. This list includes all published task files for a particular connector. Task files are generated and published in the design-time component and published to the MCS machine designated during installation. In order to use your application you must have configured a pool for the designated task file. Pools are configured under the Configure node on the MCS console.
If there are no task files available and task files have been published, they may have been published to another MCS system. You can verify this information from within the design-time component.
For this application server: Choose the application server you want to deploy to from the list of registered application servers. To register an application server, in the left pane of the MCS management console, under Deployments, click Registered AppServers.
State management mode: Both stateful and stateless session EJBs are supported. Select the state management mode you want to use for the particular EJB you are creating. By default, stateful EJBs are created. Connectors do not maintain state. See Configuring J2EE Session EJBs in the Related Topics list for more information on state management.
This option |
Does this |
---|---|
Stateful (required to support task chaining) |
The EJB maintains a corresponding allocated session while it is being used. |
Stateless | The session EJB uses a free session to execute the task, and when finished, immediately releases it for use by other applications. |
![]() |
|
![]() |
Registering Application Servers |
![]() |
How to Create and Deploy J2EE Session EJBs |
![]() |
Configuring J2EE Session EJBs, Overview |
![]() |
MCS for Screens Help Links |
![]() |