Package de.danet.an.util

Examples of de.danet.an.util.UtilHome


     */
    public void getEJBPrincipal() throws Exception {
  InitialContext ic = new InitialContext();
  Object objref = ic.lookup
      ("ejb/de.danet.an.workflow.util-lib.Util");
  UtilHome home = (UtilHome)PortableRemoteObject.narrow
      (objref, UtilHome.class);
  assertTrue (home != null);
  de.danet.an.util.Util ut = home.create();
  assertTrue (ut != null);
  Principal p = ut.getEJBPrincipal();
  assertTrue(p != null);
  assertTrue("Principal is: " + p.getName(),
       p.getName().startsWith("StaffManagementMember_"));
View Full Code Here

TOP

Related Classes of de.danet.an.util.UtilHome

Copyright © 2018 www.massapicom. 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.