All Questions
3 questions
6
votes
1
answer
3k
views
Is it a good idea to use a Spring MVC as an Frontend of a Microservice Architecture?
My microservice prototype currently has a Spring boot MVC application as its front-end. The application renders the View completely in the backend. It makes rest calls to other microservices like ...
1
vote
1
answer
746
views
Where and how to connect to external API in my service class?
In my service class I would like to connect to external API. Where and how should I do it?
1) Inject in constructor ExternalClass and assign to private property. Next in other property in constructor ...
0
votes
1
answer
960
views
Get entities ids from two similar collections using one method
I've got two lists:
List<Integer, ZooEntity> zoos;
List<Integer, List<ZooEntity>> groupOfZoos;
These operations will return collections of values:
Collection<ZooEntity> cz = ...