Tagged Questions
42
votes
6answers
20k views
What does the Spring framework do? Should I use it? Why or why not? [closed]
So, I'm starting a brand-new project in Java, and am considering using Spring. Why am I considering Spring? Because lots of people tell me I should use Spring! Seriously, any time I've tried to get ...
16
votes
7answers
5k views
Why not Spring framework?
Are there any disadvantages in tying my application to Spring framework?
I'm not talking about bugs or issues like that, if any. I'm talking about strategic, architectural things that will influence ...
5
votes
3answers
384 views
When not to use Spring to instantiate a bean?
I am trying to understand what would be the correct usage of Spring. Not syntactically, but in term of its purpose.
If one is using Spring, then should Spring code replace all bean instantiation code?
...
5
votes
3answers
549 views
Tools for managing a complicated project setup with many frameworks and no documentation
We have to extend a huge java project that makes use of frameworks like maven, spring, struts, freemarker and closure templates.
We do have access to source code but barely any documentation, and we ...
5
votes
2answers
890 views
Write Unit test for heavily-database application?
I'm currently developing a Spring-based web-application, in which almost every operation create/update/delete something in the database. The logic mostly about checking condition so as to we should ...
5
votes
0answers
270 views
Attachment handling for web application with Jackrabbit
I need to manage attachments on my Spring web application and I thought to use an open source repository. My app it's a job approval system using J2EE / SPRING 3 Framework and postgress DB to allow ...
4
votes
2answers
2k views
Heavy use of static methods in a Java EE web application?
Generally I am asking if this is a norm. The application architecture includes spring and the zk framework. I personally can't help but think this introduces a number of problems. I mean...this is a ...
4
votes
1answer
403 views
How to move to Java enterprise development after Python and Ruby?
I used to develop in Django/Python and Rails/Ruby (and before that C/C++ and C#), and I'm now at a job where we do enterprise Java development (Spring, Hibernate, RESTEasy, Maven, etc.) for web ...
4
votes
5answers
340 views
Spring - Confusion over configuration?
Somewhere I read Spring offers convenience over configuration. But Spring folks are bringing in so much changes over the configuration , that I am now really getting confused to use the xml ...
4
votes
1answer
393 views
Programming in academic environment vs industry environment [duplicate]
Possible Duplicate:
Differences between programming in school vs programming in industry?
This is a general discussion about programming in the industry environment.
The background story is ...
3
votes
2answers
1k views
Is Spring + Hibernate prefered instead of EJB 3?
It is my perception that whenever new JEE projects start (where these technologies would be applicable), people prefer to use a combination of Spring + Hibernate instead of EJB 3.
It seems junior ...
3
votes
2answers
128 views
Should I make package private my DAO interfaces?
I have several DAO classes that implement an interface. In the other hand, I have Service classes that use those DAO implementations.
So far all the DAO interfaces are public and I was thinking if ...
3
votes
1answer
2k views
Where to put Spring configuration file?
I want to integrate Spring framework in my project especially into server side.
So, I don't want to put it within WEB-INF folder of war file.
Should I put an applicationContext.xml it into each ...
3
votes
1answer
963 views
Why is spring so good for Java middleware development?
I'm planning on doing some Java web development in my spare time to learn a new set of programming skills, and just want to survey opinion on why Spring is so good for middleware development?
What ...
3
votes
1answer
215 views
Need advice on framework design: how to make extending easy
I'm creating a framework/library for a rather specific use-case (data type). It uses diverse spring components, including spring-data. The library has a set of entity classes properly set up and ...