문제

I am not able to create EJB 2.1 beans using a wizard in the latest version of Eclipse. I only see options to create EJB 3.0 beans.

I selected 2.1 as the 'EJB Module Version' while creating the "EJB Project". But now when I want to create a session bean, I don't see any option to create a 2.1 bean.

Is there a plugin/setting I need to enable ?

도움이 되었습니까?

해결책

According to documentation the only way to create EJB < 3.0 in eclipse 3.5 is creating with XDoclet (I've never done before).

다른 팁

Yes, it's right, you can do it only with XDoclet, so in eclipse preferences, handle the xdoclet libraries, and choose XDoclet Entreprise Bean during EJB creation.

XDoclet will aim you to create all required classes and files.

Good luck.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top