|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
See:
Description
| Examples Summary | |
| examples.ejb11.basic.beanManaged | An entity EJB with bean-managed JDBC persistence. The code in the EJB directly access the data storage. Client examples include a single client. |
| examples.ejb11.basic.containerManaged | An entity EJB with container-managed JDBC persistence. The code in the EJB never touches the data storage. Demonstrates using finder methods and the WebLogic is-modified-method-name extension to the EJB 1.1 Specification for optimizing calls to the underlying datastore. |
| examples.ejb11.basic.statefulSession | A stateful session EJB. |
| examples.ejb11.basic.statelessSession | A stateless session EJB. |
| examples.ejb11.extensions.readMostly | EJB demonstrating the user of read-mostly pattern. Demonstrates use of read-only and read-write entity EJBs. |
| examples.ejb11.subclass | A stateless session EJB that demonstrates inheritance in EJB code. |
The EJB 1.1 examples included in the WebLogic Server 7.0 distribution are NOT shipped pre-built. To run these examples, you must follow the instructions in the individual example's package-summary.html file for instructions on how to buuild, configure and run the examples.
| If you're interested in... | ...then look at these examples: |
| Entity EJBs | |
| The WebLogic entity bean extension isModified | |
| Finders and finder expressions | |
| Session EJBs | |
| Calling an EJB from another EJB | |
| Using inheritance in EJB code | |
| Using EJBs in WebLogic clusters |
Certain examples build Jar files that contain multiple beans:
Note that certain examples depend on other beans being built first:
If you build an example EJB with the supplied build scripts and deploy it, you can run the build script again and redeploy the bean from the same .jar.
|
Documentation is available at http://e-docs.bea.com/wls/docs70/ |
|||||