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.
It's a confusing question.. As far as i remember Java Beans specification requires both setter and getter. But in the JSP/Servlet technology we can use beans, that can setter or getter alone, if the user doesn't use them in opposite way. For example, if the user calls only <jsp:getProperty>, then container (or compiler, or anything) will not complain, if the bean have no setter.