1.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/configure/about_webapp_configure.html Wed Apr 15 11:54:28 2009 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,83 +0,0 @@
1.4 -
1.5 -<html>
1.6 -
1.7 -<!--
1.8 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
1.9 - * Use is subject to license terms.
1.10 --->
1.11 -<head>
1.12 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
1.13 -
1.14 -
1.15 -<title>About Configuring Web Applications</title>
1.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
1.17 -
1.18 -</head>
1.19 -<body>
1.20 -
1.21 -<h2>About Configuring Web Applications</h2>
1.22 -<p><small><a href="#seealso">See Also</a></small></p>
1.23 -<p>You configure your web applications at several different levels.</p>
1.24 -<h3>Project Contents and Classpath</h3>
1.25 -<p>Basic project settings like the web application's source roots and classpath are
1.26 - set in the application's Project Properties dialog box. You open this dialog box
1.27 - by right-clicking the web application's project node and choosing Properties. </p>
1.28 -<p>For standard projects, you can add source roots in the Sources page of the
1.29 - Project Properties dialog box. You can quickly add to the compilation and test
1.30 - classpath by right-clicking the Libraries or Test Libraries node in the Projects
1.31 - window. To further configure the classpath, or to specify which items should
1.32 - be included in deployment, use the Libraries page of the Project Properties
1.33 - dialog box.</p>
1.34 -<p>For free-form projects, there are no Libraries or Test Libraries nodes. The
1.35 - classpath and source roots are managed completely by your project's Ant script.
1.36 - In the Java Sources and Java Sources Classpath pages of the Project Properties dialog box, you just
1.37 - configure the project to match the settings that already exist in your Ant script.
1.38 - This tells the IDE which classes to offer for debugging, code completion, and
1.39 - so forth.</p>
1.40 -<h3>Deployment Settings</h3>
1.41 -<p>There are several key steps to configuring deployment settings:</p>
1.42 -<ul>
1.43 - <li><b>Setting the target server.</b> You can have several instances of your favorite server
1.44 - registered. You can set the target server instance for a web application by doing
1.45 - any of the following:
1.46 - <ul>
1.47 - <li>Specifying the server in the New Project wizard when creating the project.</li>
1.48 - <li>Going to an web application's Project Properties dialog box and setting the
1.49 - target server in the Run page.</li>
1.50 - <li>Adding the web application to an enterprise application. The web application is then
1.51 - deployed to the same server instance as the enterprise application.</li>
1.52 - </ul>
1.53 - </li>
1.54 - <li><b>Adding the web application to a J2EE application.</b> You can add a web application
1.55 - to an enterprise project by doing any of the following:
1.56 - <ul>
1.57 - <li>Specifying the enterprise application in the New Project wizard when
1.58 - creating the project.</li>
1.59 - <li>Right-clicking the J2EE Modules node for any enterprise application
1.60 - project and choosing Add J2EE Module.</li>
1.61 - </ul>
1.62 - </li>
1.63 - <li><b>Configuring deployment descriptors.</b> The IDE automatically updates
1.64 - your deployment descriptors as you code your web application. Whenever you insert
1.65 - a call to an enterprise bean, for example, the IDE automatically
1.66 - enters the necessary information in your deployment descriptors. You can manually
1.67 - configure your deployment descriptors by expanding the web application's Configuration
1.68 - Files node and double-clicking <tt>web.xml</tt>, <tt>sun-web.xml</tt>, or <tt>context.xml</tt>.</li>
1.69 -</ul>
1.70 -<dl>
1.71 -<dt><a name="seealso">See Also</a></dt>
1.72 -<dd><a href="../about/about_webapps.html">About Web Applications</a></dd>
1.73 -<dd><a href="nbdocs://org.netbeans.modules.j2ee.platform/org/netbeans/modules/j2ee/platform/docs/ejb/general/about_deployment_descriptors.html">About Deployment Descriptors</a></dd>
1.74 -<dd><a href="configure_webapp_dd.html">Configuring Web Application Deployment Descriptors</a></dd>
1.75 -</dl>
1.76 -
1.77 -<hr>
1.78 -<small><a href="../../credits.html">Legal Notices</a></small>
1.79 -<table cellpadding="20" border="0">
1.80 -<tr><td> </td></tr>
1.81 -<tr><td> </td></tr>
1.82 -<tr><td> </td></tr>
1.83 -</table>
1.84 -
1.85 - </body>
1.86 -</html>
2.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/configure/configure_webapp_dd.html Wed Apr 15 11:54:28 2009 +0200
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,250 +0,0 @@
2.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2.5 -<!--
2.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
2.7 - * Use is subject to license terms.
2.8 -> -->
2.9 -<html>
2.10 -<head>
2.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
2.12 - <meta content="3Jul07" name="lastupdated"><!--p2-->
2.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
2.14 - rel="stylesheet" type="text/css">
2.15 - <meta content="Helen" name="generator">
2.16 - <title>Configuring Web Application Deployment Descriptors</title>
2.17 - </head>
2.18 - <body>
2.19 - <h2>
2.20 - Configuring Web Application Deployment Descriptors
2.21 - </h2>
2.22 - <p>
2.23 - <a href="#seealso"><small>See Also</small></a>
2.24 - </p>
2.25 - <p>
2.26 - Deployment descriptors are XML-based text files whose elements describe how to assemble and
2.27 - deploy a module to a specific environment. The elements also contain behavioral information
2.28 - about components not included directly in code.
2.29 - </p>
2.30 - <p>
2.31 - For web applications, there are three types of deployment descriptors:
2.32 - </p>
2.33 - <ul>
2.34 - <li>
2.35 - <tt><b>web.xml.</b></tt> The general web application deployment descriptor that configures
2.36 - deployment settings for components belonging to a web application, such as servlets and JSP
2.37 - files.
2.38 - </li>
2.39 - <li>
2.40 - <tt><b>sun-web.xml.</b></tt> The server-specific deployment descriptor that configures
2.41 - deployment settings for the Glassfish application server.
2.42 - </li>
2.43 - <li>
2.44 - <tt><b>context.xml.</b></tt>The server-specific deployment descriptor that configures
2.45 - deployment settings for the Tomcat Web Server.
2.46 - </li>
2.47 - </ul>
2.48 - <p>
2.49 - <b>To edit <tt>web.xml</tt>:</b>
2.50 - </p>
2.51 - <ol>
2.52 - <li>
2.53 - In the Projects window, expand the Configuration Files node for your web application
2.54 - project.
2.55 - </li>
2.56 - <li>
2.57 - Double-click <tt>web.xml</tt> to open it in the <tt>web.xml</tt> Visual Editor.
2.58 - <p>
2.59 - The <tt>web.xml</tt> Visual Editor opens in a Source Editor tab. The editor contains an
2.60 - Overview section and a section for most of the elements in the <tt>web.xml</tt> file.
2.61 - </p>
2.62 - </li>
2.63 - <li>
2.64 - Edit the deployment descriptor as necessary. See the following topics for more information:
2.65 - </li>
2.66 - <li style=" list-style-image: none; list-style-type: none;">
2.67 - <ul>
2.68 - <li>
2.69 - <a href=
2.70 - "../csh/graphic_editor/dd_multiview_overview_overviewNode.html"><tt>web.xml</tt> Visual
2.71 - Editor: General</a>
2.72 - </li>
2.73 - <li>
2.74 - <a href=
2.75 - "../csh/graphic_editor/dd_multiview_overview_contextParamsNode.html"><tt>web.xml</tt>
2.76 - Visual Editor: Context Parameters</a>
2.77 - </li>
2.78 - <li>
2.79 - <a href=
2.80 - "../csh/graphic_editor/dd_multiview_overview_listenersNode.html"><tt>web.xml</tt>
2.81 - Visual Editor: Web Application Listeners</a>
2.82 - </li>
2.83 - <li>
2.84 - <a href=
2.85 - "../csh/graphic_editor/dd_multiview_servlets_servletsNode.html"><tt>web.xml</tt> Visual
2.86 - Editor: Servlets</a>
2.87 - </li>
2.88 - <li>
2.89 - <a href="../csh/graphic_editor/dd_multiview_filters_filtersNode.html"><tt>web.xml</tt>
2.90 - Visual Editor: Filters</a>
2.91 - </li>
2.92 - <li>
2.93 - <a href=
2.94 - "../csh/graphic_editor/dd_multiview_pages_welcomeFilesNode.html"><tt>web.xml</tt>
2.95 - Visual Editor: Welcome Files</a>
2.96 - </li>
2.97 - <li>
2.98 - <a href="../csh/graphic_editor/dd_multiview_pages_errorPagesNode.html"><tt>web.xml</tt>
2.99 - Visual Editor: Error Pages</a>
2.100 - </li>
2.101 - <li>
2.102 - <a href=
2.103 - "../csh/graphic_editor/dd_multiview_pages_jspPropertyGroupsNode.html"><tt>web.xml</tt>
2.104 - Visual Editor: JSP Property Groups</a>
2.105 - </li>
2.106 - <li>
2.107 - <a href=
2.108 - "../csh/graphic_editor/dd_multiview_references_envEntriesNode.html"><tt>web.xml</tt>
2.109 - Visual Editor: Environment Entries</a>
2.110 - </li>
2.111 - <li>
2.112 - <a href=
2.113 - "../csh/graphic_editor/dd_multiview_references_resRefsNode.html"><tt>web.xml</tt>
2.114 - Visual Editor: Resource References</a>
2.115 - </li>
2.116 - <li>
2.117 - <a href=
2.118 - "../csh/graphic_editor/dd_multiview_references_resEnvRefsNode.html"><tt>web.xml</tt>
2.119 - Visual Editor: Resource Environment References</a>
2.120 - </li>
2.121 - <li>
2.122 - <a href=
2.123 - "../csh/graphic_editor/dd_multiview_references_ejbRefsNode.html"><tt>web.xml</tt>
2.124 - Visual Editor: EJB References</a>
2.125 - </li>
2.126 - <li>
2.127 - <a href=
2.128 - "../csh/graphic_editor/dd_multiview_references_messageDestRefsNode.html"><tt>web.xml</tt>
2.129 - Visual Editor: Message Destination References</a>
2.130 - </li>
2.131 - <li>
2.132 - <a href=
2.133 - "../csh/graphic_editor/dd_multiview_security_loginconfigNode.html"><tt>web.xml</tt>
2.134 - Visual Editor: Login Configuration</a>
2.135 - </li>
2.136 - <li>
2.137 - <a href=
2.138 - "../csh/graphic_editor/dd_multiview_security_securityrolesNode.html"><tt>web.xml</tt>
2.139 - Visual Editor: Security Roles</a>
2.140 - </li>
2.141 - <li>
2.142 - <a href=
2.143 - "../csh/graphic_editor/dd_multiview_security_securityconstraintsNode.html"><tt>web.xml</tt>
2.144 - Visual Editor: Security Constraints</a>
2.145 - </li>
2.146 - </ul>
2.147 - </li>
2.148 - <li>
2.149 - (Optional) Click XML at the top of the <tt>web.xml</tt> Visual Editor to view and edit the
2.150 - deployment descripor's XML code.
2.151 - </li>
2.152 - <li>
2.153 - Choose File > Save to save your changes.
2.154 - </li>
2.155 - </ol>
2.156 - <p>
2.157 - <b>To edit <tt>sun-web.xml</tt>:</b>
2.158 - </p>
2.159 - <ol>
2.160 - <li>
2.161 - In the Projects window, expand the Configuration Files node for your web application
2.162 - project.
2.163 - </li>
2.164 - <li>
2.165 - Double-click <tt>sun-web.xml</tt> to open it in the graphical editor.<br>
2.166 - The graphical editor opens in a Source Editor tab. The editor contains a tree view of the
2.167 - module's contents on the left and property editors for each item on the right.
2.168 - </li>
2.169 - <li>
2.170 - Edit the deployment descriptor as necessary. See the following topics for more information:
2.171 -
2.172 - <ul>
2.173 - <li>
2.174 - <a href=
2.175 - "nbdocs://org.netbeans.modules.j2ee.sun.appsrv81/org/netbeans/modules/j2ee/sun/ide/docs/configeditors/WebAppGeneral.html">
2.176 - <tt>sun-web.xml</tt> Visual Editor: General</a>
2.177 - </li>
2.178 - <li>
2.179 - <a href=
2.180 - "nbdocs://org.netbeans.modules.j2ee.sun.appsrv81/org/netbeans/modules/j2ee/sun/ide/docs/configeditors/WebserviceDescriptor.html">
2.181 - <tt>sun-web.xml</tt> Visual Editor: Web Services</a>
2.182 - </li>
2.183 - <li>
2.184 - <a href=
2.185 - "nbdocs://org.netbeans.modules.j2ee.sun.appsrv81/org/netbeans/modules/j2ee/sun/ide/docs/configeditors/WebAppMessages.html">
2.186 - <tt>sun-web.xml</tt> Visual Editor: Messages</a>
2.187 - </li>
2.188 - </ul>
2.189 - </li>
2.190 - <li>
2.191 - Choose File > Save to save your changes.
2.192 - </li>
2.193 - </ol>
2.194 - <ul class="note">
2.195 - <li>
2.196 - If you enter any XML syntax errors the IDE automatically alerts you. To fully ensure your
2.197 - changes have not cause any errors, you should verify the web application.
2.198 - </li>
2.199 - </ul>
2.200 - <p>
2.201 - <b>To edit <tt>context.xml</tt>:</b>
2.202 - </p>
2.203 - <ol>
2.204 - <li>
2.205 - In the Projects window, expand the Configuration Files node for your web application
2.206 - project.
2.207 - </li>
2.208 - <li>
2.209 - Double-click <tt>context.xml</tt> to open it in the graphical editor.<br>
2.210 - The graphical editor opens in a Source Editor tab. The editor contains a tree view of the
2.211 - module's contents on the left and property editors for each item on the right.
2.212 - </li>
2.213 - <li>
2.214 - Edit the deployment descriptor as necessary.
2.215 - </li>
2.216 - <li>
2.217 - Choose File > Save to save your changes.
2.218 - </li>
2.219 - </ol>
2.220 - <ul class="note">
2.221 - <li>
2.222 - If you enter any XML syntax errors the IDE automatically alerts you. To fully ensure your
2.223 - changes have not cause any errors, you should verify the web application.
2.224 - </li>
2.225 - </ul>
2.226 - <dl>
2.227 - <dt>
2.228 - <a name="seealso">See Also</a>
2.229 - </dt>
2.230 - <dd>
2.231 - <a href=
2.232 - "nbdocs://org.netbeans.modules.j2ee.platform/org/netbeans/modules/j2ee/platform/docs/ejb/general/about_deployment_descriptors.html">
2.233 - About Deployment Descriptors</a>
2.234 - </dd>
2.235 - <dd>
2.236 - <a href=
2.237 - "nbdocs://org.netbeans.modules.j2ee.platform/org/netbeans/modules/j2ee/platform/docs/ejb/configuring/config_ejb_dd.html">
2.238 - Configuring EJB Deployment Descriptors</a>
2.239 - </dd>
2.240 - <dd>
2.241 - <a href="../create/filter/filter_addtodd.html">Registering a Filter</a>
2.242 - </dd>
2.243 - <dd>
2.244 - <a href="../create/listener/listener_addtodd.html">Registering a Web Application
2.245 - Listener</a>
2.246 - </dd>
2.247 - </dl>
2.248 - <hr>
2.249 - <p>
2.250 - <a href="../../credits.html"><small>Legal Notices</small></a>
2.251 - </p>
2.252 - </body>
2.253 -</html>