Interview Questions

Is method overloading allowed in EJB?

EJB Interview Questions and Answers


(Continued from previous question...)

36. Is method overloading allowed in EJB?

Yes you can overload methods Should synchronization primitives be used on bean methods? - No. The EJB specification specifically states that the enterprise bean is not allowed to use thread primitives. The container is responsible for managing concurrent access to beans at runtime.

(Continued on next question...)

Other Interview Questions