Top "Spring-3" questions

Version 3.x of the Spring Framework, use [tag:spring] for general Spring related questions.

How can I authenticate a system user for scheduled processes in Spring?

we have a Quartz/Spring Batch job, that for audit logging purposes we'd like to have it "authenticated" as a …

java spring authentication spring-security spring-3
how to use @value annotation inside a method to read a a property from property file?

Can i use @value annotation inside a method to read property? void method1(){ @Value("#{AppProperties['service.name']}") String name; ------- …

spring annotations spring-3
Change @ManagedResource objectName dynamically

I am creating prototype beans programatically/dynamically. I want those beans after initiation to be in the jmx console. How …

java spring jmx spring-3
Spring MVC form:errors not showing up

Apologies if this question has been asked before. I'm hoping that someone can step in and help me figure out …

spring spring-mvc taglib spring-3
Spring3 's @Transactional @Scheduled not committed to DB?

This is my 1st time trying Spring3's @Scheduled , but found I cannot commit to DB. This is my code : @…

spring dependency-injection scheduling transactional spring-3
customizing spring 3 mvc:annotation for RequestMappingHandlerMapping

I am using <mvc:annotation-driven/> and I would like to configure RequestMappingHandlerMapping for disabling useTrailingSlashMatch. When I declare …

spring spring-mvc spring-3
Assertive programming with JavaScript

I know why assertive programming is good, so I want to use it with JavaScript. However, I don't want to …

javascript assert spring-3 assertion
Two-way converter in spring

Spring 3 has such a nice feature as type conversion. It provides a converter SPI(Converter<S, T>) to …

java spring-3
determine target url based on roles in spring security 3.1

In spring security 3.0, we are having AuthenticationProcessingFilter class, in which we were using determineTargetUrl() method, which returned the url based …

spring spring-security spring-3
Where are valid values defined for @Scope in web-aware and portal spring contexts?

The following allows the declaration of a singleton bean in Spring 3.0: @Bean @Scope(BeanDefinition.SCOPE_SINGLETON) private void setBean1(Bean1 …

java annotations scope spring-3