289
I Use This!
High Activity

News

Analyzed about 3 hours ago. based on code collected about 3 hours ago.
Posted over 5 years ago by Per-Åke Minborg
Check out the article below to become a master of Java Streams! Declarative code (e.g. functional composition with Streams) provides superior code metrics in many cases. Code your way through this hands-on-lab article series and mature into a ... [More] better Java programmer by becoming a Master of Java Streams. The whole idea with Streams is to represent a pipeline through which data will flow and the pipeline's functions operate on the data. This way, functional-style operations on Streams of elements can be expressed. This article is the first out of five where you will learn firsthand how to become a Master of Streams. We start with basic stream examples and progress with more complex tasks until you know how to connect standard Java Streams to databases in the Cloud. [Less]
Posted over 5 years ago by Javin Paul
What on the roadmap for Java developers? One of the requests I received from many of my readers was to create a Java developer roadmap. Since Java is my area of expertise, it wasn't a problem to create a roadmap, but it took slightly longer for ... [More] me to create one because of my limited free time. Anyway, I am finally ready to share my Java developer roadmap with you all. This roadmap contains an unobstructed path on how to become a Java expert, answering burning questions like: Which technologies should a Java developer learn? What tools make you a better Java developer? And lastly, which frameworks must a Java developer absolutely learn? [Less]
Posted over 5 years ago by Eliran David
Learn more about improving processing speed in your Spring service. Improving processing time by running tasks in parallel became very easy in the latest versions of Java and Spring. Must we understand the threads' usage behind the syntactic ... [More] sugar? Read on to find out. You may also like: Get the Most Out of the Java Thread Pool Let's Start With the Code Below is a simple controller of service (I will name it users service) that gets the input userId and returns the user object: id, name, and phoneNumber: [Less]
Posted over 5 years ago by Joshua Long
It's here; it's finally here! My favorite time of the year! Happy SpringOne Platform week! This week, I'm in the amazing Austin, TX, talking to anybody who wants to know about all things Spring. There have been a ton of amazing things announced at ... [More] this show, but one thing I've been excited to share with y'all is that we just announced the new Azure Spring Cloud runtime. (More on that in the links below!) I've been busy! I'm doing one talk with Microsoft on Azure Spring Cloud, and another with Okta /Google on simplifying the dev lifecycle. Also, I'm hosting the keynote tomorrow morning. So much to do, so little time! [Less]
Posted over 5 years ago by Simon Ritter
Apple(t) of my eye I recently noticed that applets are now, to use a Monty Python analogy, the Norwegian Blue of client-side development. If you go all the way back to when Java was being developed, it was an applet that caught everyone's attention.
Posted over 5 years ago by Trisha Gee
Learn more about reactive programming with Spring, JavaFX, and Kotlin! Spring Framework 5 brings full reactive support to developers everywhere. What better way to demo reactive programming than to actually build something live? Trisha will ... [More] live code an end-to-end application using Spring Framework 5, Spring Boot, Reactor, Kotlin, JavaFX, and maybe even some MongoDB, all built using IntelliJ IDEA. During this session, we'll see how these different components can work together really easily using Spring. What could possibly go wrong? You may also like: Java Annotated Monthly — October 2019 Code The code may be slightly different from the demo, as the demo needs to simplify the process of creation and I get to take my time when I’m creating the real app! UI (Java FX) and client code Server (Kotlin) code Resources I Googled a LOT for this demo, and that was even after Josh and I had already presented it at Code One in 2018! [Less]
Posted over 5 years ago by Matthieu Duchemin
Learn how to upgrade your data processing spreadsheet to the web. Welcome back to my ongoing quest to simplify the lives of my coworkers. Recently, I told you about the time where I automated a boring payroll edition process and how I shortened ... [More] the handling of our vendor’s info forms. Now, those are not the only things we can do with a spreadsheet — we also have some calculation sheets with several different use cases. Let's take a look! You may also like: Create a Spreadsheet Web App With Keikai: Workflow Example The Situation In basically any business interaction, we have to estimate the results based on data. It might be to evaluate financial risks, depreciation rate, tax, pension, etc. [Less]
Posted over 5 years ago by Riccardo Cardin
Optional is mandatory. Since the beginning of the "computer programming era," developers searched for a solution to one of the biggest mistakes ever made in computer science, the invention of the null reference. Since functional programming became ... [More] mainstream, the solution to this problem surfaced, the use of the optional type. In this post, we analyze how this type is used in different programming languages, trying to understand the best practices to apply in each situation. You may also like: 26 Reasons Why Using Optional Correctly Is Not Optional Returning the Nothing Let's start with a concrete example. Think about a repository that manages users. One classic method of such type is the method def findById(id: String): User, whatever an id could be. This method returns the user that has the given id, or nothing if no such user exists in your persistence layer. [Less]
Posted over 5 years ago by Swathi Prasad
Spring into action with SpEL! Spring Expression Language (SpEL) is a powerful expression language, which can be used for querying and manipulating an object graph at runtime. SpEL is available via XML or annotations and is evaluated during ... [More] the bean creation time. In this article, we will look at some basic examples of SpEL usage in Spring Boot. [Less]
Posted over 5 years ago by Santhosh Krishnan
[Java] parallel streams In Java 8, the streams API is easy to iterate over collections, and it's easy to parallelize a stream by calling the parallelStream() method. But should we be using parallelStream() wherever we can? What are the ... [More] considerations?  You may also like: Think Twice Before Using Java 8 Parallel Streams Look at the following ParallelStreamTester class to generate collections of different sizes for the purpose of testing parallel streams performance against a sequential stream.   [Less]