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.
I have many java classes for querying database. These classes are injected by CDI Weld on managed bean.
Is there any way(cdi, cglib, javassist...) which do not need write this method "get?AsMyObject" all time?
All classes looks like this below:
I have not studied Weld in detail, but in JSF, you normally would not be coding a lot of "get" method calls to set variables, because JSF is based on Inversion of Control and so JSF itself sets the variables (properties) by invoking the backing bean's "set" methods.
Customer surveys are for companies who didn't pay proper attention to begin with.