	


	public boolean start()
	{
		System.out.println("Starting my application JksScheduler ********* ");

		
		try
		{
         	InitialContext initialContext = new InitialContext();
          	
            Object theAgentHomeObj = initialContext.lookup("ejb/jks/MyAgent");
            System.out.println("Found My Agents Home");
            MyAgentHome theAgentHome = (MyAgentHome)javax.rmi.PortableRemoteObject.narrow(theAgentHomeObj,MyAgentHome.class);
            System.out.println("   and My Agent is at home");
          
            MyAgent theAgent = theAgentHome.create();
            
            theAgent.stirUpTrouble("real soon");
            System.out.println("MyAgent booted successfully");
            
		} 
		catch (javax.ejb.CreateException ce )
		{
        	System.out.println("Boot Error Creating theAgent ********");
        	return( false );			
		}
		catch (java.rmi.RemoteException re )
		{
        	System.out.println("Boot Error remote exception on theAgent ********");
        	return( false );			
		}           
        catch (javax.naming.NamingException ne) 
        {
        	
        	System.out.println("Boot Error getting MyAgentHome from the namespace ********");
        	return( false );
            //throw new EJBException(ne);
        }             		
		
		return true;
	}
	
	public void stop()
	{
		System.out.println("Stopping my application JksScheduler ********* ");
		return;
	}