Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.ojb.ejb: Javadoc index of package org.apache.ojb.ejb.


Package Samples:

org.apache.ojb.ejb

Classes:

ODMGSessionBean: This is an session bean implementation using odmg implementation. For more structured implementations take a look at SessionBeanImpl ODMGBaseBeanImpl PBBaseBeanImpl How to use ODMG In every bean method you must start with one of following operations: Open a new Database using the Implementation instance. Database db = odmg.newDatabase(); db.open(...); // ... do something db.close(); Obtain the current Database from the Implementation instance - Attend that there must be already a Database opened before. db = odmg.getDatabase(null); // ... do something Obtain the current odmg-Transaction from the ...
ODMGBaseBeanImpl: Base class for using OJB-ODMG api within SessionBeans, subclass this class to implement your own bean implementations. Do not close the Database instance after use, this was done on ejbRemove. To get the org.odmg.Database or org.odmg.Implementation instance use the getDatabase() 55 and getImplementation() 55 methods. Additionally there are some basic methods for storing, deleting, counting, get all objects implemented.
PBSessionBean: This is an session bean implementation using PB-api. For more structured implementations take a look at SessionBeanImpl ODMGBaseBeanImpl PBBaseBeanImpl
PBBaseBeanImpl: Base class for using OJB-PB api within SessionBeans, subclass this class to implement your own bean implementations. Use the getBroker() 55 method to obtain a PersistenceBroker instance, do PB.close() after using. Additionally there are some basic methods for storing, deleting, counting, get all objects implemented.
PersonArticleManagerODMGBean: Simple example bean do nested bean calls, using PersonManagerODMGBean and ArticleManagerODMGBean within some test methods.
PersonArticleManagerPBBean: Simple example bean for nested bean calls, using PersonManagerPBBean and ArticleManagerPBBean for some test methods.
SessionBeanImpl: Base session bean implementation class for EJB2.0 or higher. Note: Derived classes must implement the java.javax.SessionBean interface (got problems using xdoclet when implement this interface with this class).
ArticleManagerODMGBean: Simple example bean for manage articles using the ODMG-api by subclassing ODMGBaseBeanImpl
PersonManagerODMGBean: Simple example bean for manage persons using the ODMG-api by subclassing ODMGBaseBeanImpl
ArticleManagerPBBean: Simple example bean for manage articles using the PB-api by subclassing PBBaseBeanImpl
PersonManagerPBBean: Simple example bean for manage persons using the PB-api by subclassing PBBaseBeanImpl
ODMGClient: Test client using the ODMGSessionBean .
PBClient: Test client using the PBSessionBean .
StressTestClient: Stress test client using the OJB's ODMG and PB api. Simulates x concurrent threads handle with y objects per thread.
PersonArticleClientODMG: Test client class using org.apache.ojb.ejb.PersonArticleManagerBean
PersonArticleClient: Test client class using org.apache.ojb.ejb.PersonArticleManagerBean
BeanConstants: Here we collect all common constants used within the sample beans.
AllTests: The facade to all TestCases in this package.
ContextHelper: Helper class for JNDI context lookup.
VOHelper: Simple helper class.
CategoryVO
PersonVO
ArticleVO

Home | Contact Us | Privacy Policy | Terms of Service