Design Guidelines

Using entity beans is a practice that many users of application servers do not want to venture into. Part of this is due to the lack of understanding; the other part is due to the lack of capabilities in earlier versions of the EJB specification. As we look at entity beans, keep in mind two important considerations when designing the architecture:

  • Using local interfaces versus remote interfaces

  • Container managed persistence versus bean managed persistence

Use the Local Interface

When accessing data remotely, the result of the data has to be moved from one location to another, thus, data has to be serialized. This process of serialization is expensive. In other words, the latency of serializing data, sending it over the wire, ...

Get Borland® JBuilder™ Developer’s Guide 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.