build:
/usr/share/java/spring-core.jar:/usr/share/java/spring-beans.jar
run:
:/usr/share/java/spring-core.jar:/usr/share/java/spring-beans.jar:/usr/share/java/commons-logging.jar
Also, a log4j.properties file is required somewhere in the run path. I used
log4j.rootLogger=ERROR, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
#Prevent internal log4j DEBUG messages from polluting the output.
log4j.logger.org.apache.log4j.PropertyConfigurator=ERROR
log4j.logger.org.apache.log4j.config.PropertySetter=ERROR
log4j.logger.org.apache.log4j.FileAppender=ERROR
Hello Sir,
Can you explain Spring example comparing with normal code and how it is loosely coupled.
Suppose,when the code changes in any file how it will not effect other file in spring....please explain with example.
Rajpal Singh.
libraries needed to build and runSteve White April 17, 2011 at 4:24 PM
build: /usr/share/java/spring-core.jar:/usr/share/java/spring-beans.jar run: :/usr/share/java/spring-core.jar:/usr/share/java/spring-beans.jar:/usr/share/java/commons-logging.jar Also, a log4j.properties file is required somewhere in the run path. I used log4j.rootLogger=ERROR, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout #Prevent internal log4j DEBUG messages from polluting the output. log4j.logger.org.apache.log4j.PropertyConfigurator=ERROR log4j.logger.org.apache.log4j.config.PropertySetter=ERROR log4j.logger.org.apache.log4j.FileAppender=ERROR
attuneinfocom.commaster October 31, 2011 at 11:32 PM
good post
How will we run Spring Injection projectXuan Toan December 6, 2011 at 1:58 PM
How will we run Spring Injection project?
SpringLooselyCoupledRajpal Singh January 4, 2013 at 6:09 PM
Hello Sir, Can you explain Spring example comparing with normal code and how it is loosely coupled. Suppose,when the code changes in any file how it will not effect other file in spring....please explain with example. Rajpal Singh.
Post your Comment