Welcome
Home
FAQ
Who We Are
User Guides
Introduction
Download
Installation
Release Notes
Javadoc
Resources
Development
Project on SourceForge
To Do List
Mailing Lists
Component Guides
Base
Base Services
Business Data
Client Controller
Data Access
Data Domain
EJB
Java Class Generator
Messaging
Data Parser
Persistence
Property Tree
XML Wrapper
UI Framework
Base Services

The base services provider is intended to be an abstraction of system resources that may have different implementations depending on the environment. Using this allows code to be decoupled from proprietary code and affords flexibility.

Currently, the only resource made available is the JNDI Context. Access to it is not defined by the EJB specification and is done differently by each application server. Your code will look something like this:

InitialContext ic = BaseServicesProvider.getProvider().getInitialContext();

The property value named baseservices.class must be set up to point to the appropriate implementation class for your environment, such as org.arch4j.baseservices.jboss.JBossBaseServices. See the properties documentation for information on how to set up the property file.


Arch4J is hosted by

SourceForge Logo

Copyright © 2001-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.