Common Code
The Coffee Break servers share the CoffeeBreak.properties file, which contains the URLs exposed by the JAX-RPC and SAAJ suppliers; the URLHelper class, which is used by the server and client classes to retrieve the URLs; the DateHelper utility class; and the following JavaBeans components:
AddressBean: shipping information for customer
ConfirmationBean: order id and ship date
CustomerBean: customer contact information
LineItemBean: order item
OrderBean: order id, customer, address, list of line items, total price
PriceItemBean: price list entry (coffee name and wholesale price)
PriceListBean: price list
The source code for the shared files is in the <INSTALL>/j2eetutorial14/examples/cb/common/src/com/sun/cb/ directory.
Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.