Changes for page Your First Rest Project

Last modified by Steve Peery on 2013/09/06 11:02

From version 46.1
edited by Filippo Laurìa
on 2013/07/22 12:55
Change comment: There is no comment for this version
To version 48.1
edited by Filippo Laurìa
on 2013/09/06 11:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,7 +12,7 @@
12 12  
13 13  = Create a new project =
14 14  
15 -You will need to create a new project for this tutorial. In Eclipse, open the **File** menu, select **New** and select **Wonder REST Application**. Name your project as //BlogRest//.
15 +You will need to create a new project for this tutorial. In Eclipse, open the **File** menu, select **New** and select **Wonder REST Application** (or **ERRest Application**, according to //your// WOLips version). Name your project as //BlogRest//.
16 16  
17 17  = Create the database model =
18 18  
... ... @@ -134,6 +134,16 @@
134 134  
135 135  . When the database will be created, it will be stored in your home directory (/Users/youruser/ on OS X).
136 136  
137 +You can also specify an absolute path where to store in you h2 database files. For example on Windows OS **URL** field can be like this:
138 +
139 +{{code}}
140 +jdbc:h2:C:/Users/ ... /BlogTutorial
141 +{{/code}}
142 +
143 +//Notice, in the path, *nix like file separator "/" instead of Windows like// "\" (as you can read [[here>>url:http://www.h2database.com/html/faq.html||shape="rect"]]).
144 +
145 +
146 +
137 137  Now, right-click on **BlogModel** and select **New Entity**.
138 138  
139 139  Type the following details in the **Basic** tab: