~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_support.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--
 
3
 * Copyright � 2007 Sun Microsystems, Inc. 
 
4
 * All rights reserved.
 
5
 * Use is subject to license terms.
 
6
-->
 
7
<html>
 
8
<head>
 
9
        <title>Adding Support for Java Persistence</title> 
 
10
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
11
        <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
12
        
 
13
    </head>
 
14
    <body>
 
15
        
 
16
        <h2>Adding Support for Java Persistence</h2>
 
17
        <p><small><a href="#seealso">See Also</a></small></p>
 
18
        <p>Support for Java Persistence is available to Java EE 5 and Java SE applications running on the Java EE 5 platform.
 
19
            If you have a J2EE 1.4 application it is possible to use Java Persistence if the target container is running on the Java EE 5 platform. 
 
20
        The container does not need to be a Java EE 5 container.</p>
 
21
        <ul class="note">
 
22
            <li>You cannot use a container-managed entity manager in a J2EE 1.4 application.</li>
 
23
        </ul>
 
24
        <p>
 
25
            If your target server is not a Java EE 5 container, you can add support for Java Persistence functionality 
 
26
            by adding the TopLink Essentials library to the project or the classpath of the container.
 
27
        The TopLink Essentials library contains the necessary libraries to support Java Persistence.
 
28
        The TopLink Essentials library is bundled with the IDE.</p>
 
29
        
 
30
        <p><b>To add Java Persistence support to the project:</b></p>
 
31
        <ol>
 
32
            <li>In the Projects window, expand your project node, right-click the Libraries node and choose Add Library.</li>
 
33
            <li>In the Add Library dialog box, select TopLink Essentials and click Add Library.</li>
 
34
        </ol>
 
35
        <p>When you add the TopLink Essentials library to your project, the TopLink Essentials library will be packaged with the EAR or WAR file
 
36
        when you build the project.</p>
 
37
        <dl>
 
38
            <dt><a name="seealso">See Also</a></dt>
 
39
            <dd><a href="nbdocs://org.netbeans.modules.j2ee.platform/org/netbeans/modules/j2ee/platform/docs/enterprise/general/ent_app_process.html">Working with Enterprise Applications</a> </dd>
 
40
            <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/compile/comp_classpath.html">Managing the Classpath</a></dd>
 
41
            <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/compile/comp_libraries.html">About Java Class Libraries</a></dd>
 
42
            <dd><a href="persistence_about.html">About Java Persistence</a> </dd>
 
43
        </dl>
 
44
        
 
45
        <hr>
 
46
        <small> <a href="../../credits.html">Legal Notices</a></small> 
 
47
        <table cellpadding="50" border="0"> 
 
48
            <tr><td>&nbsp;</td></tr> 
 
49
        </table> 
 
50
    </body>
 
51
    
 
52
</html>