Author: buildbot
Date: Sun Apr 28 21:07:06 2013
New Revision: 860228

Log:
Staging update by buildbot for tomee

Added:
    websites/staging/tomee/trunk/content/tomee-and-netbeans.page/
Modified:
    websites/staging/tomee/trunk/cgi-bin/   (props changed)
    websites/staging/tomee/trunk/content/   (props changed)
    websites/staging/tomee/trunk/content/tomee-and-netbeans.html

Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Apr 28 21:07:06 2013
@@ -1 +1 @@
-1476081
+1476837

Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Apr 28 21:07:06 2013
@@ -1 +1 @@
-1476081
+1476837

Modified: websites/staging/tomee/trunk/content/tomee-and-netbeans.html
==============================================================================
--- websites/staging/tomee/trunk/content/tomee-and-netbeans.html (original)
+++ websites/staging/tomee/trunk/content/tomee-and-netbeans.html Sun Apr 28 
21:07:06 2013
@@ -133,11 +133,11 @@ lets just create a Java Web project in N
 with NetBeans and you know how to create and run a web project in NetBeans). 
In the server screen 
 we can add TomEE like the given screenshot below.</p>
 
-<p><img src="images/netbeans-serverCreate1.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-serverCreate1.png" alt="alt text" /></p>
 
 <p>Now hit next. In the next step you need to select the folder where the 
TomEE server is present.</p>
 
-<p><img src="images/netbeans-serverCreate2.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-serverCreate2.png" alt="alt text" /></p>
 
 <p>As soon as you hit finish your work is done. NetBeans would add the manager 
user in the tomcat 
 server and also you will get back to the project creation window. Continue to 
the step for choosing 
@@ -151,15 +151,15 @@ OpenJPA in Netbeans so that the netbeans
 So to do that you need to first create a connection to a database. Lets assume 
that we create one 
 for MySQL server as shown in the screenshot below.</p>
 
-<p><img src="images/netbeans-databaseConnection1.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-databaseConnection1.png" alt="alt text" 
/></p>
 
 <p>So once this connection is there we are ready to create Entity classes from 
the selected database.
 To do that follow the menu as shown in the screenshot below.
-<img src="images/netbeans-entityCreationStep1.png" alt="alt text" /></p>
+<img src="resources/images/netbeans-entityCreationStep1.png" alt="alt text" 
/></p>
 
 <p>Once you select "Entity Classes from Database" You will be presented with 
the follow dialog</p>
 
-<p><img src="images/netbeans-entityCreationStep2.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-entityCreationStep2.png" alt="alt text" 
/></p>
 
 <p>In this dialog first of all we would select the connection that we created 
before from the top 
 dropdown. Once you select the connection Netbeans would bring all the tables 
in 
@@ -173,12 +173,12 @@ is running). This is because by default 
 you need to open the persistence.xml file from the project (Project explorer 
-> double click on 
 persistence.xml). This would open the persistence.xml editor window. As shown 
below</p>
 
-<p><img src="images/netbeans-persistance1.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-persistance1.png" alt="alt text" /></p>
 
 <p>Now in this window we will select "New Persistence Library" option from the 
Persistence Library 
 dropdown. This will open the following dialog box.</p>
 
-<p><img src="images/netbeans-persistance2.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-persistance2.png" alt="alt text" /></p>
 
 <p>Here you need to choose the following two jar files from the TomEE 
installation 
 folder - javaee-api-6.0-4-tomcat.jar and openjpa-asm-shaded-2.2.0.jar. Do make 
sure that you 
@@ -186,7 +186,7 @@ are choosing the jar files from the same
 the proper libraries hit Ok to close the dialog and go back to the 
persistence.xml editor screen 
 of netbeans.</p>
 
-<p><img src="images/netbeans-persistance3.png" alt="alt text" /></p>
+<p><img src="resources/images/netbeans-persistance3.png" alt="alt text" /></p>
 
 <p>Now here from the persistence library choose OpenJPA and save the file as 
shown in the above 
 screenshot. Now just restart the server once and you are all set to run TomEE 
with JPA.</p>


Reply via email to