~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to j2ee/platform/javahelp/org/netbeans/modules/j2ee/platform/docs/appclient/appclient_edit_dd.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
Import upstream version 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
 
 
3
<!--
 
4
*     Copyright � 2007 Sun Microsystems, Inc. All rights reserved.
 
5
*     Use is subject to license terms.
 
6
-->
 
7
<head>
 
8
    <title>Editing an Enterprise Application Client's Deployment Descriptors</title> 
 
9
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
10
    <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
11
</head>
 
12
 
 
13
<body>
 
14
 
 
15
<h2>Editing an Enterprise Application Client's Deployment Descriptors</h2>
 
16
<p><small><a href="#seealso">See Also</a></small></p>
 
17
<p>Deployment descriptors are XML-based text files whose elements describe how 
 
18
  to assemble and deploy a module to a specific environment. The elements also 
 
19
  contain behavioral information about components that is not included directly in code.</p>
 
20
<p>An application client generally has the following deployment descriptors:</p>
 
21
    <ul>
 
22
        <li><tt>application-client.xml</tt>. The general Java EE deployment descriptor that 
 
23
        configures deployment settings on any Java EE compliant implementation.</li>
 
24
        <li>The server-specific deployment descriptor that configures deployment 
 
25
        settings for the application server to which you are deploying.
 
26
        For application clients deployed to the Sun 
 
27
        Java System Application Server/GlassFish, the file is named <tt>sun-application-client.xml</tt>.
 
28
        The IDE provides a graphical deployment 
 
29
        descriptor editor for <tt>sun-application-client.xml</tt> and automatically updates the deployment descriptor as you 
 
30
        edit your files. 
 
31
        For other application servers, you have to write the 
 
32
        server-specific deployment descriptors yourself. </li>
 
33
    </ul>
 
34
    
 
35
<p>The deployment descriptors for an application client are located in the project's
 
36
<tt>src/conf</tt> folder. You can access the deployment descriptors from the 
 
37
project's Configuration Files node.</p>
 
38
 
 
39
<p><b>To edit <tt>application-client.xml</tt>:</b></p>
 
40
<ol>
 
41
  <li>In the Projects window, expand the Configuration Files node for your application client project.</li>
 
42
  <li>Double-click <tt>application-client.xml</tt> to open it in the Source Editor.
 
43
  You have to edit the XML code by hand using the IDE's XML code completion and validation. 
 
44
  There is no graphical editor for <tt>application-client.xml</tt>.</li>
 
45
</ol>
 
46
 
 
47
<p><b>To edit <tt>sun-application-client.xml</tt>:</b></p>
 
48
<ol>
 
49
  <li>Double-click <tt>sun-application-client.xml</tt> to open it in the graphical editor.<br>
 
50
    The graphical editor opens in a Source Editor tab.</li>
 
51
  <li>Edit the deployment descriptor as necessary.</li>
 
52
  <li>Click XML to edit the XML source for <tt>sun-application-client.xml</tt>. 
 
53
  The Source Editor provides code completion and validation for all XML files.</li>
 
54
</ol>
 
55
<p>To edit the server-specific deployment descriptor for any other application server:</p>
 
56
<ol>
 
57
  <li>Double-click the deployment descriptor node.<br>
 
58
    The IDE opens the XML source of the deployment descriptor in the Source Editor.</li>
 
59
</ol>
 
60
<ul class="note">
 
61
  <li>If you enter any XML syntax errors the IDE automatically alerts you. To 
 
62
    fully ensure your changes have not caused any errors, you should verify the 
 
63
    application client. </li>
 
64
</ul>
 
65
<dl>
 
66
    <dt><a name="seealso">See Also</a></dt>
 
67
    <dd><a href="appclient_about.html">About Enterprise Application Clients</a></dd>
 
68
    <dd><a href="appclient_create.html">Creating an Enterprise Application Client</a></dd>
 
69
    <dd><a href="../enterprise/general/add_modules_to_ent_app.html">Adding a Module to an Enterprise Application</a></dd>
 
70
    <dd><a href="../ejb/editing/call_ejb.html">Calling an Enterprise Bean</a></dd>
 
71
    <dd><a href="../enterprise/general/ent_app_verify.html">Verifying an Enterprise Application</a></dd>
 
72
</dl>
 
73
<hr>
 
74
<small> <a href="../credits.html">Legal Notices</a></small> 
 
75
<table cellpadding="50" border="0"> 
 
76
    <tr><td>&nbsp;</td></tr> 
 
77
</table> 
 
78
</body>
 
79
 
 
80
</html>
 
 
b'\\ No newline at end of file'