New & Notable
JSRs and APIs News
September 09, 2022
Don't let the complexities of Java Exception handling get you down. Follow these top 10 Java Exception handling examples and you'll be an expert in handling errors in your Java code.
July 23, 2022
Java's Scanner class provides a simple and effective way to handle user input. In this simple example, we show how to use Java's Scanner for String input with methods like next(), nextLine() and ...
June 13, 2022
Formatting output in Java doesn't have to be hard. Here's how to use Java printf with double values to control decimal precision, thousands groupings and character width when you format ...
June 11, 2022
There are many ways to write a Java String palindrome program. In this Java palindrome example we demonstrate recursion and how the use of loops, arrays, Scanner and the reverse method can improve ...
JSRs and APIs Get Started
Bring yourself up to speed with our introductory content
Naming APIs can be a daunting process, since it requires a balance between simplicity and clarity. JJ Geewax, author of 'API Design Patterns,' has some advice for developers. Continue Reading
Understand the difference between checked and unchecked exceptions in Java, and learn how to handle these problem conditions properly and gracefully. Continue Reading
When an exception occurs in your Java code, you can log it or you can rethrow it -- but don't do both. Here's why you must avoid that exception handling antipattern. Continue Reading
Evaluate JSRs and APIs Vendors & Products
Weigh the pros and cons of technologies, products and projects you are considering.
Here's what 2022 has in store for developers, programmers and DevOps professionals who work in the server-side Java space. Continue Reading
The new Java 17 release contains plenty of new features that will intrigue developers. Here are five features that should push developers off the Java 11 LTS to JDK 17. Continue Reading
Here's why Java is still the most popular programming language for everything from mobile development to enterprise and server-side applications that empower the middle tier. Continue Reading
Manage JSRs and APIs
Learn to apply best practices and optimize your operations.
While internal and external APIs don't differ much mechanically, there are some important contrasts when it comes to certain API design and lifecycle management issues. Continue Reading
Your application is only as secure and reliable as the external libraries you use. Here's a list of the top 7 things to consider when choosing a software library for your project. Continue Reading
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
Problem Solve JSRs and APIs Issues
We’ve gathered up expert advice and tips from professionals like you so that the answers you need are always available.
API and web application vulnerabilities may share some common traits, but it's where they differ that hackers will target. Continue Reading
Soon, any code that uses Java internal APIs will not compile, and shortly after that, code that uses classes in sun.misc will not even run. Continue Reading
The WebRTC protocol has shown great promise for integrating telephony capabilities into modern enterprise applications. But challenges remain. Continue Reading