Enlightensoft's Blog

Helping in your each step

  • Categories

  • Authors

Spring

Posted by Pankil Patel on February 18, 2010

1) Quartz Scheduler in Spring
http://www.javaranch.com/journal/200711/combining_spring_and_quartz.html
http://forum.springsource.org/showthread.php?t=17125

2) How to configure property file for spring?

# Add new bean entry into your application context.

<bean id=”propertyConfigurer”
class=”org.springframework.beans.factory.config.PropertyPlaceholderConfigurer”>
<property name=”location”>
<value>classpath:abcConfig.properties</value>
</property>
</bean>

# Create new property file into src folder
abcConfig.properties

# Use that property file value

<property name=”user”>
<value>${jdbc.user}</value>
</property>
<property name=”password”>
<value>${jdbc.password}</value>
</property>

3) How to use spring interceptor?

http://www.vaannila.com/spring/spring-interceptor.html

4) Spring Bean scopes

http://www.techfaq360.com/tutorial/spring/beanscopes.jsp

In Spring 3.0 one more scope is added that is “bundle”

Advertisements

2 Responses to “Spring”

  1. lol a number of the remarks bloggers post are a bit spacey, once in awhile i ponder whether these people are actually scan through the pieces and posts before adding a comment or whether they merely skim the article title and write the very first idea that pops into their brain. in either case, it is actually helpful to read realistic commentary from time to time in contrast to the exact same, old opinion which i usually notice online.

  2. Aw, this was a really great post. In theory I’d like to write like this too – taking time and real effort to make a good article… but what can I say… I procrastinate alot and never seem to get anything done.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: