Update Somebean1.java

Updated the file and added an extra logger