All Questions
10 questions
3
votes
1
answer
6k
views
Best way to handle lazy models with mapstruct and spring transactional scope
In a typical Java Spring Web APP:
we have the following layers:
Model [DB Models]
Repositories [where you have queries to DB]
Services [Business service where you have the @Transactional annotation]
...
-3
votes
1
answer
2k
views
What do you think about DTOs in Spring Data JPA project?
First of all, I am not a junior programmer. I'm just looking for best-practice.
How do you use entities and DTOs into your Spring Data JPA projects?
Assume there is our layers:
Repositories (as ...
5
votes
6
answers
3k
views
Allowing users to add their own custom fields in a Spring MVC Hibernate application - What's an ideal approach?
We all may have seen applications like JIRA, or many CRM or other applications that allow its users to define their own custom fields to an entity, and do a variety of stuff with it, like making them ...
7
votes
4
answers
9k
views
Programmatically extending Hibernate table/entity definitions in Spring, how?
I would like to know if there is a way —maybe with AOP— to extend table/entity definitions so that I can add functionality across the board that requires persistence.
Let me explain what I want to do ...
19
votes
1
answer
10k
views
Java application structure: Horizontal vs vertical split
Having a bit of a debate about the starting project structure (using Maven/Eclipse) for a big Java application.
Option 1:
entities (i.e. the whole database using Hibernate classes-first)
services (i....
19
votes
5
answers
65k
views
Do I need to know servlets and JSP to learn spring or hibernate or any other java web frameworks? [closed]
I've been asking a lot of people where to start learning java web development, I already know core java (Threading,Generics,Collections, a little experience with (JDBC)) but I do not know JSPs and ...
0
votes
1
answer
5k
views
Best practice for creating views in spring and hibernate web application
Hi I am currently developing a web application in Spring and Hibernate where i have several different tables. The Delivery table for example is mapped many-to-one with the Customer table and the ...
12
votes
2
answers
15k
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 ...
7
votes
3
answers
14k
views
How significant are Spring and Hibernate in software development? [closed]
I am a software professional with about 1.6 years of experience in Java. Due to personal reasons, I had to quit my job, and now after 5 to 6 months, I am about start my career again. I am planning to ...
1
vote
3
answers
820
views
infrastructure software/technologies for developing web service [closed]
[Edit: Thanks S.Lott for the hints]
I'm developing a web service from scratch. The service could have potential of 10,000 requests a day. Actually, to be honest, requirements aren't that clear at this ...