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

1
vote
0answers
56 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 @ViewScoped with @Controller @ManagedProperty is not type safe and requires ...
1
vote
0answers
61 views

Circular Dependencies between Immutable Objects; the Freeze Pattern

Generally, I structure small threadsafe immutable objects like this: public class SmallObject { private final String state; public SmallObject(final String state) { this.state = ...
2
votes
0answers
98 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: IApplicationContext ctx = ContextRegistry.GetContext(); ...
1
vote
1answer
150 views

Java API code with Spring

Model: public class UserBean { @JsonProperty private String userId; @JsonProperty private int limit; @JsonProperty private int page; public String ...
0
votes
1answer
557 views

Spring with Hibernate DAO layer architecture? [closed]

I am using Spring with Hibernate in my web application and I tend to use HibernateDaoSupport because it will open session and close session automatically. I have two entities Route(route_id, source, ...