The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise ...

learn more… | top users | synonyms

5
votes
1answer
31 views

JMS configuration — client exclusive messages

I am SURE this is somehow easy but reading the docs isn't bringing it to light. The problem: I am trying to setup a JMS message listener and what I need is for the first client to have exclusive ...
3
votes
1answer
74 views

Class naming conventions

I have the following scenario: The (web-) application is built with Java/Spring. I have several REST-endpoints which deliver data prepared to be consumed by a frontend by ...
6
votes
2answers
168 views

Spring password validator library

I recently got rejected at a job interview for submitting this: https://bitbucket.org/gnerr/password-validator The interviewer asked for a password validation library that was configurable via ...
1
vote
1answer
113 views

factory pattern in spring

I have the following factory class, wonder if this code can be implemented in better way. I saw few discussions about spring factory bean, but don't find good examples. ...
2
votes
1answer
151 views

A Spring + GWT + Jetty + Gradle application

I just created a sample project using Spring 3.x, Jetty 9.x, GWT 2.5.1 and Gradle - https://github.com/krishnaraj/JettyGwtSpringSample. Its a slightly modified version of the 'Greeting' gwt ...
2
votes
1answer
285 views

Managing Data access layer exceptions

I am developing a webapp using Spring MVC + Hibernate. I created a GenericDao class that implements basic data access methods, to be extended by all my concrete daos in the app. What I want advice or ...
3
votes
2answers
1k views

Spring autowiring in managed beans with support for serialization - is this safe?

Im trying to solve two problems I see with JSF2 and Spring. First @Autowired in @ManagedBean does not work Nor does ...
6
votes
1answer
135 views

Circular dependencies between immutable objects; the Freeze Pattern

Generally, I structure small threadsafe immutable objects like this: ...
4
votes
1answer
146 views

Avoiding using strings when using Spring.Net by incorporating instantiation in class

Totally new to MVP and Spring, and I have what seems to be typical MVP application that uses Spring, where the presenter is instantiated like: ...
1
vote
1answer
193 views

Java API code with Spring

Model: ...