Fall back to system properties with Spring framework

Spring allows to you, to fall-back on system properties, if you not added any corresponding values with that.
That is really a cool feature. If you need to look up,some system properties , you don’t need to do any thing
just configure your bean and Spring will take care that.

These are the some of SYSTEM_PROPTTIRES that you set in your bean


SYSTEM_PROPERTIES_MODE_FALLBACK       Check system properties if not resolvable in the specified properties.
SYSTEM_PROPERTIES_MODE_NEVER          Never check system properties.
SYSTEM_PROPERTIES_MODE_OVERRIDE       Check system properties first, before trying the specified properties.

see here for more information PropertyPlaceholderConfigurer

Eclipse Out of memory error

Lot of times your eclipse get crashed while working, because of out of memory. I would suggest to increase your memory in-case your project is huge and keep on crashing.

You can increase vm size of eclipse by changing eclipse.ini. There are memory argument for vm

-vmargs -Xms40m -Xmx256m

Even on increasing the memory, eclipse is crashing check the log, as lot of time installed plugins, lead of eclipse crashing.

Spring LDAP 1.3.0.RELEASE

Spring LDAP 1.3.0.RELEASE

This is a major release, containing more than 50 fixes compared to the 1.2.1 version; modifications varying in importance from internal modifications and minor fixes to important bug fixes and and significant functionality additions.

Most importantly we now provide a means to perform simple LDAP authentication directly in LdapTemplate. Other useful improvements include TLS connection support, referral handling improvements, as well as a couple of important fixes working around problems in the underlying Java JNDI API.