A demo interface for an EJB bean.
This EJB engine provides a method that returns the instance counts by type for the
current installation.
The common interface should always be marked as a Remote interface, since this is more
portable across application servers for classes that are not using EJB dependency injection.
The easiest way to do this is to extend the remote interface and tag it with the @Local annotation.
Flexive's
com.flexive.shared.EJBLookup EJBLookup automatically uses the local interface
if it's available.
|