Using EJB as a data source via OOJDBC

JReport Designer can support any data source through UDS. However, to implement it, users need to be able to code with the Java language. In this case, the usage of UDS is confined to more advanced users. To resolve the problems, JReport has defined OOJDBC to cover an OODS (Object Oriented Data Source) with a JDBC interface which supports EJB as a data source via OOJDBC (currently JReport supports EJB2.x). OOJDBC is similar to a JDBC driver and is based on Java application, EJB (Enterprise Java Bean), LDAP (Light Weight Directory Access Protocol), which can be defined as a database.

The following examples explain how to use EJB as a data source via OOJDBC: