Hi All, I was going through HF EJB and found that, in an Entity bean code, home business methods do not declare Remote Exceptions. Whereas other methods like create method / finder method do declare exceptions. Can anybody tell me why home business methods cannot declare Remote Exceptions?
oops, sorry. My question has to be like this Implementation of ejbCreate methods in session beans do not declare CreateException in bean code. Implementation of ejbCreate methods in entithy beans do declare CreateException in bean code. This i am not sure, i saw a piece of code in HFEJB, when i was reading chapter 5 - Entity bean synchronization. Is it really entity beans can declare exceptions(other than custom exceptions) when implementing create / finder methods in bean class.