Today, I imported some properties in my Spring config file. I wrote something like this :
<!-- define properties from a file -->
<util:properties id="securityProperties" location="classpath:/securityProperties.properties" />
I could also wrote :
<!-- look for properties from a JNDI context -->
<jee:jndi-lookup id="securityProperties" jndi-name="props/security" />
... or even more simpler :
<!-- simply declare properties directly -->
So, I needed to retrieve my cas.base.url. In my bean, I just had to do :
private String SSO_CAS_BASE_URL;
That's why I like Spring.
I've just received my first arduino platform. It's a DCcduino board (a clone of Arduino Uno). As I had some difficulties to hav...
I'm an old user and addict of JRebel. I started to use it on open source projects and in professional contexts. From the beginning, I...
Programmers know that blogger doesn't support code insertion (usefull if you need to demonstrate how to program something by copy/pastin...