Emmanuel Hugonnet's Library tagged → View Popular
» Rerouting Spring Security 2 Login Page Through a Spring Controller - It’s Only Software
Typically, you might want to display data on the login page that’s provided by Spring service-layer beans, or tie into the i18n bundles you’ve configured, or tens of other possibilities.
Fortunately, this is possible with a few tweaks to your Spring configuration. In this post, I’ll assume you’ve started with the configuration I wrote up in the initial 5 Minute Guide to Spring Security.spring ace
Configuring Hibernate and Spring for JTA | Xebia Blog
This blog addresses a problem in a configuration that is fairly common: use Spring for transaction management on top of a JTA provider and use Hibernate for persistence. Transaction demarcation is easy and declarative with Spring. The problem is that Hibernate sometimes needs to detect the current transaction and this needs to be configured. This leads to hard to detect bugs in applications that rely on auto flushing.
It’s Only Software » 5 Minute Guide to Spring Security
Although I’ve used Acegi Security in the past, I hadn’t tried it since it was renamed Spring Security and folded into the Spring Portfolio. I decided to approach its integration into a typical Spring web application with the eyes of a new user and write up my notes as a 5 minute guide to Spring Security.
Pretending to be a new user, I found the suggested steps a bit bewildering. Let’s take these one at a time, and I’ll try to help you out where the instructions are unclear:
1. First of all, deploy the “Tutorial Sample”, which is included in the main distribution ZIP file.
Aside from the weird packaging of Spring Security, it’s not clear which file this is. You should be deploying spring-security-samples-tutorial-2.0.x.war to your servlet container in the usual fashion. In the case of Tomcat, for example, use the deployment tool or drop this into your webapps directory. You should see the tutorial application in your browser. Let’s move to step 2…
springmodules: Spring Modules
OSWorkflow configuration support
Support for Rules Engines Drools and Jess
HiveMind
Commons Validator
Declarative caching services EHCache, JCS and OSCache
Flux
Gigaspaces and Blitz
jBPM
Jackrabbit and Jeceira
Lucene
Tapestry
Web template engines
Using Spring to Manage JSF Beans
The traditional way to integrate JSF and Spring was to define JSF beans in faces-config as managed beans and refer to the spring beans using the managed-property configuration. With the help of the spring’s delegatingvariableresolver the managed property is resolved from spring application context and JSF’s IOC injects the bean to the JSF Managed bean instance. I’ve written an article it about this way before
Using Spring request scope in JSF portlet
When you use Spring request scope with your JSF application, you can configure your request and session scoped beacking beans in a Spring application context instead of faces-config.xml. The great thing about this possibility is that the syntax of the Spring configuration is much more consise and that Spring AOP gives you a world of useful interception features.
The 90th percentile: Mock Your Spring Config for Fun and Profit
What follows are all the alternatives that we tried to configur Spring: - PropertyPlaceHolderConfigurer - Spring imports - Spring JavaConfig - Placeholders in ApplicationContext - Extending ContextLoader
Gunnar Hillert's Blog: Converting Daos from Hibernate to JPA
The actual conversion from pure Hibernate to JPA was quite straight forward. I was struggling a bit with the Spring configuration of the entityManagerFactory but got it to work eventually.
Pathway from ACEGI to Spring Security 2.0 | Javalobby
This article outlines how to convert your existing ACEGI based Spring application to use Spring Security 2.0.
Hello, OSGi, Part 2: Introduction to Spring Dynamic Modules - Java World
In this second article in the Hello, OSGi series, find out why Spring DM is such an exciting option for developers already familiar with Spring configuration, who want to exploit OSGi's modularity, easy versioning, and application lifecycle support.
The Why and How Behind Listener-Based Dependency Injection
Listener-based dependency injection builds upon the core concepts of property-based IoC and offers many of the same benefits. Find out how you can use listener injection to reduce boilerplate code and clearly communicate relationships between POJOs using
Spring: A Quick Journey Through Spring AOP
One of the strengths of Spring is its robust and flexible aspect oriented programming infrastructure. In Spring, AOP is a little different than other AOP frameworks in that it brings with it a consistent AOP infrastructure.
Combining JavaServer Faces Technology, Spring, and the Java Persistence API : Enterprise Tech Tips
An earlier Tech Tip, Using Java Persistence With JSF Technology examined a sample application that uses JPA with the JSF framework. This tip examines a sample application that uses JSFtechnology, the JPA, and the Spring 2.0 framework.
Annotation-Based Transactions in Spring - Wheeler Software
In this article, I'm going to show you how to use transaction management annotations in Spring. I'm using Spring 2.5 though these features have been available at least since Spring 2.0.
Setting up Spring Dynamic Modules (OSGi) with Eclipse - A step-by-step tutorial
The following instructions will show you all the steps you have to accomplish in order to set up a minimalistic workspace in eclipse for creating or droping in and executig arbitrary Spring-DM bundles.
DevelopersBook
Spring Tutorial iBatis Tutorial Spring FAQs JSF Tag Reference JavaServer Faces Interview Questions JSF FAQs Spring Interview Questions FAQs Hibernate Struts iBatis FAQs
Hands on Wicket - Partie 3 par J2EE, Agilité et SOA : Le blog de Xebia France
Enfonçons-nous un peu dans les mécanismes du framework. Cette semaine, étudions la gestion de la session, la validation de formulaires et l'intégration (toujours aussi simple) avec SpringFramework.
Xebia Blog
This post will not explain about the techniques of integrating spring with stripes. The spring with stripes integration is very well explained at Stripes wiki.
Enterprise Java Community: ICEFaces and Spring 2.5 in Java EE
ICEFaces is a JSF component library that adds a unique approach to AJAX: it renders a DOM (Document Object Model) on the serverside, and delivers changes to that DOM to a client via AJAX push.
InfoQ: Securing a Grails Application with Acegi Security
This article discusses the integration of the grails-acegi plugin with a sample Grails application. As part of this integration, there are three major components which will be used – Groovy, Grails and Acegi Security.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in spring
-
Java
Mostly related to java tech...
Items: 3 | Visits: 63
Created by: Srinivas Raghu
-
Bakhtin
This is the preliminary lis...
Items: 11 | Visits: 44
Created by: bloggingprof 2b
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
