GoodDayImpl.java :  » Collaboration » JacORB » demo » hello » Java Open Source

Java Open Source » Collaboration » JacORB 
JacORB » demo » hello » GoodDayImpl.java
package demo.hello;

import org.omg.CORBA.*;

public class GoodDayImpl 
    extends GoodDayPOA
{
    private String location;

    public GoodDayImpl( String location ) 
    {
        this.location = location;
    }

    public String hello_simple() 
    {
        return "Hello World, from " + location;
    }

    public String hello_wide(String wide_msg) 
    {
        System.out.println("The message is: " + wide_msg );
        return "Hello Wrld, from  1 2 3 0 *&^%$#@!@";
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.