About EJB Server

What it is

EJB Server is a component transaction server that hosts Java components. Using PowerJ, you can develop EJB Server Java components and Java client programs that connect to EJB Server and execute component methods.

When a client invokes a method on an EJB Server component, EJB Server intercepts the call, locates an instance of that component that can carry out the request, passes the parameters and invokes the method, then returns the result to the client.

EJB Server components

An EJB Server component is a reusable module of code that combines related tasks into a well-defined interface. EJB Server components are installed on an EJB Server and contain methods that execute business logic and access data sources. Components are nonvisual—they do not display graphics or user interfaces. You can import an EJB Server component into PowerJ and use the Reference Card to browse its methods and properties.

Data access

To optimize database processing, EJB Server provides support for connection caching. Connection caching allows EJB Server components to share pools of preallocated connections to the database server, avoiding the overhead imposed when each instance of a component creates a separate connection. By establishing a connection cache, an EJB Server can reuse connections made to the same data source.