Home » Archives for Mary Zheng » Page 10

Author Archives: Mary Zheng

Mary has graduated from Mechanical Engineering department at ShangHai JiaoTong University. She also holds a Master degree in Computer Science from Webster University. During her studies she has been involved with a large number of projects ranging from programming and software engineering. She works as a senior Software Engineer in the telecommunications sector where she acts as a leader and works with others to design, implement, and monitor the software solution.

Logback vs Log4j Example

In this post, we feature a comprehensive Example on Logback vs Log4j. Logback and Log4j are the most widely used logging frameworks in the Java community. In this tutorial, I will demonstrate how to log the messages in Java applications with both Logback and Log4j. Table Of Contents 1. Introduction 2. Technologies Used 3. Maven Java Application 3.1 Dependencies 3.2 ...

Read More »

Logback Tutorial for Beginners

In this post, we feature a comprehensive Logback Tutorial. Logback is one of the most widely used logging frameworks in the Java community. It provides more options for configuration and more flexibility in archiving old log files. In this tutorial, I will demonstrate its three key components: Logger, Appender, and Layout. Table Of Contents 1. Introduction 2. Technologies Used 3. Spring ...

Read More »

JAX-RS Tutorial with Jersey for RESTful Web Services

1. Introduction In this post, we feature a comprehensive tutorial on JAX-RS with Jersey for RESTful Web Services. Java API for RESTful Web Services (JAX-RS) is a Java programming language API specification that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern. Jersey is Sun’s implementation for JAX-RS. Jersey not only implements the annotations ...

Read More »

Spring with Maven Tutorial

In this post, we feature a comprehensive Tutorial on Spring with Maven. Spring Framework is a Java application framework that provides many useful services for building applications. Apache Maven is a software project management and comprehension tool. In this article, I will demonstrate how to build a web application utilizing Spring MVC framework as a Maven project.       ...

Read More »

Java Batch Tutorial

1. Introduction In this post, we feature a comprehensive Example on Java Batch. Java batch application is a Java application which processes a group of records, usually large volumes of data, as a single unit automatically. Spring introduced the Spring-batch framework in 2006. Spring Batch is an open source framework designed to enable the development of robust batch applications vital for the daily operations of ...

Read More »

Git Download Repository Example

1. Introduction In this post, we feature a comprehensive Git Download Repository Example. Git is an open source distributed version control system designed to handle everything from small to large projects with speed and efficiency. It was first released on 12-15-2005. There are lots of Git Hosting Services available today. GitHub is one of the most popular ones. In this article, I will demonstrate ...

Read More »

Git Remote Branch Example

1. Introduction Git is an open source distributed version control system designed to handle everything from small to large projects with speed and efficiency. Three-tree architecture is the key concept. Here are the three trees: Repository tree – The place to store the committed files. It can be local or remote. The remote repository is used to track the same project but is ...

Read More »

Apache ActiveMQ SSL Example

1. Introduction Secure Sockets Layer (SSL) is a standard security protocol for establishing encrypted links between a web server and a browser in an online communication. SSL was originally developed for securing web browser and server communications by Netscape in 1994. Subsequently, the protocol was adopted by the Internet Engineering Task Force (IETF) and renamed to Transport Layer Security (TLS) ...

Read More »

Groovy Collections Example

1. Introduction Apache Groovy (Groovy) is an object-oriented dynamic programming language for the Java platform. It is dynamically compiled to the Java Virtual Machine (JVM) bytecode, and inter-operates with other Java source codes and libraries. Groovy is written in Java and was first released in 2007. Groovy provides native support for various collection types, including lists, sets, maps, and ranges. Most of these are based on ...

Read More »

Groovy Each Example

1. Introduction Apache Groovy (Groovy) is an object-oriented dynamic programming language for the Java platform. It is dynamically compiled to the Java Virtual Machine (JVM) bytecode, and inter-operates with other Java source codes and libraries. Groovy is written in Java and was first released in 2007. Groovy each and eachWithIndex methods are defined in Groovy Object, so we can use them for any object. ...

Read More »