[root]/trunk/encuestame/source/config/jsf

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| juanpicado | 36 (100.0%) | 1190 (100.0%) | 33.0 |
Remove unused folders.
0 lines of code changed in 4 files:
Fixed problem with x-forwarder-from
2 lines of code changed in 1 file:
TweetPollController Finished
3 lines of code changed in 1 file:
TweetPoll url
6 lines of code changed in 1 file:
Url rewrite with controllers anr rules
98 lines of code changed in 2 files:
Encuestame with MVC Controller, configuration and new libs, adding spring faces and webflow features.
184 lines of code changed in 4 files:
Migration to Primefaces, and the first component with this framework to list tweet polls and dialog resume.
13 lines of code changed in 1 file:
IU9 - Interface, create tweetpool, change credentials and list my tweets.
24 lines of code changed in 2 files:
IU9 - Public tweet and test case.
3 lines of code changed in 1 file:
IU9 - Twitter Service, tinyUrl, post tweet, tweet interface and libs.
13 lines of code changed in 2 files:
IU3 - Project inferfaces, new module structure, in progress.
2 lines of code changed in 1 file:
Working on Project Module.
2 lines of code changed in 1 file:
Adding transactions based on AOP and xml configuration.
1 lines of code changed in 1 file:
I was a part of a team that have developed several applications using Struts, Spring and Hibernate together, and one of the problems that have faced us while using Hibernate was the rendering of the view. The problem is that when you retrieve an object 'a' of persistence class 'A' that has an instance 'b' of persistence class 'B', and this relation is lazily loaded, the value of 'b' will be 'null'. This will cause a "LazyInitializationException" while rendering the view (if you need the value of 'b' in the view of course).
The solution to this problem can be done by keeping the hibernate session alive until the view is rendered, and this is what Hibernate introduced as the Open Session In View Design Pattern. Since the Hibernate session will be opened, trying to retrieve 'b' in the view will cause Hibernate to go and fetch it from the DB. In a web application, this can be done through a filter/interceptor.
http://jnassef.blogspot.com/2007/05/open-session-in-view.html
Others links
http://wiki.apache.org/tapestry/SpringHibernate
http://jnassef.blogspot.com/2007/05/open-session-in-view.html
http://learningwebdev.blogspot.com/2009/06/open-session-in-view-iis7-spring-net.html
133 lines of code changed in 1 file:
svn:keywords recursively
0 lines of code changed in 4 files:
New pojo, Secundary User, fixed test cases and spring config.
0 lines of code changed in 1 file:
Fix error on test cases , build run correctly.
1 lines of code changed in 1 file:
Adapting login to new structure.
111 lines of code changed in 1 file:
New view, register user
120 lines of code changed in 1 file:
Adjust web.xml to new war
5 lines of code changed in 1 file:
New spring config dao and change name others.
128 lines of code changed in 1 file:
Reorder spring, properties and other xml files, fix build.xml too.
341 lines of code changed in 3 files: