hello4azure example project

Rating: No reviews yet
Downloads: 55
Released: Sep 11, 2011
Updated: Sep 14, 2011 by taylor_cowan
Dev status: Beta Help Icon

Recommended Download

Example hello4azure
example, 8K, uploaded Sep 13, 2011 - 55 downloads

Release Notes

a super simple example project that shows how to use jpa4azure within a maven project. jpa4azure v0.6 is now hosted publicly on the main maven repo. The easiest way to get started is by downloading and modifying this project. To run it you'll first need to provide you own azure auth information within peristence.xml. This file is part of the JPA specification, and can be found in src\main\resources\META-INF. You need to provide your azure account name and your key.
<persistence>
    <persistence-unit name="my_azure_account" 
                      transaction-type="RESOURCE_LOCAL">
        <properties>
            <property name="azure.account.name" value="your account name goes here"/>
            <property name="azure.account.key" value="your account key goes here" />
        </properties>
    </persistence-unit>
</persistence>


Next run :
% mvn exec:java -Dexec.mainClass="com.codeplex.jpa4azure.hello4azure.App"

or alternatively use the eclipse (or other IDE) maven plugin to build and run the main method in App.java. Afterwards you should have one new table created, with one new row.

Reviews for this release

No reviews yet for this release.