I don't think anyone is going to claim that Hibernate is always faster than BMP without knowing anything about the application.
That said, I'm working with an application that is has mosty SSBs with Hibernate (a few entities as well, but they are all read only). With regards to performance, I found Hibernate easier to tune for performance (cacheing, etc.) than the straight JDBC BMP that I had used before.
Also, using Hibernate also allows a design that has coarse-grained entity EJBs (recommended) for the clients, while simultaneously allowing fine grained POJOs for the SSB implementations. This avoids the 'too many entities in a transaction' anti-pattern that many teams face when first implementing an EJB-based application.
|