sorry for x-posting, i tried on the architecture forum first tho (http://forum.springframework.org/showthread.php?t=54666).
in short : we have an application that uses two tomcat instances; a...
Type: Posts; User: analogueboy; Keyword(s):
sorry for x-posting, i tried on the architecture forum first tho (http://forum.springframework.org/showthread.php?t=54666).
in short : we have an application that uses two tomcat instances; a...
we have an application that uses two tomcat instances; a front end, customer-facing application and a back-end serving web services. when running some load tests the guys are seeing the back-end...
turns out it was a wicket issue, their "wicket-spring" was pulling in spring-2.0 whereas JavaConfig 1.0.0.m3 is using 2.5. I just had to exclude their import in the pom and she flew.
but surely the class needs to be constructed at some point so the methods can be run? i had Lazy.TRUE in the Configuration annotation and I changed that to false so at some point the constructor...
I increased the debugging and I get these messages on startup;
Using context class [org.springframework.config.java.context.JavaConfigWebApplicationContext] for root WebApplicationContext
...
the config class wasn't extending ConfigurationSupport so i fixed that but it still didn't fix the problem, back to the docs...
Here is the snippet of my web.xml
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>...
Hi,
Not sure where the best place is to discuss JavaConfig, hope this is ok here. I'm doing a project with Spring and Wicket and I want to use JavaConfig along with Wicket's annotation support....
ok, the problem is that the property configurer doesn't seem to work when using Java Config, when I use somethine like <property name="x" value="$test}" /> and then try and load a properties file to...
Hi, I'm trying out the javaconfig support (have to say i agree with crazy bob when he talks about type-safe config :$), but running junit tests that extend...
would this be a valid case to introduce OSGi or would I be over-complicating the matter?
I'd like to be able to allow a user to define parameters when an application is installed, persist the settings and then continue. I use the property placeholder configurer at the moment, but I not...
I've been trying to get org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping to work with groovy controllers in Spring 2.0-rc1 but the mapping class doesn't recognise the...
ThrowawayController seems to be the way forward, but they have no access to the standard objects like request, session so it is *very* limited. I suppose re-implementing the HandlerAdapter to check...
The class is in the jar, but the jar isn't in the classpath. put it into web-inf lib and restart and it should be ok.
Is it possible to have a controller in spring with a field that can be populated automatically from a request and then have control passed to handleRequest()?
I'd like a class like this
class...
I'd like to be able to access the same ApplicationContext from both so they can both share exactly the same beans. But if i use the EJB support (looking up the XML files from JNDI for example) and...
What not use POP3 and SMTP?
If thats not possible, can't you use JMS and avail of Spring's JMS support?
I know this has been asked before but I cant find a definitive answer to the question, but what is the preferred mechanism of sharing an applicationContext across EJB and servlet containers? I'm...
I'm lokoing at moving from webwork to spring mvc, but I can't see how to create webwork-like controllers and spring doesn't seem to provide the kind of functionality i'm lokoing for.
In webwork, I...
Have a look at the convention over config section of MVC - they have added exactly what you're looking for
I'm trying to clean up an application for a client, but they are quite entrenched a an old(ish) architecture and I can't implement wholesale change too quickly. Currently, there is no MVC being used....
I'm trying to clean up an application for a client, but they are quite entrenched a an old(ish) architecture and I can't implement wholesale change too quickly. Currently, there is no MVC being used....
I've been looking into trails' spring mvc branch and it seems to be more capable than I'd thought, going to play with it a little more to see what needs to be done and if some of the dependencies can...
I'm thinking about developing a small framework that would allow a developer to use JPA to annotate his entities and then use hibernate to take care of persistence and spring mvc to create all the...