/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.kapresoft.com
| | www.devzery.com
1.1 parsecs away

Travel
| | Learn all about Java ThreadLocal: how it works, when to use it, and its benefits in multi-threaded environments. Discover thread-specific data handling in Java applications for improved thread safety.
| | www.esparkinfo.com
3.4 parsecs away

Travel
| | In this post we have covered crucial angular best practices that will help you develop high quality and scalable angular application
| | sookocheff.com
3.1 parsecs away

Travel
| | Writing correct programs is hard; writing correct concurrent programs is harder. Java Concurrency in Practice. So, why bother with concurrency? A number of reasons: Concurrency provides a natural method for composing asynchronous code. Concurrency allows your program to avoid blocking user operations. Concurrency provides one of the easiest ways take advantage of multi core systems. As processor counts increase, exploiting concurrency will be an even more important facet of high performance systems.
| | konradreiche.com
19.8 parsecs away

Travel
| Since most of the Java code I wrote in the past was on Android I was not able to enjoy too many Java 8 features yet. Though recently I wrote a microservice in Java using Spring Boot where I could make full use of lambdas and functional interfaces. The following method, for instance, returns the sum of all transactions for a specified instance by traversing their children. @RequestMapping(value = "/transaction/sum/{id}", method = RequestMethod.GET) BigDecimal Sum sum(@PathVariable long id) { List transactions = new ArrayList<>(); Transaction current = repository.find(id); while (current != null) { transactions.add(current); current = current.getChild(); } return transactions.stream().map(t -> t.getAmount()) .reduce(BigDecimal.ZERO, BigDecimal::add); } As some...