Spring Application: refactoring

renamed resource method
Java EE Application: refactoring

renamed resource method
Java EE Application: refactoring producers

One producer for both beans