What are access beans?

Access beans are Java components that adhere to the JavaBeans specification and are meant to simplify the development of EJB clients. An access bean adapts an enterprise bean to the JavaBean programming model by hiding the home and remote interfaces from the developer. They provide fast access to enterprise beans by letting you maintain a local cache of enterprise bean attributes. Access beans make it possible to use an enterprise bean in much the same way that you would use a JavaBean.

There are four types of access beans:

  • EJB factory

  • Data class (for an entity bean)

  • JavaBean wrapper (for a session or entity bean)

  • Copy helper (for an entity bean)

Important

if you are migrating from VisualAge for Java, you will notice that ...

Get EJB 2.0 Development with WebSphere Studio Application Developer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.