the scenario is:
the code structure is:
package com.job.service;
public interface JobManager{
void insertJob(Job job);
Job findJob(String jobID);
}
Type: Posts; User: bglmmz; Keyword(s):
the scenario is:
the code structure is:
package com.job.service;
public interface JobManager{
void insertJob(Job job);
Job findJob(String jobID);
}
here is my application.xml
<tx:advice id="txBizAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="testTransaction" propagation="REQUIRED"
...
Hi, my case like below:
One application, several components, each component has a individual spring config file named application-comonentName.xml, some of compoments have quartz job in the...
My case is:
one service will invoke two DAOs to insert thousands records to two Oracle tables, the code of the DAO like below:
pubic void excuteBatch(String sqlKey, List infoList,...
Spring 2.x
my web application required a Servlet which should be loaded when the web application starting, and this Servlet needs the a business bean which defined in context.xml.
Thanks.
try to use ApplicationContext....
what' your meaning?
do you want the log process don't rollback even if the business service throws a Exception(business service rollbacks)?
what's your meaning?
if you want to send a email before or after the service method is invoked, you need to write a BeforeAdvice or AfterAdvice. you can invoke the EmailSender to send email in...
I have resolved this problem by BeanPostProcessor.
Spring 2.0.7....
I have business logic ClasssA and ClassB, they are circular reference, but I'm not to use constructor injection and stick to setter injection only.
If I add the <aop:config>...