Java Reference
In-Depth Information
remote client and the server. So, always take care to choose the appropriate type of
exception when dealing with EJBs—choose to throw a runtime exception if you are
dealing with an unrecoverable scenario (the connection with the enterprise informa-
tion system is dropped). On the other hand, consider throwing a checked exception
(or simply not throwing exceptions at all) if you are dealing with a business kind of
exception; for example, if the booked seat is already engaged.
Search WWH ::




Custom Search