Java Memory Leaks

What to Do About Java Memory Leaks: Tools, Fixes, and More

Alexandra Altvater Developer Tips, Tricks & Resources

Memory management is Java’s strongest suit and one of the many reasons developers choose Java over other platforms and programming languages. On paper, you create objects, and Java deploys its garbage collector to allocate and free up memory. But that’s not to say Java is flawless. As a matter of fact, memory leaks happen and they happen a lot in …

Javascript – Currying VS Partial Application

Jessica Chapman Developer Tips, Tricks & Resources

Partial application and currying are two ways to transform one function into another. Many people get confused and are unable to differentiate between partial application and currying. Many people cannot even determine when and where to use each one in JavaScript. However, both work differently. In this article, we’ll explain the difference and practical usage of the two of them. …

How to Find Hibernate Performance Issues in Development and Production

How to Find Hibernate Performance Issues in Development and Production

Thorben Janssen Developer Tips, Tricks & Resources

The Java Persistence API (JPA) is used in most Java applications to interact with a relational database. One of its most popular implementations is the Hibernate ORM, because it uses object-relational mapping to abstract database interactions and makes implementing simple CRUD operations very simple. But this abstraction also has its downsides. Hibernate uses a lot of internal optimizations and hides …

A Step By Step Guide to Tomcat Performance Monitoring

Eugen Paraschiv Developer Tips, Tricks & Resources

Application server monitoring metrics and runtime characteristics are essential for the applications running on each server. Additionally, monitoring prevents or resolves potential issues in a timely manner. As far as Java applications go, Apache Tomcat is one of the most commonly used servers. Tomcat performance monitoring can be done with JMX beans or a monitoring tool such as MoSKito or JavaMelody. …

Top Java Software Errors

Top Java Software Errors: 50 Common Java Errors and How to Avoid Them

Stackify Developer Tips, Tricks & Resources, Insights for Dev Managers

Imagine, you are developing Java software and suddenly you encounter an error? Where could you have possibly gone wrong? There are many types of errors that you will encounter while developing Java software, but most are avoidable. Some errors are minor lapses when writing codes but that is very much mendable. If you have an error monitoring tool such as …

How to Monitor CPU Memory and Disk Usage in Java

Kibo Hutchinson Developer Tips, Tricks & Resources

In this post, we will discuss some of the primary commands, tools, and techniques that could help to monitor CPU Memory and Disk Usage in Java.  The Java tools  observe Java bytecode constructs and processes. Java Profilers follow all system commands and processor usage.  This lets you look at call arrangement at whatever point you prefer. The conventional profiler  provides  …

What is the best way to profile a Java application in eclipse

Lauren Groff Developer Tips, Tricks & Resources

Java profiling in Eclipse allows you to optimize your code, streamline your application, and better understand your program.  When profiling your application using a line-level analysis, you can reveal the slowest line within a sluggish piece of code, helping you efficiently troubleshoot problems. There are a variety of platforms for profiling Java eclipse. Eclipse is a popular software and is …

AngularJS

Java Development Mistakes: Avoid These 7 Mistakes When Java Developing

Molly Crockett Developer Tips, Tricks & Resources

Over time, Java has become a popular programming language in software development. Although Java is more popular with developers than C or C++, this programming language still has its problems. Here are seven Java development mistakes that developers can make and how you can avoid them. 1. Forgetting To Put “Break” In The Code “Forgetting the ‘break’ part can be detrimental …

SOLID Principles in Java - Swiss Knife Minimalistic Design

SOLID Design Principles Explained: The Single Responsibility Principle

Thorben Janssen Developer Tips, Tricks & Resources

SOLID is one of the most popular sets of design principles in object-oriented software development. It’s a mnemonic acronym for the following five design principles: Single Responsibility Principle Open/Closed Principle Liskov Substitution Principle Interface Segregation Principle Dependency Inversion All of them are broadly used and worth knowing. But in this first post of my series about the SOLID principles, I …

Java Streams in Java 8

A Guide to Java Streams in Java 8: In-Depth Tutorial With Examples

Eugen Paraschiv Developer Tips, Tricks & Resources

Overview The addition of the Stream was one of the major features added to Java 8. This in-depth tutorial is an introduction to the many functionalities supported by streams, with a focus on simple, practical examples. To understand this material, you need to have a basic, working knowledge of Java 8 (lambda expressions, Optional, method references). Introduction First of all, …

Top 10 Future Programming Languages

Freya Jacob Developer Tips, Tricks & Resources

Programming languages have made applications more efficient and easy to use, raising user experience to the next level. Let’s look at the top programming languages defining the future of code and hiring trends.  1. Python Python is widely accepted as the best programming language for beginner developers as it is simple and easy to use and deploy. It is widely used …

10 of the Most Popular Java Frameworks of 2020

10 of the Most Popular Java Frameworks of 2020

Taurai Mutimutema Developer Tips, Tricks & Resources

There are plenty of reasons why Java, being one of the older software programming languages, is still widely used. For one, the immense power one wields when using Java is enough to make it their staple. Couple that with the possibilities that using good Java frameworks bring and you could lessen the turnaround time for big projects. This post will …

Server Room

5 Best Security Practices for Tomcat Servers

Harsh Gala Developer Tips, Tricks & Resources

Tomcat servers are widely used application servers for today’s development architectures, popular for hosting Java based applications. Below is a guide on best security practices for security your Tomcat Server environment. 1. Beware of Banner Grabbing What is banner grabbing? Banner grabbing is the process of gaining information from computer systems including services, open ports, version, etc. How banner grabbing …

What Are Java Agents and How to Profile With Them

Carlos Schults Developer Tips, Tricks & Resources

Java agents are a special type of class which, by using the Java Instrumentation API, can intercept applications running on the JVM, modifying their bytecode. Java agents aren’t a new piece of technology. On the contrary, they’ve existed since Java 5. But even after all of this time, many developers still have misconceptions about this feature—and others don’t even know …

Java Profilers

Java Profilers: Why You Need These 3 Different Types

Darin Howard Developer Tips, Tricks & Resources

Debugging performance issues in production can be a pain and, in some cases, impossible without the right tools. Java profiling has been around forever, but the java profilers most developers think about are only one type: standard JVM profilers. However, using one type of profiler is not enough. Suppose you’re analyzing your application’s performance. There are multiple profiling activities which …

Java Performance Tools: 9 Types of Tools You Need to Know

Java Performance Monitoring Tools: 9 Types of Tools You Need to Know!

Darin Howard Developer Tips, Tricks & Resources

Monitoring an application’s performance is one of the hardest challenges in software development. That’s true for virtually any programming language and platform. Java performance monitoring presents some unique challenges of its own. For instance, one of those challenges has to do with garbage collection. Java features automatic memory management, which frees the developer from having to manually dispose of obsolete …