Uploaded image for project: 'DayTrader'
  1. DayTrader
  2. DAYTRADER-39

Revise exception handling in EJB-tier to comply with spec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2
    • 1.2
    • EJB Tier
    • None

    Description

      While working to deploy Daytrader 1.2 on Sun Server 9 (Glassfish) with NetBeans 5.5, the NetBeans validation utilities pointed out spec violations associated with the exceptions thrown by classes in the EJB tier. To comply with the spec, the following high level rules were followed...

      • TradeServices.java - all methods should throw Exception and RemoteException
      • Trade.java - all methods should throw Exception and RemoteException
      • TradeBean and TradeJDBCBean - methods should simply throw Exception (not RemoteException)

      Attachments

        Activity

          People

            cjblythe25 Christopher James Blythe
            cjblythe25 Christopher James Blythe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: