Skip to main content

Questions tagged [spring-mvc]

Filter by
Sorted by
Tagged with
0 votes
0 answers
300 views

I am contacting you today regarding a recent problem with circular dependencies. It's about a Spring boot application that accepts data via a Rest API and then forwards it to an internal Spring ...
Phoenix's user avatar
  • 77
0 votes
3 answers
2k views

As a Java developer, I just have scratched the surface of Javascript libraries like React, Angular, Vue etc. It seems that theoretically any web applications with server side rendering, like Spring-...
Rui's user avatar
  • 1,935
0 votes
1 answer
111 views

In a simple web architecture using Spring and Maven where it consists of following layers: Controller Service Repository Shared Where in shared module all the classes that are used among different ...
NuCradle's user avatar
  • 175
2 votes
1 answer
159 views

I am developing an architecture for a new MVC system. The legacy system has a layer it calls "facade", but it is not the classic GoF Facade. It is more like a service aggregator. It is used as a ...
jkilgrow's user avatar
  • 147
1 vote
1 answer
821 views

I'm adding new functionality to an existing application it was done using JHipster. I've notice that some endpoints follow this pattern: return ResponseUtil.wrapOrNotFound(updatedUser, ...
Traufvihal's user avatar
1 vote
1 answer
229 views

All of the controllers in our project are as dumb as we can make them. Rightfully so, they simply validate the incoming payload, hand the request over to a service layer, and return whatever response ...
Gregg's user avatar
  • 111
2 votes
1 answer
527 views

I have a Spring based java webservice which is returning JSON response. The problem is that the JSON response takes long time because the SQL involved is querying huge chunk of data and it takes 4-5 ...
John's user avatar
  • 161
8 votes
1 answer
8k views

I have been implementing a proof of concept application using Uncle Bob's Clean Architecture and I have run into a bit of a problem. Uncle Bob's architecture calls for the explicit separation of ...
Carlos's user avatar
  • 83
9 votes
1 answer
14k views

Let's say I'm building a Customer web application(in Spring Boot 2), which also exposes rest end points. I'm modeling my application into 3 layers. a) UI - CustomerDTO b) REST - ...
Sandeep's user avatar
  • 199
7 votes
2 answers
8k views

I am writing a Spring boot app with Thymeleaf, which should support two languages (or more). I have set up the locale resolver and messages.properties so now my app can translate static messages on ...
Miha Jamsek's user avatar
4 votes
1 answer
4k views

Based on this Question and its answer : Object in Business layer same as DTO with logic? I want to ask : What if instead of DAL, I'm getting data from a remote service (API) through DTOs. My ...
Mohamed Amine Mrad's user avatar
2 votes
1 answer
1k views

Studying some in-depth concept of Spring framework, I'm facing this doubt. Has the Model, as inteded in Spring MVC, the same meaning of the M in MVC? I mean: I always considered the Model of the MVC ...
davioooh's user avatar
  • 209
3 votes
0 answers
79 views

I am having a scenario wherein we have a Product Entity or a Front End Module which can be Added, Edited and Deleted. Now Product ( when added or edited) can contain a Dropdown called as ...
Mitesh Manani's user avatar
2 votes
1 answer
393 views

Definition: Purely microservice: Not using any web framework such as Spring, Laravel, Zend, Django. Web app is a single page app loading data via Ajax calls to web services Hybrid: The web framework ...
InformedA's user avatar
  • 3,041
2 votes
1 answer
3k views

So I am facing a problem with handling all sorts of exceptions within spring-boot application. Basically project is structured: back-end (services, repositories) <----- RestControllers <---- UI ...
Xeperis's user avatar
  • 121
1 vote
1 answer
140 views

It seems to be the view and controllers are rigidly defined, but the model is highly nebulous. For instance, views go in views folder, controllers have the word controller in their name and have ...
Wes's user avatar
  • 335
0 votes
1 answer
858 views

I am Developing a E-Commerce Web Application as a part of my learning using Spring Hibernate and AngularJs. I have written some Rest API's Controllers in Spring and then from the Web Component i am ...
Mitesh Manani's user avatar
1 vote
0 answers
100 views

I am working on a Spring-MVC based project, in which I would like to add Timeline functionality. The most important object in our project is the Note, there are objects associated with it like ...
We are Borg's user avatar
2 votes
2 answers
4k views

I am working on a price comparator, one of the module of application crawls through the list of website against the product stored in the database and updates the price in the application database. ...
Tushar's user avatar
  • 121
5 votes
2 answers
2k views

I believe I know the answer to this but I'm looking for any holes or anything I may be missing. This is focused on Spring and Java but could really apply to any programming stack. Anyway, we have a ...
cbmeeks's user avatar
  • 411
0 votes
1 answer
1k views

I'm interested in hearing out what's out there in terms of tips and tricks on deploying and maintaining a Java web application whilst keeping agile. I'm running solo on a startup project I'd like to ...
Matthew Cachia's user avatar
3 votes
2 answers
553 views

I'll admit I'm a spring newbie, but you can correct me if I'm wrong, this one liner looks kinda fishy in a best practices sort of way: @RepositoryRestResource(collectionResourceRel="people"...) ...
thenaglecode's user avatar
8 votes
1 answer
6k views

I am using Spring for a web application. To validate a user's input in a form such as for creating a Person entity I use JSR 303 validation to check for not null/empty or valid patterns etc.. Some ...
Goose's user avatar
  • 195
1 vote
1 answer
5k views

Need to access HTTP session for fetching as well storing some information.I am using Spring-MVC for my application and i have 2 options here. User Request/ Session in my Controller method and do my ...
Umesh Awasthi's user avatar
1 vote
0 answers
902 views

Here's what am trying to do (and searching for similar hasn't shown any results anywhere): On my website - provide an input box which will search google for results. I want to display those results ...
happybuddha's user avatar