RSS feed [root] /weblog /hack and faq




login:

password:

title search:




 


Mon Jan 07 18:52:55 AEDT 2008

spring



If you do not have permission to create RMI client, like setting RMISecurityManager, instead of throwing SecurityException, RmiProxyFactoryBean of spring will just return NULL to client... - http://java.sun.com/docs/books/tutorial/rmi/client.html

And there is an issue before spring 2.0rc4, The toString() method of bean will be called after bean created (finished constructor call) and before setting properties (call setter to press beans to properties). If any methods of those properties called at the toString() method, you will get NullPointerException - http://forum.springframework.org/showthread.php?p=78557#post78557

Blog about session scope - http://www.memestorm.com/blog/session-scoped-beans-in-spring-20/

refresh config without restarting - http://jroller.com/page/Solomon?entry=spring_2_0_4_servlet

Possible multi-thread issue - http://blog.xebia.com/2007/03/01/spring-and-visibility-problems/ http://weblogs.java.net[..]te/archive/2006/09/are_your_beans_1.html , basically this just mentioned the fact that most spring base injection is through setter, which make the object mutable, and you need to take care about that

spring mvc web framework tutorial - http://spring.javabeat.net[..]-spring-aspect-oriented-programming-aop/

testing with spring - http://www.mularien.com[..]akes-unit-testing-easy-with-annotations/

if need to use hibernate with jdbc directly, need to flush hibernate session first - http://blog.interface21.com[..]rnate-session-includes-tse-example-code/


(google search) (amazon search)
second
download zip of files only