This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
"Is a bean allowed and equals and hashCode method?"
Yes, a bean is just a class, just like any other class, so it can have an equals and hashCode method - in fact it might even be a good idea to provide these methods.
"Do all fields in a bean have to have both getters and setters?"
No, only the fields that you want to expose to the world outside the bean. The bean might have fields that are for internal use only. And indeed you can have read-only properties for which you only provide a getter and no setter.