5
* Copyright � 2007 Sun Microsystems, Inc. All rights reserved.
6
* Use is subject to license terms.
11
<title>Creating an EJB Module Project</title>
12
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
13
<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
18
<h2>Creating an EJB Module Project</h2>
19
<p><small><a href="#seealso">See Also</a></small></p>
20
<p>The IDE provides wizards to help you create EJB module projects for
21
EJB 3.0 enterprise beans (EJB 2.1 is a mandatory part of the EJB 3.0
23
The wizard can also help you create an EJB module if you already have existing source code.</p>
25
<li>Choose File > New Project (Ctrl-Shift-N) from the main window.</li>
26
<li>From the Enterprise category, select one of the following project templates:
28
<li><a href="../../enterprise/csh/NewEarProjectWizardIterator.html">Enterprise
29
Application</a>. Lets you create an EJB module project as part of an empty
30
enterprise application.</li>
31
<li><a href="../../enterprise/csh/ImportBlueprintEarWizardIterator.html">Enterprise
32
Application with Existing Sources</a>. Imports an existing enterprise
34
<li><a href="../csh/ejb_new_wizard.html">EJB Module</a>. Creates an empty
35
EJB module in a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
36
<param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/glossary_standard.html">
37
<param name="viewerActivator" value="javax.help.LinkLabel">
38
<param name="viewerStyle" value="javax.help.Popup">
39
<param name="viewerSize" value="400,220">
40
<param name="text" value="standard EJB module project">
41
<param name="textFontSize" value="medium">
42
<param name="textFontFamily" value="SansSerif">
43
<param name="textFontStyle" value="italic">
44
<param name="textFontWeight" value="bold">
45
<param name="textColor" value="blue">
47
<li><a href="../csh/ejb_with_source_wizard1.html">EJB Module with Existing
48
Sources</a>. Imports an existing EJB module into a standard project.</li>
49
<!--<li><a href="../csh/freeform_ejb_wizard.html">EJB Module with Existing Ant
50
Script</a>. Imports an existing EJB module into a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
51
<param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/glossary_freeform.html">
52
<param name="viewerActivator" value="javax.help.LinkLabel">
53
<param name="viewerStyle" value="javax.help.Popup">
54
<param name="viewerSize" value="400,160">
55
<param name="text" value="free-form project">
56
<param name="textFontSize" value="medium">
57
<param name="textFontFamily" value="SansSerif">
58
<param name="textFontStyle" value="italic">
59
<param name="textFontWeight" value="bold">
60
<param name="textColor" value="blue">
64
<li>Follow the steps in the rest of the wizard.</li>
68
<li>When you import an individual EJB module into a standard project,
69
the module can have any folder structure. When importing an entire application
70
using the Enterprise Application with Existing Sources template, the project's
71
folder structure must adhere to the
72
<object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
73
<param name="content" value="nbdocs://org.netbeans.modules.visualweb.ravehelp.rave_nbpack/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/glossary/blueprints.html">
74
<param name="viewerActivator" value="javax.help.LinkLabel">
75
<param name="viewerStyle" value="javax.help.Popup">
76
<param name="viewerSize" value="450,680">
77
<param name="text" value="J2EE Blueprints conventions for application structure">
78
<param name="textFontSize" value="medium">
79
<param name="textColor" value="blue">
80
</object>. For more information, see:
81
<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
82
<param name="content" value="http://java.sun.com/blueprints/code/projectconventions.html">
83
<param name="text" value="<html><u>http://java.sun.com/blueprints/code/projectconventions.html</u></html>">
84
<param name="textFontSize" value="medium">
85
<param name="textColor" value="blue">
88
<li>For standard EJB module projects, the IDE does not support J2EE 1.3 EJB modules
89
and automatically updates the version number of your EJB module's <tt>ejb-jar.xml</tt>
90
to 1.4. The J2EE 1.4 specification is fully backward-compatible, so upgrading
91
the specification level does not change the behaviour of your code. </li>
94
<dt><a name="seealso">See Also</a></dt>
95
<dd><a href="nbdocs://org.netbeans.modules.visualweb.ravehelp.rave_nbpack/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/about/create_webapps_proj.html">Creating a Web Application Project</a></dd>
96
<dd><a href="../../enterprise/general/ent_app_creating.html">Creating an Enterprise Application Project</a></dd>
97
<dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/proj_stand_about.html">About Standard Projects</a></dd>
98
<dd><a href="../general/ejb_process.html">Working With Enterprise Beans</a></dd>
102
<small> <a href="../../credits.html">Legal Notices</a></small>
103
<table cellpadding="50" border="0">
104
<tr><td> </td></tr>
b'\\ No newline at end of file'