Chapter 6. Smart JNDI Factory

Table of Contents

6.1. Introduction
6.2. Running the Client
6.2.1. Initial Context Factory
6.2.2. Provider URL
6.3. Example
6.4. Smart Bootstrap
6.4.1. Smart Bootstrap class

6.1. Introduction

The smart factory provided by EasyBeans is a factory that allows downloading of some classes from the server.

It is useful when developing heavy clients.

In order to run the clients, the developer must provide all the classes used to compile the client code and include a small jar file (less than 50kB) to add to the CLASSPATH.

Required libraries for running a client are:

  • The client's code (used at compile time)

  • The Interface of the Beans that are accessed (used at compile time)

  • The Java EE API used by the client (used at compile time)

  • The smart factory provided by the ow_easybeans_component_smartclient.jar jar file