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)