harvshen
发贴: 123
积分: 40
|
于 2004-05-15 22:08
check this sample =========================== This chapter covers how to create a Container Managed Persistence (CMP) EJB component. We will create two CMP beans, Item and Supplier as shown below. The Item bean will be responsible for storing the details of items, such as their availabability and their prices, for MyStore. The Supplier Bean stores details of Suppliers to MyStore. Both beans interact with corresponding tables in the database. In CMP this interaction is controlled by the container, in this case the JBOSS CMP container.
=========================== the above sample is the long sentence without any wrap (no new line characters inside), however when I copy-n-paste here, some new line characters were added ugly.
|