Posts by randrade86 • 121 points
2 posts
-
0
votes1
answer47
viewsA: How to receive 2 thread response and store in one method?
In my opinion, the simplest is to implement the interface Callable<T> in place of Runnable and use of the class Future java. In the example below, I am using the Executors to initiate a pool…
-
2
votes1
answer73
viewsA: Java: Error passing references in a Supertype using Convert Pattern to convert DTO/Entity
I believe the problem is occurring because you are using class attributes in the constructor and the attributes have not been injected (via @Autowired) by Spring. Suggestions: Use a ready, tested…