package lesson2;
import javax.ejb.Remote;
import javax.ejb.Stateless;
@Stateless
@Remote ({IHelloWorld.class})
public class HelloWorldBean implements IHelloWorld {
public String sayHello(String name) {
return name+"hello ,this is my first EJB";
}
}
EJB3.0之HelloWorld
5星 · 超过95%的资源 需积分: 13 70 浏览量
2008-10-03
19:02:06
上传
评论
收藏 967B RAR 举报
sx9401
- 粉丝: 2
- 资源: 2