public static void recoverPassword() {
try {
InitialContext context = new InitialContext();
UserBeanRemote userBean = (UserBeanRemote) context.lookup("ejb/UserBean");
userBean.recoverPassword("milena");
} catch (Exception e) {
e.printStackTrace();
}
}