|
January 2005
[
kschrader
]
15:14, Thursday, 6 January 2005
We moved an app into production a couple of weeks ago based upon Nanocontainer and Nanowar and everything has been going extremely well. The separation of containers in Nanowar is an awesome concept. It allowed us to have a Hibernate session start up exactly at the beginning each request and end exactly at the end of each request, with no extra effort on our part. This made all of our persistence work extremely easy, as I didn’t have to worry about any lifecycle issues. In fact, I didn’t have to worry about any lifecycle issues at all. If I wanted something to live for the life of the application, I put it in the application level container, if I wanted it to live for the life of a session, I put it in the session container, and if I just needed it for the life of a request, I put it in the request container. Nanowar took care of building all of the trees of containers for me. We're ramping up on another project now, and I'm definitely going with Nanowar again. It's one of the few frameworks I've worked with lately that actually makes complicated things massively easier to do. |