This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
trunk build 0709140225 If user generates code for EJB design pattern to a java application, the EJB library is not specified/loaded in the java application and will get compilation error. It has to generate code to an enterprise project. This should be documented either as the FAQ or in release node. - Install IDE with J2EE SDK - Create an Enterprise application - Create a class diagram. From diagram canvas, call context menu Apply Design pattern - In the wizard, select EJB2.0 and generate class diagram. - Generate code and specify the target project to the Enterprise application
This is a documentation issue. re-classified to documentations.
The following has been added to EJB Design Patterns Note on Creating Enterprise Java Beans Before you generate code for EJB design pattern to a java application you must ensure the EJB library is specified/loaded in the Java application; code must be generated to an enterprise project. To do so: Install IDE with J2EE SDK Create an Enterprise application Create a class diagram. From diagram canvas, invoke the context menu Apply Design pattern In the wizard, select EJB2.0 and generate class diagram. Generate code and specify the target project to the Enterprise application