EJB finder view objects are classes, paired with XML files, that implement
the J2EE Value List Handler pattern. EJB finder view objects are factories for
collections of EJB entity
facades.
EJB finder view objects are very similar to BC4J
view objects. In particular:
- EJB finder view objects implement the interface oracle.jbo.ViewObject, allowing
you access to the view object API.
- EJB finder view objects can be used as datasources for any type of client
(such as BC4J JSP)
that can use BC4J view objects.
However, EJB entity facades are different from BC4J view objects in some important
ways:
- Instead of being based on SQL queries, EJB finder view objects are based
on EJB finder methods. An EJB finder view object's result set will contain
EJB entity facades corresponding to all EJB entity beans returned by the finder.
- The rows returned by EJB finder view objects' navigation methods are EJB
entity facades, not view rows.