Programming [fleXive]

The blank [fleXive] application includes an example EJB and JSF bean that shows the intended use of the package structure, cfe stands for com.flexive.example:

src/java/shared/cfe.shared.interfaces.EJBExample

Defines the (remote) interface of an EJB.

src/java/ejb/cfe.ejb.EJBExampleBean

Contains the EJB implementation of the EJBExample interface.

src/java/war/cfe.war.ManagedExampleBean

A sample implementation of a JSF wrapper bean that invokes an EJB business method. Note the use of flexive's EJBLookup class to retrieve the EJB wrapper bean, since the @EJB annotation isn't supported by all application servers at the time of this writing.

You can remove the example beans if you like, or rename them and use them as a start for your own beans (if any).