The benefits of using this bean is we don’t have to write any SQL code or use the JDBC API to perform Database operations. EJB itself will handle this.
message driven bean
entity bean
session bean
page bean