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

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_about.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>About 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>About Java Persistence</h2>
 
17
    <p><small><a href="#seealso">See Also</a></small></p>
 
18
    
 
19
    
 
20
    <p>The Java Persistence API handles how relational data is mapped to persistent entity objects, 
 
21
        how these objects are stored in a relational database, and how an entity's state is persisted.
 
22
        The Java Persistence API is defined as part of the Java EE 5 specifications, 
 
23
        but can also be used in Java SE environments.
 
24
    </p>
 
25
    
 
26
    
 
27
    <h3>Java Persistence Features</h3>
 
28
    <p>The following features are part of the Java Persistence API:</p>
 
29
    <ul>
 
30
        <li>You can use an <a href="persistence_entityclasses.html">entity class</a> to create a persistent entity object in Java EE 5 applications. </li>
 
31
        <li>You can <a href="persistence_mapping.html">map persistent entity objects</a> to a relational database using Java annotations or XML descriptors. </li>
 
32
        <li>You can express queries in the native query language of the database or Java Persistence query language, which is an extension of the EJB query language.</li>
 
33
        <li>You can package entity classes in JAR, WAR, EJB JAR, and EAR modules.</li>
 
34
        <li>You can use an <a href="persistence_aboutentitymanager.html">entity manager</a> to perform <tt>Create Read Update Delete</tt> (CRUD) operations that involve entities.</li>
 
35
        <li>You can <a href="persistence_aboutunit.html#provide">specify the persistence provider</a> you want to use in your application.</li>
 
36
        <li>You can use <a href="persistence_support.html">Java Persistence API technology in Java SE applications</a>.</li>
 
37
    </ul>
 
38
 
 
39
    <p>For more on using Java Persistence in Java SE applications and for deploying application to non-Java EE 5 containers,
 
40
    see <a href="persistence_support.html">Adding Support for Java Persistence</a>.</p>
 
41
    
 
42
    <p>For more about the features of the Java Persistence API, see Chapter 24: Introduction to the Java Persistence API in the Java EE 5 Tutorial.</p>
 
43
    <p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
 
44
        <param name="content" value="http://java.sun.com/javaee/5/docs/tutorial/doc/">
 
45
        <param name="text" value="<html><u>http://java.sun.com/javaee/5/docs/tutorial/doc/</u></html>">
 
46
        <param name="textFontSize" value="medium">
 
47
        <param name="textColor" value="blue">
 
48
    </object>
 
49
    </p>
 
50
    
 
51
    <h3>Support for XML Descriptors</h3>
 
52
    <p>Although you do not need to specify additional XML descriptors, you have the option of using them as an alternative to annotations or to supplement or override some annotations. 
 
53
        Using an XML descriptor might be useful in externalizing object-relational mapping information. 
 
54
    Also, multiple XML descriptors can be useful in tailoring object-relational mapping information to different databases.</p>
 
55
 
 
56
    
 
57
    <dl>
 
58
        <dt><a name="seealso">See Also</a></dt>
 
59
        <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>
 
60
        <dd><a href="persistence_unit.html">Creating a Persistence Unit</a></dd>
 
61
        <dd><a href="persistence_entitymanager.html">Using an Entity Manager</a></dd>
 
62
        <dd><a href="persistence_support.html">Adding Support for Java Persistence</a></dd>
 
63
    </dl>
 
64
    
 
65
    <hr>
 
66
    <small> <a href="../../credits.html">Legal Notices</a></small> 
 
67
    <table cellpadding="50" border="0"> 
 
68
        <tr><td>&nbsp;</td></tr> 
 
69
    </table> 
 
70
    </body>
 
71
    
 
72
</html>