Examples of replacePerson()


Examples of org.jboss.demo.cluster.slsb.StatelessSession.replacePerson()

    String id = System.console().readLine();
    System.out.print( "Enter new name: " );
    String name = System.console().readLine();
    StatelessSession slsb = getStatelessSessionBean();
    String server = slsb.getServer();
    slsb.replacePerson( Long.valueOf( id ), name );
    System.out.println( "Changed person name on server " + server );
  }

  private void listPersons() throws NamingException {
    StatelessSession slsb = getStatelessSessionBean();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.