You cannot avoid getters/setters totally especially not at the "borders" of the application where you exchange data with different sources, but you can avoid them almost entirely at the "center" where you have your own classes concerned with the so called business logic of the application.
May some one explain more about it?
Business Logic is a board term for accessing the database, dealing with request parameters, working with beans and so on.... (anything that's not visual).
It has been cotectly mentioned that its used primarily for exchange of data , no business logic , but at times I have seen it to contain some validation stuff.Thats ok I guess.
Here and here are some amusing stories that show some of the goodness of keeping things private.
Let us know if that raises more questions!