public static void createLinkRef(String fromName, String toName) throws NamingException {
    """
	Create a link
	
	@param fromName the from name
	@param toName the to name
	@throws NamingException for any error
    """
      InitialContext ctx = new InitialContext();
      createLinkRef(ctx, fromName, toName);
   }
public static void createLinkRef(String fromName, String toName) throws NamingException
   {
      InitialContext ctx = new InitialContext();
      createLinkRef(ctx, fromName, toName);
   }
public static void createLinkRef ( String fromName , String toName ) throws NamingException { InitialContext ctx = new InitialContext ( ) ; createLinkRef ( ctx , fromName , toName ) ; }
Create a link

@param fromName the from name
@param toName the to name
@throws NamingException for any error
Create a link