You are right. There was any old spring.jar or spring-mock.jar somewhere in the classpath.
Sorry and thanks.
Type: Posts; User: soawork; Keyword(s):
You are right. There was any old spring.jar or spring-mock.jar somewhere in the classpath.
Sorry and thanks.
Hi there,
I have some problems running integration tests with spring.
I'm working on a project wich recently switched spring version to 2.0 and now I can't setUP my TestCase.
If I use the...
Thanks a lot
One additional question:
Spring reference says:
"... a TransactionStatus is associated with a thread of execution.."
This means, if I configure transactional behavior for a service, I can...
thx a lot. very helpful answer
Hi there,
I have a question about the aspect transaction mechanismen in spring:
I'm using JdbcDaoSupport and the org.springframework.transaction.interceptor.TransactionProxyFactoryBean wrapper....
I know some cases where a controller chain is a very nice feature. For example:
An edit view. The data is stored in session. You have a new button which clears the data and shows the edit form. ...
I thought about your solution but in my case the 2 databases are application databases and so I like spliting files to layers (business, dao) instead.
In some cases a bean could depend on more...
I solved the problem!
First you can't use wiring by type if you have more than one datasource (of course).
So only wiring by name is possible.
That didn't work in my case because the...
Hi there,
I recently ran into the class AbstractTransactionalDataSourceSpringContextTests, which usually is used with autowiring mode. The problem is now: if you use more than one datasource und...
Ok thx for your fast help.
Good to know.
Hi there,
I have an application which executes a lot of select statements in one step.
In plain jdbc I would create a prepared statement once and use it in my loop for several times.
Can I...
I solved the problem. It was a big mistake by my side. I just post a reply if any guy runs into the same situation.
My log4j configuraion was alright all the time. The problem was the...
Hi there,
I'm currently working on a web application using spring. I'm using tomcat 5.x as servlet engine.
Now I have the following problem. Everytime I redeploy my application (after changing...
Hi,
thx for your help. Until axis2 adds spring support (or spring axis2 support) I'm going to use this approach.
Yes, the question is how to get references to the beans into other not spring managed beans (in fact not really beans but java classes).
Spring is started with tomcat. I use the spring web mvc to...
Ok. A little more Information.
Axis2 is running as webapp and servlet independend from my spring environment. I have java code wich should have a reference to some beans.
The java code is not a...
Hi,
I asked a similar question in the remoting forum (http://forum.springframework.org/showthread.php?t=21712) but the important part I want to know fits better in here.
Is there a way to get...
Hi,
I have a web application written in spring. Now I would like to integrate web services using axis2.
At the moment there seems not to be an integration solution. Now I thought about using...
Hi there,
I'm working on a simple web application with spring. Now I sometimes have the problem that the deploying doesnt work, cause of errors in the configuration files for example.
I tried...
answer -> perfect
Thx a lot. This is exactly what I was looking for!
I'm going to rework the code that it matches the spring way. In my opinion it is the more elegant way.
Hello,
I have a servlet container question.
I made an application with spring. At one point I have to load a config file.
In my java code I used the following lines:
Properties props = new...
thx. good to know.
i think i solved my main problem too. my problem was, i didnt know what about the GrantedAuthorities in UserDetails. Didnt find a topic about them in Reference.
For all...
Hello,
I`m new to acegi and currently using the simple example v2
(http://completelygeeked.com/2005/05/java-acegi-security-simple-example-v2.html).
using this example is very easy to get a...
Hi,
i have some design question. Hope somebody can help me. Maybe anybody has an example webapplication? My main questions are about mapping. Im not sure how to cover many mappings and how to...