0
I Use This!
Activity Not Available
Analyzed about 1 year ago. based on code collected about 1 year ago.

Project Summary

This is an example project that uses Warp Persist and JPA to save application data. There is NO webapp integration, this is a simple console example and should serve as a decent starting point for back-end Guice applications that need to persist data.

There are 3 examples:

1) Dynamic Finders: This abstracts the finders to a DAO layer and uses warp's dynamic queries. http://warp-persist-sample.googlecode.com/svn/trunk/dynf/

2) Named Queries: This uses the injected entity manager directly within the managers to retrieve and persist data. http://warp-persist-sample.googlecode.com/svn/trunk/named/

3) Domain Driven Design: This uses domain driven design and places the database access methods right into the model (domain) classes themselves. This still needs some work. http://warp-persist-sample.googlecode.com/svn/trunk/ddd/

Eclipse was used as the IDE to develop these and the .project and .classpath files are included. The easiest way to view the samples is to checkout the root and import the project into eclipse. You will need to set a classpath variable for the root lib directory though: WARP_SAMPLES_LIB=../lib

All 3 applications are identical in functionality.

Let me know if there are any other Guice + warp-persist examples you would like to see.

-- Dave

Tags

basic example jpa persist simple warp

In a Nutshell, warp-persist-sample...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can embed statistics from Open Hub on your site
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    search using multiple tags to find exactly what you need

Languages

Languages?height=75&width=75
Java
80%
XML
20%

30 Day Summary

Apr 9 2016 — May 9 2016

12 Month Summary

May 9 2015 — May 9 2016

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!