The Spring Framework is an open source framework for application development on the Java platform. At its core is rich support for component based architectures, and it currently has over a dozen highly integrated modules.

learn more… | top users | synonyms (1) | spring jobs

0
votes
0answers
4 views

Slow spring component scan

i found some posts dealing with this topic, but our situation is a bit different, so I post it here, hoping someone can help us with it. The situation is: We develop a rich client that is started via ...
0
votes
1answer
9 views

Spring form validation optimization (short-circuiting)

I'm trying to optimize a Spring form validation by skipping as many database hits as possible. Here's an example validator that I have: import org.springframework.validation.Errors; import ...
0
votes
0answers
5 views

How to bind jquery datepicker function with underlying java spring form java.util.Date fields?

I am trying all day to bind the jQuery datepicker function with two fields of an underlying java spring form date fields of java.util.Date type but I am getting an error. I am posting all the files ...
0
votes
0answers
10 views

Spring 3: How to call @Async annotated methods from the TaskExecutor

I'm new to asynchronous task execution in Spring, so please forgive me if this sounds like a silly question. I read that @Async annotation is introduced from Spring 3.x onward at method level to ...
0
votes
0answers
13 views

spring MVC HTTP 404

I'm beginner in Spring MVC I try to show "hello world" il my browser But my browser show HTTP 404 - My Project structure is : SpringMVC -> src -> main ...
0
votes
0answers
7 views

Freemarker: Dropdown field from Map key/value

How would I create a dropdown field in freemarker template? Dropdown options and values will be passed from a map. Here is the map passing from Controller: Map<String, Map<String, ...
0
votes
0answers
13 views

Extend class from another extended Parametrized Generic class

I have a genericService support classes ( genericService, GenericServiceImpl, GenericDao,GenericHibernateDao) for generic service,dao layer. Normaly it works fine, When i extend any type ...
0
votes
0answers
13 views

DI from .properties file into @Qualifier using spring SpEL

I'm working on spring 3 and hibernate 4. In may Dao layer i implemented both hibernate and jpa dao classes. instead of writing explicitly the implementation inside the ...
1
vote
1answer
14 views

Spring Security: Why Authentication is extending Principal?

Spring Security has the assumption of Authentication is a Principal. public interface Authentication extends Principal, Serializable {} HttpServletRequest has the method of getUserPrincipal which ...
4
votes
1answer
34 views

Spring, JPA, Hibernate, Tomcat: Unable to find persistence unit when loading Spring application context

I have an application context where I am trying to setup JPA: application-context.xml: <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"> ...
-1
votes
0answers
9 views

grails: spring social plugin Facebook multiple userconnections

I'm using the Spring social plugin for a facebook integration for my grails project. The authentification works fine. The plugin makes/updates for the current user an db entry (Table Userconnection) ...
0
votes
0answers
19 views

hibernate self referencing table get rows by fk

table Student ---------------- id | somecolumn with string| fk(which is self referencing ID of the same table) how can i make hibernate query that will fetch all items where value of id will match ...
2
votes
2answers
21 views

Store url when @Controller is accessed Spring MVC

Is there a way to access the URL resolved from a Spring MVC controller - e.g. @RequestMapping("/{language}/news/{articleId}") public String newsPage(...) { } Resolves to: /en/news/63421 I'd ...
0
votes
0answers
6 views

Spring message doesn't work in Velocity template

I'm getting crazy to get Spring message and Velocity work togheter. I'm yet using sping message in my jsp, getting the right label based on language cookies. What I want to do now is getting labels ...
0
votes
0answers
10 views

Implementing log4j logging in spring3.0

It is like a cakewalk to implement logging in your spring project which is perfectly working for me Configure the log4j listener in your web.xml file. Specify the location of your log4j properties ...

1 2 3 4 5 2025
15 30 50 per page