Thank you Doc_d! It's good to know.
Type: Posts; User: wang.yunbo; Keyword(s):
Thank you Doc_d! It's good to know.
Hi Wrangler,
It will be very helpful to paste your spring context loading error stack trace even if it is not intuitive to track down.
Thank your
Hi vermule,
Thank you for sharing your ideas!
I am surprised that your first version didn't work. It's a little boring to me because that violates the singleton pattern's rule.
The second...
Hi jaybytez,
Maven manage well properties for multiple environments as it is designed for this kind of things.
But if your requirement is really relied on .properties file, you can do something...
Hi Doc_d,
Thank your for sharing your ideas.
Can you show the whole definition of the bean which contains the property warnLogCategory just for a clear understanding?
In your case, all 4 tx (transactions) are opened when one of these methods is called and are closed (commit or rollback) after the execution of the method. Yes there is overhead of opening 4 tx while...
If you are using Maven, one practical solution is something like
pom.xml
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
...
We are migrating Spring framework from 2.5 to 3.1.
As we used to do all things in xml files (application-contexte-xxx.xml), and now almost every documentation and every forum post talk in...
Hi Tannoy,
Theses are good questions. I am trying to share our experiences from different J2EE projects hoping that would give you some ideas.
a) I believe that separating xml for different...