Thanks that did it.
Type: Posts; User: haninaguib; Keyword(s):
Thanks that did it.
Hi I have an application that has controllers mapped to urls that look like this
http://myserver.com/app/services
http://myserver.com/app/about
http://myserver.com/app/help
With the...
Your examples was just what I needed.
SecurityEnforcementFilter was driving me nuts!
I suggest making sure his examples are easily accessible from the main site.
Most of the links to tutorials...
Are you sure you actually need 'distributed' transactions?
For example if you split your application into a web layer which communicates
to your business layer (running on another machine), you may...
Sure, I guess what I was trying to point out is that he may be able to get better performance if he can cache some of the results.
What exactly are your threads doing. If the work they perform is specific to the user's request then I dont see much benefit. If they are used to calculate some generic information then they 'may'...
Ups, sorry about that. Out of curiosity what company do you work for, I have recently been looking at schedulers.
Spring is licensed under the Apache License. Read it! You can distribute it with your company's code, it does not require you to open source your code. Section 4 tells you what you do need to do for...
I have also come accross a similar problem. My server has to have a very generic interface, since it has many clients (currently a webapp and a rich client), both of which can be extended by...
Just a quick note. If you expose your services through SOAP your clients can generate the client libraries from the service descriptor and you dont need to distribute anything.
In the application...
Ok so here is a solution (got it from another post in this forum)
In the spring context I load a SpringContext object
import org.springframework.beans.BeansException;
import...
Hi yatesco,
I am also looking for a solution, the link you mentioned above does not seem to have a solution to the problem. Basically I have 2 servlets:
1- spring:...
Hi I have a general problem I am trying to resolve and have got my self all confused so I thought I
would try to get some help.
The problem revolves around user-defined transactions. Let me...
You only need to define the beans which are specific to your test in a
separate file and inherit all others from your original context file. This seems
to me a much cleaner way, than ending up...
Hi Rod, I agree perhaps when junit 4 comes out it may be possible to detach
from the underlying test framework.
What I did instead is take a copy of your 4 classes in org.springframework.test...
It is so I can use testngs advanced options.
Things like test ordering, parameters, groups of groups etc
Plus one less compile time dependency, why shouldn't tests be POJOs.
If you already have...
Sorry if this is the wrong forum to post my message.
I use AbstractTransactionalDataSourceSpringContextTests alot, and today
I decided I wanted my tests to be based on TestNG instead of JUnit....
Thanks klr8 for the info.
That is what I was thinking. It will mean a little code duplication,
but since all that my controllers tend to do is call a 1 or 2 business methods
it is not a big deal...
Hi I have a general question regarding how to integrate webflow into an
existing app that uses Spring MVC.
Let me describe a simple example:
Say the application lets you add products. And that...
Ofcourse, post a question find the answer.
<end-state id="finish" view="redirect:/actions/ListUsers"/>
Hi I have been experimenting with spring webflow and got a simple webflow that displays a 'user details' form and then invokes the 'AddUserAction'
add a new user.
I want the end-state of this...
Hi I have a question regarding Acegi.
I have a spring server application which exports a number of services
using RMI.
This server can be accessed through a web application or a rich client...
Hi I think I am going to be using ActiveMQ in one of my applications and
I was wondering what experiences other people have had with it.
I noticed one post where the submiter evaluated it and...
Thanks Tamer,
This solved my problem, I had originally used an interceptor, but this is
really what I was looking for.
Hani
Does any one know how to do it?
I want to check in my ftl file if session[user] exists?