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.

Bug 115768 - Need to provide instructions to generate code for EJB design pattern
Summary: Need to provide instructions to generate code for EJB design pattern
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: UML (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 00:07 UTC by Sherry Zhou
Modified: 2008-10-14 00:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Zhou 2007-09-18 00:07:18 UTC
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
Comment 1 Peter Lam 2008-06-11 23:19:00 UTC
This is a documentation issue. re-classified to documentations.
Comment 2 Bob May 2008-10-14 00:37:03 UTC
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