Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

January 26 2008

robi42
17:58

Spring + Hibernate + Helma = Springinator :-)

Recently, I digged a bit deeper into integrating Spring, Hibernate and Helma: i.e. use Spring/Hibernate completely for the domain model, business logic, transaction management and persistance layer of an app plus Helma solely for its "web tier" (Jetty servlet container, URL generation/mapping, request/response + form handling, rendering and so on -- controller & view, if you want).

So here's a (very) first proof of concept. It's still quite rough around the edges for sure, has some issues to address/solve, e.g. proper exception handling, not to use Helma for (form) validation, but Spring etc. and yet some more missing features, e.g. security framework integration, i18n support, a bit of CSS styling and jQuery DOM/AJAX magic etc.
Anyways, I like this early working draft and am motivated to put more effort into it.
BTW, there's also a first (very basic) JUnit test case included. ;-)

Get it: springinator.zip

Note: if you want to run tests via Ant, make sure to have ant-junit.jar (available, e.g., through Spring Framework distribution lib dir) included in your Ant installation lib dir.