Customized Remote Work Solutions From the World’s Largest Fully Remote CompanyCustomized Remote Work SolutionsLearn More

Java

Showing 10-18 of 66 results
EngineeringIcon ChevronBack-end

Guide to Spring Boot REST API Error Handling

by Bruno Leite

Spring Boot gives very useful error messages to engineers building REST APIs. Yet, those same messages are noisy and useless for the API consumer, not to mention they reveal implementation details. Luckily, there are simple ways of handling this.

8 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Get Started With Microservices: A Dropwizard Tutorial

by Dusan Simonovic

Dropwizard allows developers to quickly bootstrap their projects and package applications as easily deployable standalone services. It also happens to be relatively simple to use and implement. In this tutorial, Toptal Freelance Software Engineer Dusan Simonovic will introduce you to Dropwizard and demonstrate how you can use this powerful framework to create RESTful web services with ease.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Build an Email Sentiment Analysis Bot: An NLP Tutorial

by Shanglun Wang

Build a bot that analyzes the sentiment of incoming email messages using Recursive Neural Tensor Networks from the Stanford NLP library.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Server-side I/O Performance: Node vs. PHP vs. Java vs. Go

by Brad Peabody

Understanding the Input/Output (I/O) model of your application can mean the difference between an application that deals with the load it is subjected to, and one that crumples in the face of real-world uses cases. Perhaps while your application is small and does not serve high loads, it may matter far less. But as your application’s traffic load increases, working with the wrong I/O model can get you into a world of hurt.

16 minute readContinue Reading
EngineeringIcon ChevronTechnology

How to Build a Natural Language Processing App

by Shanglun Wang

Natural language is increasingly becoming a viable way of interacting with smart software. Google search, Apple’s Siri, Microsoft’s Cortana, etc. are all capable of understanding queries in natural language. In this article, Toptal Freelance Software Engineer Shanglun (Sean) Wang walks us through some useful concepts and techniques in natural language processing and shows how they can be used to build a simple NLP app.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

Genetic Algorithms: Search and Optimization by Natural Selection

by Eugene Ossipov

Many problems have optimal algorithms developed for them, while many others require us to randomly guess until we get a good answer. Even an optimal solution becomes slow and complex at a certain scale, at which point we can turn to natural processes to see how they reach acceptable results. In this article, Toptal Freelance Software Engineer Eugene Ossipov walks us through the basics of creating a Genetic Algorithm and gives us the knowledge to delve deeper into solving any problems using this approach.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Write Fat-free Java Code with Project Lombok

by Miguel García López

Java has some idiosyncrasies of its own and design choices that can make it rather verbose. While Java is a mature and performant programming language, developers frequently need to write boilerplate code that bring little or no real value other than complying with some set of constraints and conventions. In this article, Toptal Freelance Software Engineer Miguel García López shows how Project Lombok can help dramatically reduce the amount of boilerplate code that needs to be written in a Java application.

13 minute readContinue Reading
EngineeringIcon ChevronMobile

Android Threading: All You Need to Know

by Eliran Goshen

Android provides many ways of creating and managing threads, and third-party libraries exist to make that even easier. However, with so many options, choosing the right approach can be quite confusing. In this article, Toptal Freelance Software Engineer Eliran Goshen discusses some common scenarios in Android development that involve threading and how each of the scenarios can be dealt with.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

A Unit Testing Practitioner's Guide to Everyday Mockito

by Ivan Pavlov

Using Mockito is not just a matter of adding another dependency. It requires changing how you think about your unit tests while removing a lot of boilerplate. In this article, we'll cover multiple mock interfaces, listening invocations, matchers, and argument captors, and see firsthand how Mockito makes your tests cleaner and easier to understand.

21 minute readContinue Reading

Join the Toptal® community.