Section 6.23. Reviewing Iteration 3


6.23. Reviewing Iteration 3

Before moving on to test buying a car, let's recap what we did in Iteration 3:

  • Upgraded the web site:

    • Added a "Buy Car" link to the Car Inventory page (carList.jsp).

    • Added a "Buy Car" action to the Controller Servlet.

  • Modified the Persistence Tier:

    • Created an ACCOUNTING table.

    • Wrote a HibernateAccountingDTO.

    • Developed a HibernateAccountingDAO.

  • Changed the Session Bean:

    • Added a new buyCar( ) method to the InventoryFacadeBean that encapsulated a Container-Managed Transaction that involved the CAR and ACCOUNTING tables.



JBoss at Work. A Practical Guide
JBoss at Work: A Practical Guide
ISBN: 0596007345
EAN: 2147483647
Year: 2004
Pages: 197

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net