Skip to main content

All Questions

Tagged with
-1 votes
1 answer
259 views

Java MVC or Rest based approach with security [closed]

I am working in designing Java-based web applications. Although, I have worked with Java core still a novice in designing web-apps and do not have enough confidence in what I am thinking is correct or ...
sd1517's user avatar
  • 151
3 votes
1 answer
636 views

Writing decision statement on controller layer

We are developing a REST application based on an MVC architecture. The service layer is returning Optional<T> where T could be any class. So on the controller layer there is a conditional ...
Mehraj Malik's user avatar
1 vote
2 answers
106 views

Should a client check for persisted item existence before modifying it?

I'm developing a MVC Web application with a REST interface. The REST controller performs actions on persisted items through a service class, which translates exceptions coming from the persistence ...
aleric's user avatar
  • 13
5 votes
2 answers
5k views

Is MVC the optimal pattern to build a RESTful web service?

Not being a Java practitioner, I recently came to learn about the JAX-RS specification and Apache CXF framework. While still wrapping my head around all these things, I also read the this question on ...
Salman Haq's user avatar