Home » Archives for Armando Flores » Page 2

Author Archives: Armando Flores

Armando graduated from from Electronics Engineer in the The Public University Of Puebla (BUAP). He also has a Masters degree in Computer Sciences from CINVESTAV. He has been using the Java language for Web Development for over a decade. He has been involved in a large number of projects focused on "ad-hoc" Web Application based on Java EE and Spring Framework.

log4j – Appender Example

In this post, we are going to discuss about log4j appenders and how you configure it using an log4j.xml file. 1. What is log4j? log4j is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be ...

Read More »

log4j – Log Levels Example

In this post, we are going to discuss about log4j levels and how you configure them using both log4j.properties and log4j.xml files. 1. What is log4j? log4j is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem ...

Read More »

Logback Maven Example

In this post, we are going to show you how to configure your application to use Maven and logback as logger solution. 1. What is logback? Logback is intended as a successor to the popular log4j project. It was designed by Ceki Gülcü, log4j’s founder. It builds upon a decade of experience gained in designing industrial-strength logging systems. The resulting ...

Read More »

Logback Configuration Example

In this post, we are going to show you how to configure your application to use slf4j and logback as logger solution. 1. What is logback? Logback is intended as a successor to the popular log4j project. It was designed by Ceki Gülcü, log4j’s founder. It builds upon a decade of experience gained in designing industrial-strength logging systems. The resulting ...

Read More »

JUnit Maven Example

In this example, we will show you how to implement and execute unit testing, using the JUnit Framework and Maven. 1. Introduction. Some developers feel that automated tests are an essential part of the development process: you can’t prove a component works until it passes a comprehensive series of test. Two developers felt that this type of unit testing was ...

Read More »

java.util.Hashtable – Hashtable Java Example

In this example, we will show the range of functionality provided by the java.util.Hashtable hashtable Java class. Hashtable was part of the original java.util and is a concrete implementation of a Dictionary. However, with the advent of collections, Hashtable was reengineered to also implement the Map interface. Thus, Hashtable is now integrated into the Collections Framework. It is similar to ...

Read More »

java.util.Scanner – Scanner Java Example (with video)

In this example, we will show the range of functionality provided by the java.util.Scanner – Scanner Java class. We will also see how to use the Java Scanner class to read a Java input form the console. A simple text scanner which can parse primitive types and strings using regular expressions. You can also check this tutorial in the following ...

Read More »

java.net.URL Example

In this example, we will show the range of functionality provided by the java.net.URL class. This class represents a Uniform Resource Locator, a pointer to a “resource” on the World Wide Web. An URL is a text string that identifies a resource, tells where to find it, and specifies a method for communicating with it or retrieving it from its ...

Read More »

Java Array – java.util.Arrays Example (with Video)

In this example, we will explain the array definition and we will show the range of functionality provided by the Java arrays class: java.util.Arrays. This class of the java.util package contains several static methods that you can use to compare, sort, and search in arrays. In addition, you can use this class to assign a value to one or more ...

Read More »