Spring autowiring by constructor
Practically bean dependencies are explicitly set in bean configuration files and it is really is a good practice to follow. But Spring is capable of automatically resolving dependencies at runtime.......
View ArticleSpring autowire by autodetect
Practically bean dependencies are explicitly set in bean configuration files and it is really is a good practice to follow. But Spring is capable of automatically resolving dependencies at runtime.......
View ArticleSpring beans autowiring concepts
In spring framework, setting bean dependencies in configuration files is a good practice to follow, but the spring container is also able to autowire relationships between collaborating beans. This...
View ArticleSend email with Spring : JavaMailSenderImpl example
In my one of previous post, I gave you an example code for sending emails using java code and gmail smtp server. In this post, I am modifying that code... The post Send email with Spring :...
View ArticleInternationalization (i18n) support in spring 3 example tutorial
Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. The term is frequently abbreviated as...
View ArticleSpring 3 security siteminder pre-authentication example
So far we have learned about securing spring application using login form based security, custom user details security and many more such security related concepts. In this post, I am... The post...
View ArticleSpring 3.2.5.RELEASE and Hibernate 4 Integration Example Tutorial
If you have gone though my previous post, which was also on same topic i.e. Spring 3 + Hibernate integration. I received lots of comments and feedback in that post,... The post Spring 3.2.5.RELEASE and...
View ArticleSpring 3.2.5 AbstractRoutingDataSource example
AbstractRoutingDataSource is very useful feature in spring framework if you do have a design which permits multiple databases based on certain criteria which may change for each user request. An... The...
View ArticleDo not specify version numbers in Spring schema references
If you have worked on Spring projects, then you must have seen spring configuration files where in header you specify the schema references for various spring modules. In schema references,... The post...
View ArticleXML Config based method level spring security using protect-pointcut
In previous example of method level security, we added security using @PreAuthorize annotation. Annotations are good way and quick way too to add security on any method. But there is... The post XML...
View Article
More Pages to Explore .....