Is there a better standard way to create getters and setters in Java?
It is quite verbose to have to explicitly define getters and setters for each variable. Is there a better standard annotations approach?
Does Spring have something like this?
Even C# has properties.
I'm not sure if you'd consider it 'standard', but Project Lombok addresses this problem. They use annotations to replace much of the verbosity of Java.
Some people are looking at alternative Java sibling languages, such as Groovy or Scala. I'm afraid it will take some years -if at all- before the JSR figures out a "standardized" way to "fix" this in Java proper.