BSF (Bean Script Framework) sample implemented by java