This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, What are the issues in having inheritance in session bean ? i have methods which are common across all beans like ejbActivate(), ejbCreate(), ejbPassivate(), ejbRemove(), setSessionContext(). Can i move it to a super class ? and have their implementation in the bean class. Any links or sample code would be appreiciated ?
You can use inheritence in the EnterpriseBean "Impl" class. I have often put common and required methods in a base "AbstractEjbImpl" class to make my real impl classes simpler. It's just like writing any other java class in this regard.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com