aspose file tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes Is open session in view a good practice architecture? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "Is open session in view a good practice architecture? " Watch "Is open session in view a good practice architecture? " New topic
Author

Is open session in view a good practice architecture?

Fabio Medeiros Faria
Greenhorn

Joined: Mar 18, 2011
Posts: 10

This approach avaible with spring framework is commonly used in many applications.

Once I was using this resource, but when I set a value in an attibute of the object, this was changed of datase too, but i didn't call the layer persistence.

I think this somewhat

um tanto quanto "dangerous"... Do you think this is a good practice to use in applications?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is open session in view a good practice architecture?
 
Similar Threads
Code or Test first ?
java.sun.com crashed last week. And it
The "JUnit and privates" debate
Inheritance confusion
Using Java Bean compiled without a package