This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Originally posted by julie sohn: EJB doesn't throw user defiend Exception??
EJB does throw User Defined Exceptions. Remote Exceptions should be declared to be thrown in remote component interfaces and beans. These are thrown when there is any problem in trying to access remote objects for any reasons. You can also throw user defined exceptions together with remote exceptions.
You need to make sure that you have same method signatures in remote component interface and bean implementation class.