Posts by Filipe Miranda • 3,138 points
59 posts
-
2
votes1
answer180
viewsA: Is it safe to trust the security of an application to Spring Security?
Delfino, you want to make sure that when choosing Spring Security for Authentication and Authorization, you won’t have problems in the future. The answer is: Spring Security can perfectly meet your…
-
3
votes2
answers502
viewsA: Layers to develop web service
Anderson, Within a Rest-Style architecture, the way you access a data repository to produce your Resources/messages, or to consume them, is not one of the central themes of the service premises…
-
2
votes2
answers1833
viewsA: Database insertion via Webservice
I see that you need to have a solid knowledge of what exactly a Web Service is, what its purposes are. I noticed that you want to know ways to make the "Web Service page" allows the user to enter…
-
-1
votes3
answers1748
viewsA: Test a constructor with more than one parameter
You want to test private methods of a class in a Unit Test. Solution Number 1 (the ideal is solution 2 approach, this is an alternative) Write your Test as a public static member of the class that…
-
4
votes1
answer271
viewsA: JVM instrumentation. Know how many times a method was called during program execution
According to what you said, you have a save method, it should be static or not. Anyway, you want to know how many times it runs. for a period of time. Use Aspecjj With Aspectj, you will be able to…
-
4
votes2
answers247
viewsA: Doubts regarding the use of the Java 8 stream
Paulo Gustavo, what happens in his code is that when invoking the method stream on your list, in fact you have generated a new Stream, not a new instance of ArrayList, and even if you had generated…
-
5
votes1
answer411
viewsQ: What is the Scala Collection equivalent to Concurrenthashmap?
Hello, how can I implement a Concurrenthashmap in Scala?
-
3
votes2
answers1533
viewsA: Material for the study of functional languages: scala, Haskell and Erlang
The Best Scala Source Of Learned I Ever Had https://pt.coursera.org/course/progfun In this course, you will learn interactively, with the creator of the Scala language - Martin Odersky-, in…
-
2
votes1
answer64
viewsA: Requestmapping to a large URL
Could post the code of your controller class? Assuming you have in your controller the metadata next to your class, your code should be like this: @Controller @RequestMapping("/DataIdea") class…