Home > Uncategorized > Quickstart series: Spring+Spring Security+Jersey+Hibernate

Quickstart series: Spring+Spring Security+Jersey+Hibernate

I’m starting the ‘quickstart series’ – the initial post will be about these four technologies, integrated and fully functional.

The project is built with Maven and Eclipse, sou you may be able to checkout it and import it on your Eclipse (or other environments compatible with Eclipse, like Netbeans).

It is configured with:

Spring and Spring Security 3.0.5
Jersey 1.9
Hibernate 3.4.0
JPA 1.0
MySQL 5.1

If you want a different configuration, feel free to modify it as you wish and, if you don’t mind, please take a few minutes to update the repository. By the way, it is https://github.com/alesaudate/kickstart-springjerseyhibernate. Feel free to clone it and have a bootstrap on your project.


Categories: Uncategorized Tags: , , , , , , , ,
  1. Kamal
    09/13/2012 at 11:59 PM

    I just downloaded this project, imported it in eclipse,I did not see any database properties, or a sql script for database or tables name. is there anything missing here.
    thanks, your help is appreciated.

    • 09/14/2012 at 11:31 AM

      Hi, Kamal!

      This project is based on JPA, and it uses Maven for building/compiling and everything else. The configuration file is under the src/main/resources/META-INF source folder (it’s persistence.xml). Maven requires us to put every resource (i.e., non-compilable stuff) inside this source folder. Also, there is a database.xml file to wire JPA to Spring.

      Are you using any Maven plugin to build your project? I recommend you to install m2e over Eclipse, so you will be able to see all these stuff correctly, OK?

      — Alexandre

  2. kiranpocs
    11/30/2012 at 8:02 PM

    Nice to see your article….I was able to run it..Found that you are using Grizzly framework as well… not sure what it is…will go through it today….Thanks for the article

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: