开发者

ejb starter problem

I am using JBoss 6.0.1M5.

Starting on EJBs. The tutorial I am reviewing is rather old(talks about 2.0) but I wanted to learn the concepts before going t开发者_JAVA技巧o latest.

Anyway I am using eclipse and the javax.ejb.sessionbean can not be located.

I have created a new EJB project and have added the jboss runtime. No problem locating the ejbHome and ejbObject.

Why the javax.ejb.session bean is not found? Any ideas?

Thanks


EJB 3 is completely different to EJB 2 - they really have very little in common, and so using an EJB 2.0 tutorial to learn modern EJB isn't going to be of any help. Also, EJB 2 was just terrible, it's best to try and forget it ever existed.

I suggest you start with the official JavaEE 5 tutorial instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜