JSRs and APIs
In this section on the Java programming language, get news, advice, and tutorials on using Java in enterprise application development. Learn why Java is so widely used in programming today, and discover tricks to use and pitfalls to avoid. It's important to stay informed about the latest Java Specification Requests (JSRs) and application programming interfaces (APIs). We bring you news about JSRs and APIs, popular Java platforms, classes, objects, IDEs, and SDKs that exist for programming in Java.
New & Notable
JSRs and APIs News
-
February 14, 2022
14
Feb'22
Noon is not 12am. Midnight is not 12pm. Code appropriately.
The terms 12am and 12pm make no logical sense. Neither one is noon or midnight. Remove the 12am vernacular from your applications. Users will thank you.
-
February 07, 2022
07
Feb'22
Node.js file upload example with Ajax and JavaScript
The Node.js file upload process is made easy with libraries like 'fs' and 'formidable.' In this JavaScript and Node.js file upload example, we show you how to move files from the browser to the ...
-
January 25, 2022
25
Jan'22
Why is the Bootstrap grid system 12 columns wide?
Ever wonder why they created a 12-column Bootstrap grid system, and not 10 or 15? It's the same reason there's 60 seconds in a minute, or 360 degrees in a circle.
-
November 29, 2021
29
Nov'21
How to use jarsigner to sign JARs files example
Here's a quick example of how to use Java's jarsigner to digitially sign JAR files.
JSRs and APIs Get Started
Bring yourself up to speed with our introductory content
-
What are checked vs. unchecked exceptions in Java?
Understand the difference between checked and unchecked exceptions in Java, and learn how to handle these problem conditions properly and gracefully. Continue Reading
-
Either log or rethrow Java exceptions, but never do both
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
-
7 tips to choose the right Java library
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
Evaluate JSRs and APIs Vendors & Products
Weigh the pros and cons of technologies, products and projects you are considering.
-
5 tech trends that foretell the future of Java in 2022
Here's what 2022 has in store for developers, programmers and DevOps professionals who work in the server-side Java space. Continue Reading
-
5 best Java 17 features that developers will love
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
-
5 reasons why Java is still the best programming language
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.
-
The management approach for internal vs. external APIs
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
-
An example of how suppressed exceptions in Java work
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
-
A simple 'try with resources' in Java example
Java's 'try-with-resources' exception handling feature can help you write better, more effective Java code. Here's a quick example of the try with resources construct in action. 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.
-
You need more than web app security to stop API attacks
API and web application vulnerabilities may share some common traits, but it's where they differ that hackers will target. Continue Reading
-
Stop with the unsafe internal Java API calls, or the JDK will stop it for you
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
-
Bridging the gap between WebRTC, VoIP and phones
The WebRTC protocol has shown great promise for integrating telephony capabilities into modern enterprise applications. But challenges remain. Continue Reading