Chapter 13. Startup beans 383
Required session bean time-out
Set the time-out to 0. If it is set to any other value it will be ignored since startup
service automatically checks and sets it to 0.
13.4 Unit test
Upon application startup, WebSphere will recognize and run Startup beans.
To deploy the Startup Bean, you need to:
Modify EJB Deployment Descriptor for Startup bean
Modify EAR Deployment Descriptor for HelloWorldProcess
Create, configure and start the server
Follow the steps below to deploy the Startup bean.
1. Generate Deploy Code for Startup bean
In the Business Integration perspective, right-click StartupEJB and select
Generate
→ Deployment and RMIC Code. Ensure Startup is selected and
click the Finish button.
2. Add an EJB reference ...