Advanced Understanding - Red Hat APPLICATION SERVER - JONAS Manual

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

Chapter 24. JOnAS Services
// Get a reference on MyService.
try {
sv = (MyService) ServiceManager.getInstance().getService("serv1");
} catch (ServiceException e) {
Trace.errln("Cannot find MyService:"+e);
}
24.1.4. Adding the Class of the New Service to JOnAS
Package the class of the service into a
directory. All the libraries required by the service can also be placed in this directory.

24.2. Advanced Understanding

Refer to the JOnAS sources for more details about the classes mentioned in this section.
24.2.1. JOnAS built-in Services
The existing JOnAS services are the following:
Service name
registry
ejb
ear
dbm
jms
jmx
jtm
mail
resource
security
ws
If all of these services are required, they will be launched in the following order:
,
,
security
jtm
dbm
,
,
jmx
security
dbm
must be launched first.
registry
Notes
For compatibility with previous versions of JOnAS, if
JOnAS automatically launches the
these services.
,
,
dbm
jms
resource
.jar
Service class
RegistryServiceImpl
EJBServiceImpl
EarServiceImpl
DatabaseServiceImpl
JmsServiceImpl
JmxServiceImpl
TransactionServiceImpl
MailServiceImpl
ResourceServiceImpl
JonasSecurityServiceImpl
AxisWSService
,
,
,
mail
jms
resource
,
,
are optional when you are using service
mail
resource
registry
, and
depend on
ejb
file and add the JAR in the
,
,
,
,
ejb
ws
web
ear
is not set as the first service to launch,
registry
service. Thus, the
.
jtm
JONAS_ROOT/lib/ext
registry
.
.
ejb
service must be launched before
jtm
189
,
,
jmx

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Application server

Table of Contents