Java Reference
In-Depth Information
Figure 2.5. The BidService EJB invokes the addBid method of BidDao and passes a Bid object. The BidDao
invokes the persist method of EntityManager to save the Bid entity into the database. When the transaction
commits, you'll see that a corresponding database record in the BIDS table will be stored.
 
Search WWH ::




Custom Search