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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.