sort by date

index

TheServerSide.com
developerWorks (IBM)
Javalobby
DevX.com
Focus On Java
java.net
java.sun.com

sitios en español

Javalobby
IntelliJ IDEA 2017.2 Public Preview
Andrey Cheptsov06/22/2017

The last couple of months have been a lot of fun as we’ve been working on IntelliJ IDEA 2017.2, which is due out this summer. We appreciate the contributions from all EAP participants and the feedback they’ve shared on the new features. We reached a feature-freeze two weeks ago, and today, with roughly a month before the release, we’re happy to give you a detailed glimpse of what’s noteworthy in the upcoming IntelliJ IDEA 2017.2.

If you can’t wait, download the public preview build right away and try it on your own. Otherwise, read on and learn about the major changes.

 TOP
How to Implement a New Realm in Tomcat
Siddhartha Dey06/22/2017 at 14:01:24

Tomcat by default ships with a couple of Realm implementations likeJDBCRealmDataSourceRealm, and JNDIRealm, etc. But sometimes, it is not sufficient for your organization’s requirements and you are required to apply your own implementations.

How to Implement a Custom Realm in Tomcat

You can create your own realm by extending RealmBase class; here, I am going to show an example of implementing a new Realm in Tomcat.

 TOP
Using JMS in Spring Boot
Dan Newton06/22/2017

JMS (Java Message Service) is a Java Message Oriented Middleware used to send messages between clients and works by sending messages to a message queue which are then taken when possible to execute a transaction. This post will focus on implementing JMS with Spring Boot, which doesn’t take long at all to setup.

JMS and message queues, in general, bring some certain advantages over using RESTful services such as:

 TOP
Java Command-Line Interfaces (Part 1): Apache Commons CLI
Dustin Marx06/22/2017 at 09:01:09

Although I typically use Groovy to write JVM-hosted scripts to be run from the command-line, there are times when I need to parse command-line parameters in Java applications and there are a plethora of libraries available for Java developers to use to parse command-line parameters. In this post, I look at one of the best known of these Java command line parsing libraries: Apache Commons CLI.

I have blogged on Apache Commons CLI before, but that post is over eight years old and describes Apache Commons CLI 1.1. Two classes that I demonstrated in that post, GnuParser and PosixParser, have since been deprecated. The examples in this current post are based on Apache Commons CLI 1.4 and use the newer DefaultParser that was introduced with CLI 1.3 to replace GnuParser and PosixParser.

 TOP
DevX.com
UUID in Java
06/05/2017
Language: Java, Expertise: Advanced - Learn to create a new random UUID.
 TOP
Comparison of Arrays
05/29/2017
Language: Java, Expertise: Intermediate - Easy code for comparing arrays in Java.
 TOP
Timer in Java
05/22/2017
Language: Java, Expertise: Intermediate - Explore how to create a task timer in Java.
 TOP
Increasing the Size of an Array
05/15/2017
Language: Java, Expertise: Intermediate - Learn how to increase the size of an array.
 TOP

 

 

JAVAsight.comcontactUS

 
 

Java and Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. javasight is independent of Sun Microsystems, Inc.