Java

Showing 28-36 of 39 results
EngineeringIcon ChevronBack-end

Full Text Search of Dialogues with Apache Lucene: A Tutorial

by Doug Sparling

Apache Lucene is a powerful Java library used for implementing full-text search on a corpus of text. With its wide array of configuration options and customizability, it is possible to tune Apache Lucene specifically to the corpus at hand - improving both search quality and query capability. This article gives us a glimpse of the simplicity and ease of customization of the Apache Lucene analysis pipeline.

15 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Buggy Java Code: The Top 10 Most Common Mistakes That Java Developers Make

by Mikhail Selivanov

Java, a sophisticated programming language, has been dominating a number of ecosystems for quite a while. Portability, automated garbage collection, and its gentle learning curve are some of the things that make it a great choice in software development. However, like any other programming language, it is still susceptible to developer mistakes. This article explores the top 10 common mistakes Java developers make and some ways of avoiding them.

14 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building Business Rules Engines with Drools - Power to the SMEople

by Jeff Marin

A business rules engine is a tool for executing business rules. Business rules are composed of facts and conditional statements. Any “if-then” statement that appears in traditional business logic qualifies as a business rule.

10 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Advanced Java Class Tutorial: A Guide to Class Reloading

by Lê Anh Quân

In Java development, a typical workflow involves restarting the server with every class change, and no one complains about it. But is Java class reloading that difficult to achieve? And could that problem be both challenging and exciting to solve? In this article, I will try to address the problem, help you gain all the benefits of on-the-fly class reloading, and boost your productivity immensely.

12 minute readContinue Reading
EngineeringIcon ChevronMobile

A Tutorial for Aspiring Google Glass Developers: Building Your First Glass App

by Demir Selmanovic

Google Glass promises to revolutionize how we use our devices to interact with the world. But from a developer's standpoint, what is so special about developing for the Glass? You'll be glad to know that the answer is "Nothing!" Here's a step-by-step tutorial that walks you through developing your first Google Glass app.

18 minute readContinue Reading
EngineeringIcon ChevronTechnology

Scala vs. Java: Why Should I Learn Scala?

by Matt Hicks

The popularity and usage of Scala is rapidly on the rise, as evidenced by the ever-increasing number of open positions for Scala developers. In this article, Toptal engineer Matt Hicks introduces you to the power and capabilities of the Scala language.

7 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

A Deep Learning Tutorial: From Perceptrons to Deep Networks

by Ivan Vasilev

The recent resurgence in Artificial Intelligence has been powered in no small part by a new trend in machine learning, known as "Deep Learning". In this article, I'll introduce you to the key concepts and algorithms behind Deep Learning, beginning with the simplest building block.

21 minute readContinue Reading
EngineeringIcon ChevronTechnology

Python Class Attributes: An Overly Thorough Guide

by Charles Marsh

In a recent phone screen, I decided to use a class attribute in my implementation of a certain Python API. My interviewer challenged me, questioning whether my code was syntactically valid, when it was executed, etc. In fact, I wasn't sure of the answers myself. So I did some digging. Python class attributes. No one really knows when (or how) to use 'em. In this guide, I walk through common pitfalls and conclude with a list of valid use-cases that could save you time, energy, and lines of code.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

Hunting Java Memory Leaks

by Jose Ferreirade Souza Filho

Inexperienced programmers often think that Java's automatic garbage collection frees them from the burden of memory management. This is a common misperception: while the garbage collector does its best, it's entirely possible for even the best programmer to fall prey to crippling memory leaks. In this post, I'll explain how and why memory leaks occur in Java and outline an approach for detecting such leaks with the help of a visual interface.

14 minute readContinue Reading

Join the Toptal® community.