DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

The Latest Java Topics

article thumbnail
A Guide to Mocking With Mockito
If you're thinking about trying Mockito out for unit testing, this article provides a comprehensive guide to injecting mocks and mocking methods, including void methods.
June 9, 2017
by Dilini Rajapaksha
· 285,690 Views · 51 Likes
article thumbnail
JUnit Testing for Solr 6
Want to test your Solr queries with JUnit? This guide will help you set up your dependencies and create and implement your tests.
June 7, 2017
by Upul Kamburawala
· 19,603 Views · 3 Likes
article thumbnail
Parsing in Java (Part 2): Diving Into CFG Parsers
Parsing in Java is a broad topic, so let's cover the various techniques, tools, and libraries out there and see which works best where and when.
June 7, 2017
by Gabriele Tomassetti
· 27,324 Views · 15 Likes
article thumbnail
jhsdb: A New Tool for JDK 9
Another JDK, another command line tool. Here, we delve into jhsdb, which you can use to launch a postmortem debugger to analyze the data from crashed JVMs.
June 6, 2017
by Dustin Marx
· 29,211 Views · 23 Likes
article thumbnail
10 Quick Dataweave Functions
This quick reference collects many Dataweave functions for MuleSoft in one place, like reversing strings and flattening and trimming a payload.
June 6, 2017
by Satheesh Kumar
· 84,689 Views · 9 Likes
article thumbnail
What's Wrong With Hashcode in java.lang.String?
This overview of strings and hashcode covers how hashcode works, how collisions happen, and the danger of improperly using strings as keys.
June 6, 2017
by Artem Rukavytsia
· 59,697 Views · 35 Likes
article thumbnail
Simple Attribute-Based Access Control With Spring Security
Have you ever worked on software where the access rules are based not only on user's role but also on the specific entity that role was granted? You will probably find Attribute-Based Access Control very useful — this article will tell you how.
Updated June 5, 2017
by Mostafa Eltaher
· 130,651 Views · 45 Likes
article thumbnail
5 Java Performance Optimization Tricks
Some Java performance optimization tricks include starting with minimum heap allocation, using a StringBuilder instead of the + operator, and avoiding Iterator.
June 4, 2017
by Joydeep Bhattacharya DZone Core CORE
· 55,289 Views · 3 Likes
article thumbnail
Parsing in Java (Part 1): Structures, Trees, and Rules
In Part 1 in this comprehensive series on parsers (with a focus on Java), we examine how parsers work, the difference between Parse Trees and ASTs, and more.
Updated June 4, 2017
by Gabriele Tomassetti
· 47,079 Views · 52 Likes
article thumbnail
Creating Microservices on the Pivotal Platform
Using the Pivotal platform gives you an easy way to deploy, scale, and monitor your microservices. Learn how to get it set up and running.
June 2, 2017
by Piotr Mińkowski
· 27,009 Views · 9 Likes
article thumbnail
Concurrency in Action: Using Java's CompletableFuture With Work Manager
Learn how to create nonblocking code in Java EE by using the Java functions, CompletableFuture and Work Manager. Read on for more!
May 31, 2017
by Nikhil Bhide
· 76,998 Views · 11 Likes
article thumbnail
Converting JSON to POJOs Using Java
If you find yourself mapping JSON to POJOs but don't want to write a full class, help yourself to a handy library that does the work for you.
May 30, 2017
by Anurag Jain
· 267,637 Views · 55 Likes
article thumbnail
What Does Spring DelegatingFilterProxy Do?
You might see Spring's DelegatingFilterProxy crop up sometimes. It's actually a proxy for a standard Servlet Filter. Let's see an example in action with Spring Security.
May 30, 2017
by Martin Farrell
· 35,354 Views · 9 Likes
article thumbnail
All About VisualVM
VisualVM is one of those indispensable tools for Java (and JVM-based) developers. An oft-unsung hero, this post tells you what it is, how to set it up, and its benefits.
May 30, 2017
by Angela Stringfellow
· 38,070 Views · 26 Likes
article thumbnail
Introducing a Parameterized Test Suite for JUnit 4
As JUnit 4 fans will know, you aren't able to parameterize test suites. But now there's an extension, via the Runner class, that will help you out.
May 29, 2017
by Peter Wippermann
· 20,208 Views · 2 Likes
article thumbnail
7 Reasons to Consider JUnit 5
JUnit 5 will be out soon! With the new Jupiter API, a focus on extensibility, and a huge integration overhaul, it promises to make testing easier than ever.
May 29, 2017
by Daniel Olszewski
· 26,077 Views · 14 Likes
article thumbnail
Java 8 Concepts: FP, Streams, and Lambda Expressions
This technical overview of Java 8 covers its functional aspects, including translations to the imperative paradigms, and how streams and lambdas work.
May 28, 2017
by Radek Krawiec
· 92,606 Views · 69 Likes
article thumbnail
Java 9 (Part 4): Trying Try-with-Resources: First Look
In Part 4 of this Java 9 series, we see that try-with-resources has been enhanced. Let's compare how Try With Resources worked back in Java 7 versus today.
Updated May 27, 2017
by Tomer Ben David
· 22,115 Views · 8 Likes
article thumbnail
JPA Auditing: Automatically Persisting Audit Logs Using EntityListeners
When creating audit logs, consider using Spring Data. Its JPA functionality allows for EntityListeners and callback methods to update the needed properties.
May 27, 2017
by Naresh Joshi
· 76,164 Views · 21 Likes
article thumbnail
Multi-Stage Docker Image Build for Java Apps
No longer do you have to manage multiple Dockerfiles and use the Builder Pattern. Now, you can save time by creating a multi-stage build process for your Java apps.
May 26, 2017
by Shekhar Gulati
· 37,938 Views · 3 Likes
  • Previous
  • ...
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×