JRun APIs overview

Most JRun packages contain MBean interfaces that you can programmatically access using JRun tools. This section describes the JRun packages.

The following table briefly describes each of the packages in the JRun API:
Package
Description
allaire.jrun.install
Defines the GetControlPort tool. For more information on using the GetControlPort tool, see "Using the GetControlPort tool".
jrun.appclient
Provides classes that get information about J2EE modules.
jrun.connector
Provides classes and interfaces for using and pooling connectors.
jrun.deployment
Contains classes and interfaces used by JRun for deployment of web components.
jrun.ea
Contains classes and interfaces used to configure enterprise applications. An EnterpriseApplication represents a J2EE EAR file structure.
jrun.ejb
Provides classes and interfaces for accessing EJB container settings.
jrun.j2ee
Provides access to a parent class for all modules (including WebApplication, EJBContainer, EnterpriseApplication, ResourceAdapter) that the DeployerService deals with.
jrun.jsp
Provides classes that interact with the JSPC compiler and JSPs.
jrun.mail
Provides classes and interfaces that interact with the JRun Mail service.
jrun.jms
Provides classes and interfaces that interact with the JMS services in JRun.
jrun.naming
Provides access to the JRunNamingContext class. This class performs the brunt of the logic required by JNDI-related tasks. It is the JRun-specific implementation of a JNDI Context.
Other classes include an ENCFactory Environmental Naming Context (ENC) and the NamingService bootstrap class.
jrun.security
Provides access to the UserManager and SecurityManager.
jrun.servlet
Provides access to JRun servlets, filters, and other web application modules.
jrun.sql
Provides utility classes that implement JRun-specific database-related classes that interact with the JDBC connection pool. Also provides a utility class used for executing SQL statements.
jrun.transaction
Provides access to the TransactionService
jrunx.axis
Provides access to the AxisService, which you use to implement web services.
jrunx.cluster
Provides access to the JRun clustering mechanism, including the ClusterManager.
jrunx.comp.sql
Provides access to classes and interfaces that use the SQL Invoker Stateful Session bean, which handles all remote requests for a JRun JDBC resource.
jrunx.compiler
Provides access to a a utility class that compiles of .java classes using Sun's javac compiler. You can also use this class to set up your own compiler.
jrunx.connectorinstaller
Provides classes that let you interact with the Web Server Configuration tool. For more information, see "Using the Web Server Configuration tool"
jrunx.ide
Provides classes that interact with Java IDEs, such as Forte and JBuilder.
jrunx.iiop
Provides classes that use the IIOP protocol for RMI (Remote Method Invocation).
jrunx.install
Provides classes that implement the JRun GUI installer.
jrunx.instrument
Provides access to the InstrumentationService, which is used to do method timing.
jrunx.jrun3
Provides classes that assist in converting web applications from JRun 3.x to JRun 4.
jrunx.kernel
Provides access to classes and interfaces that control deployment, services, and state of JRun servers.
Also includes an exit handler access class and JRun server event classes.
jrunx.license
Defines the JRun LicenseService.
jrunx.logger
Defines the JRun LoggerService.
jrunx.metrics
Defines the JRun MetricsService.
jrunx.migration
Provides classes used by the JRun migration tool for converting JRun 2.x and 3.x properties files to JRun 4 XML files.
jrunx.persistence
Provides access to classes that implement JDBC and file-based persistence.
jrunx.pool
Defines classes that let you pool objects using the PoolManager.
jrunx.resource
Provides classes that let you interact with URLs, streams, directories and files, such as JARs, RARs, ZIPs, EARs, and WARs.
jrunx.ri
Contains classes and interfaces used to deploy Reference Implementation EARs, WARs, and EJB JARs using the RI descriptors instead of JRun specific descriptors.
jrunx.rmi
Provides classes that interact with the JMX Management interface of the RMI Broker.
jrunx.scheduler
Defines the SchedulerService.
jrunx.server
Provides classes that you can use to add and remove JRun servers; start, stop, and restart servers; get JRun server status, and get JRun server metadata.
jrunx.tyrex
Contains open-source transaction management classes and interfaces.
jrunx.util
Contains classes that provide convenience methods for working with MIME types, XML metadata, JAR files, and other objects.
jrunx.watcher
Contains classes used by the ClusterDeployerService to watch the cluster deploy directory for additions, deletions, or changes.
jrunx.xdoclet
Implementation of the XDoclet JRun service. This is a JRun service wrapper around the open source XDoclet project originally created by Rickard Oberg and now maintained at SourceForge (http://www.sf.net).
This service uses a slightly-modified version of Ant in conjunction with the lib/xdoclet.xml file and the MBean settings to generate source files, compiled classes, and descriptors. Because Ant itself is not integrated as a JRun service, this service sets a handful of System properties in order to configure Ant.
For more information on using XDoclet in your web applications, see JRun Programmer's Guide.
jrunx.xml
Provides utility classes for creating XML metadata files and executing XPath statements on XML documents.

The following table describes where you can find more information:
For information
See
Accessing MBean interfaces using custom tags
Writing your own service and MBean interfaces
Accessing MBean interfaces using the HtmlAgentService
JRun Administrator's Guide.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/jrun/4/JRun_SDK_Guide/apis3.htm