Wednesday, January 2, 2008

Development frustration

In this new project, i was using Service Facade design pattern to implement Spring + Hibernate.

I wonder why Hibernate Session is always being closed after the program leaves the DAO level.

I am frustrated when trying to manipulate model/models retrieved from DAO by accessing its/their child/children. It always tells me "Session is closed!"

That's really much different than the way i used to do.

Also, i could not manipulate Hibernate Transaction across different calls of services. I could not control when and where to commit or rollback just like what i usually do!

The Common Control also makes me scratching my head a lot! I am still in the process of getting familiar with it. I am now missing much on the traditional Struts + Javascript technique. Anyway, pros and cons always there.

Today bad news came, so, end of this month, have to complete everything! Yeah, another mission impossible!

One sicked, one blinded, one cursed

How can you expect the project to be completed?

No comments:

Post a Comment