The installation process enables the EJB Server option in Adaptive Server. Later on, you can enable or disable an EJB Server in either of two ways:
From the Adaptive Server plug-in to Sybase Central
From the command line using isql
Enabling EJB Server is a dynamic process. You do not need to restart Adaptive Server for it to take effect. After you enable EJB Server, select File | Refresh All to display the Enterprise JavaBeans folder beneath the host Adaptive Server.
To enable EJB Server from the Adaptive Server plug-in:
Highlight the Adaptive Server host for the EJB Server.
Select File | Configure.
Select “enable enterprise java beans” from the alphabetical list of configuration parameters.
Change the number in the Value column to 1.
Click OK.
To enable EJB Server using isql:
Log in to Adaptive Server using isql.
Enter:
sp_configure 'enable enterprise java beans', 1