Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Week: 2 Advanced Features of WebLogic > Developing Entity Beans Using Bean-Mana...

Day 13. Developing Entity Beans Using Bean-Managed Persistence

Yesterday you studied the second type of EJB, entity beans. You started the day by covering the concepts of entity beans. After this, you learned about the life cycle of an entity bean and studied a flowchart for developing an entity bean. You learned how entity beans can interact with a database using container-managed persistence (CMP) and bean-managed persistence (BMP). You devoted the rest of the day to understanding the concepts of CMP and learning how to use it for entity beans.

As part of the study of CMP, you learned about the newly introduced EJB Query Language (EJB QL) and how to write and embed queries in EJB QL. In addition to this, you also covered the extensions to EJB QL, provided by WebLogic Server, named WL QL. Finally, to reinforce the concepts studied throughout the day, you added the database interaction functionality to the restaurant application, implemented as entity beans that used CMP.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial