User: reverbel
Date: 02/03/14 16:00:38
Added: src/main/org/jboss/test/helloiiop/ejb HelloBean.java
Log:
Added initial version of the first IIOP test.
Revision Changes Path
1.1 jbosstest/src/main/org/jboss/test/helloiiop/ejb/HelloBean.java
Index: HelloBean.java
===================================================================
/*
* Copyright 1999 by dreamBean Software,
* All rights reserved.
*/
package org.jboss.test.helloiiop.ejb;
import javax.ejb.EJBException;
import org.jboss.test.util.ejb.SessionSupport;
import org.jboss.test.helloiiop.interfaces.Hello;
import org.jboss.test.helloiiop.interfaces.HelloData;
/**
*
* @author [EMAIL PROTECTED]
* @version $Revision: 1.1 $
*/
public class HelloBean
extends SessionSupport
{
public String hello(String name)
{
return "Hello "+name+"!";
}
public Hello helloHello(Hello hello)
{
return hello;
}
public String howdy(HelloData name)
{
return "Howdy "+name.getName()+"!";
}
public void throwException()
{
throw new EJBException("Something went wrong");
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development