Skip to content

Commit

Permalink
Merge branch 'master' into readme-26
Browse files Browse the repository at this point in the history
  • Loading branch information
jzheaux authored Oct 3, 2019
2 parents 83e27dd + 6cb034c commit 8435d12
Show file tree
Hide file tree
Showing 495 changed files with 2,585 additions and 2,536 deletions.
2 changes: 1 addition & 1 deletion akka-streams/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Relevant articles

- [Guide to Akka Streams](http://www.baeldung.com/akka-streams)
- [Guide to Akka Streams](https://www.baeldung.com/akka-streams)
4 changes: 2 additions & 2 deletions algorithms-genetic/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Relevant articles:

- [Introduction to Jenetics Library](http://www.baeldung.com/jenetics)
- [Ant Colony Optimization](http://www.baeldung.com/java-ant-colony-optimization)
- [Introduction to Jenetics Library](https://www.baeldung.com/jenetics)
- [Ant Colony Optimization](https://www.baeldung.com/java-ant-colony-optimization)
- [Design a Genetic Algorithm in Java](https://www.baeldung.com/java-genetic-algorithm)
- [The Traveling Salesman Problem in Java](https://www.baeldung.com/java-simulated-annealing-for-traveling-salesman)
4 changes: 2 additions & 2 deletions algorithms-miscellaneous-2/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Relevant articles:

- [Dijkstra Algorithm in Java](https://www.baeldung.com/java-dijkstra)
- [Dijkstra Shortest Path Algorithm in Java](https://www.baeldung.com/java-dijkstra)
- [Introduction to Cobertura](https://www.baeldung.com/cobertura)
- [Test a Linked List for Cyclicity](https://www.baeldung.com/java-linked-list-cyclicity)
- [Introduction to JGraphT](https://www.baeldung.com/jgrapht)
- [A Maze Solver in Java](https://www.baeldung.com/java-solve-maze)
- [Create a Sudoku Solver in Java](https://www.baeldung.com/java-sudoku)
- [Displaying Money Amounts in Words](https://www.baeldung.com/java-money-into-words)
- [A Collaborative Filtering Recommendation System in Java](https://www.baeldung.com/java-collaborative-filtering-recommendations)
- [A Collaborative Filtering Recommendation System in Java](https://www.baeldung.com/java-collaborative-filtering-recommendations)
6 changes: 3 additions & 3 deletions algorithms-miscellaneous-3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

- [Java Two Pointer Technique](https://www.baeldung.com/java-two-pointer-technique)
- [Implementing Simple State Machines with Java Enums](https://www.baeldung.com/java-enum-simple-state-machine)
- [Converting Between Roman and Arabic Numerals in Java](http://www.baeldung.com/java-convert-roman-arabic)
- [Practical Java Examples of the Big O Notation](http://www.baeldung.com/java-algorithm-complexity)
- [Converting Between Roman and Arabic Numerals in Java](https://www.baeldung.com/java-convert-roman-arabic)
- [Practical Java Examples of the Big O Notation](https://www.baeldung.com/java-algorithm-complexity)
- [Checking If a List Is Sorted in Java](https://www.baeldung.com/java-check-if-list-sorted)
- [Checking if a Java Graph has a Cycle](https://www.baeldung.com/java-graph-has-a-cycle)
- [A Guide to the Folding Technique in Java](https://www.baeldung.com/folding-hashing-technique)
- [Creating a Triangle with for Loops in Java](https://www.baeldung.com/java-print-triangle)
- [Efficient Word Frequency Calculator in Java](https://www.baeldung.com/java-word-frequency)
- [Efficient Word Frequency Calculator in Java](https://www.baeldung.com/java-word-frequency)
3 changes: 2 additions & 1 deletion algorithms-sorting/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
## Relevant articles:

- [Bubble Sort in Java](http://www.baeldung.com/java-bubble-sort)
- [Bubble Sort in Java](https://www.baeldung.com/java-bubble-sort)
- [Merge Sort in Java](https://www.baeldung.com/java-merge-sort)
- [Quicksort Algorithm Implementation in Java](https://www.baeldung.com/java-quicksort)
- [Insertion Sort in Java](https://www.baeldung.com/java-insertion-sort)
- [Heap Sort in Java](https://www.baeldung.com/java-heap-sort)
- [Shell Sort in Java](https://www.baeldung.com/java-shell-sort)
- [Counting Sort in Java](https://www.baeldung.com/java-counting-sort)
- [Sorting Strings by Contained Numbers in Java](https://www.baeldung.com/java-sort-strings-contained-numbers)
2 changes: 1 addition & 1 deletion animal-sniffer-mvn-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## Relevant articles:

[Introduction to Animal Sniffer Maven Plugin](http://www.baeldung.com/maven-animal-sniffer)
[Introduction to Animal Sniffer Maven Plugin](https://www.baeldung.com/maven-animal-sniffer)
2 changes: 1 addition & 1 deletion annotations/readme.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### Relevant Articles:
- [Java Annotation Processing and Creating a Builder](http://www.baeldung.com/java-annotation-processing-builder)
- [Java Annotation Processing and Creating a Builder](https://www.baeldung.com/java-annotation-processing-builder)
2 changes: 1 addition & 1 deletion antlr/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Relevant Articles:

- [Java with ANTLR](http://www.baeldung.com/java-antlr)
- [Java with ANTLR](https://www.baeldung.com/java-antlr)
2 changes: 1 addition & 1 deletion apache-avro/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### Relevant Articles:
- [Guide to Apache Avro](http://www.baeldung.com/java-apache-avro)
- [Guide to Apache Avro](https://www.baeldung.com/java-apache-avro)
2 changes: 1 addition & 1 deletion apache-bval/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### Relevant Articles:
- [Intro to Apache BVal](http://www.baeldung.com/apache-bval)
- [Intro to Apache BVal](https://www.baeldung.com/apache-bval)
2 changes: 1 addition & 1 deletion apache-curator/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Relevant Articles:

- [Introduction to Apache Curator](http://www.baeldung.com/apache-curator)
- [Introduction to Apache Curator](https://www.baeldung.com/apache-curator)
8 changes: 4 additions & 4 deletions apache-cxf/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Relevant Articles:
- [Introduction to Apache CXF Aegis Data Binding](http://www.baeldung.com/aegis-data-binding-in-apache-cxf)
- [Apache CXF Support for RESTful Web Services](http://www.baeldung.com/apache-cxf-rest-api)
- [A Guide to Apache CXF with Spring](http://www.baeldung.com/apache-cxf-with-spring)
- [Introduction to Apache CXF](http://www.baeldung.com/introduction-to-apache-cxf)
- [Introduction to Apache CXF Aegis Data Binding](https://www.baeldung.com/aegis-data-binding-in-apache-cxf)
- [Apache CXF Support for RESTful Web Services](https://www.baeldung.com/apache-cxf-rest-api)
- [A Guide to Apache CXF with Spring](https://www.baeldung.com/apache-cxf-with-spring)
- [Introduction to Apache CXF](https://www.baeldung.com/introduction-to-apache-cxf)
- [Server-Sent Events (SSE) In JAX-RS](https://www.baeldung.com/java-ee-jax-rs-sse)
2 changes: 1 addition & 1 deletion apache-meecrowave/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Relevant Articles:
================================
- [Building a Microservice with Apache Meecrowave](http://www.baeldung.com/apache-meecrowave)
- [Building a Microservice with Apache Meecrowave](https://www.baeldung.com/apache-meecrowave)
1 change: 1 addition & 0 deletions apache-olingo/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## Relevant articles:

- [OData Protocol Guide](https://www.baeldung.com/odata)
- [Intro to OData with Olingo](https://www.baeldung.com/olingo)
2 changes: 1 addition & 1 deletion apache-opennlp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Relevant Articles

- [Intro to Apache OpenNLP](http://www.baeldung.com/apache-open-nlp)
- [Intro to Apache OpenNLP](https://www.baeldung.com/apache-open-nlp)
6 changes: 3 additions & 3 deletions apache-poi/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Relevant Articles:
- [Microsoft Word Processing in Java with Apache POI](http://www.baeldung.com/java-microsoft-word-with-apache-poi)
- [Working with Microsoft Excel in Java](http://www.baeldung.com/java-microsoft-excel)
- [Creating a MS PowerPoint Presentation in Java](http://www.baeldung.com/apache-poi-slideshow)
- [Microsoft Word Processing in Java with Apache POI](https://www.baeldung.com/java-microsoft-word-with-apache-poi)
- [Working with Microsoft Excel in Java](https://www.baeldung.com/java-microsoft-excel)
- [Creating a MS PowerPoint Presentation in Java](https://www.baeldung.com/apache-poi-slideshow)
2 changes: 1 addition & 1 deletion apache-shiro/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### Relevant articles
- [Introduction to Apache Shiro](http://www.baeldung.com/apache-shiro)
- [Introduction to Apache Shiro](https://www.baeldung.com/apache-shiro)
2 changes: 1 addition & 1 deletion apache-solrj/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Apache Solrj Tutorials Project

### Relevant Articles
- [Guide to Solr in Java with Apache Solrj](http://www.baeldung.com/apache-solrj)
- [Guide to Solr in Java with Apache Solrj](https://www.baeldung.com/apache-solrj)
2 changes: 1 addition & 1 deletion apache-spark/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Relevant articles

- [Introduction to Apache Spark](http://www.baeldung.com/apache-spark)
- [Introduction to Apache Spark](https://www.baeldung.com/apache-spark)
- [Building a Data Pipeline with Kafka, Spark Streaming and Cassandra](https://www.baeldung.com/kafka-spark-data-pipeline)
2 changes: 1 addition & 1 deletion apache-thrift/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## Relevant articles:

- [Working with Apache Thrift](http://www.baeldung.com/apache-thrift)
- [Working with Apache Thrift](https://www.baeldung.com/apache-thrift)
2 changes: 1 addition & 1 deletion apache-tika/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This module contains articles about Apache Tika

### Relevant articles:

- [Content Analysis with Apache Tika](http://www.baeldung.com/apache-tika)
- [Content Analysis with Apache Tika](https://www.baeldung.com/apache-tika)
2 changes: 1 addition & 1 deletion apache-velocity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This module contains articles about Apache Velocity

### Relevant articles:

- [Introduction to Apache Velocity](http://www.baeldung.com/apache-velocity)
- [Introduction to Apache Velocity](https://www.baeldung.com/apache-velocity)
2 changes: 1 addition & 1 deletion apache-zookeeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This module contains articles about Apache Zookeeper

### Relevant articles:

- [Getting Started with Java and Zookeeper](http://www.baeldung.com/java-zookeeper)
- [Getting Started with Java and Zookeeper](https://www.baeldung.com/java-zookeeper)
4 changes: 2 additions & 2 deletions asciidoctor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ This module contains articles about Asciidoctor

### Relevant articles:

- [Generating a Book with Asciidoctor](http://www.baeldung.com/asciidoctor-book)
- [Introduction to Asciidoctor in Java](http://www.baeldung.com/asciidoctor)
- [Generating a Book with Asciidoctor](https://www.baeldung.com/asciidoctor-book)
- [Introduction to Asciidoctor in Java](https://www.baeldung.com/asciidoctor)
2 changes: 1 addition & 1 deletion asm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This module contains articles about ASM

### Relevant Articles:

- [A Guide to Java Bytecode Manipulation with ASM](http://www.baeldung.com/java-asm)
- [A Guide to Java Bytecode Manipulation with ASM](https://www.baeldung.com/java-asm)
2 changes: 1 addition & 1 deletion atomix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This module contains articles about Atomix

### Relevant articles:

- [Introduction to Atomix](http://www.baeldung.com/atomix)
- [Introduction to Atomix](https://www.baeldung.com/atomix)
5 changes: 2 additions & 3 deletions autovalue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
This module contains articles about automatic code generation

### Relevant Articles:

- [Introduction to AutoValue](http://www.baeldung.com/introduction-to-autovalue)
- [Introduction to AutoFactory](http://www.baeldung.com/autofactory)
- [Introduction to AutoValue](https://www.baeldung.com/introduction-to-autovalue)
- [Introduction to AutoFactory](https://www.baeldung.com/autofactory)
- [Google AutoService](https://www.baeldung.com/google-autoservice)
4 changes: 2 additions & 2 deletions aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
This module contains articles about AWS Lambda

### Relevant Articles:
- [Using AWS Lambda with API Gateway](http://www.baeldung.com/aws-lambda-api-gateway)
- [Introduction to AWS Serverless Application Model](http://www.baeldung.com/aws-serverless)
- [Using AWS Lambda with API Gateway](https://www.baeldung.com/aws-lambda-api-gateway)
- [Introduction to AWS Serverless Application Model](https://www.baeldung.com/aws-serverless)
16 changes: 8 additions & 8 deletions aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This module contains articles about AWS

### Relevant articles

- [AWS Lambda Using DynamoDB With Java](http://www.baeldung.com/aws-lambda-dynamodb-java)
- [AWS S3 with Java](http://www.baeldung.com/aws-s3-java)
- [AWS Lambda With Java](http://www.baeldung.com/java-aws-lambda)
- [Managing EC2 Instances in Java](http://www.baeldung.com/ec2-java)
- [Multipart Uploads in Amazon S3 with Java](http://www.baeldung.com/aws-s3-multipart-upload)
- [Integration Testing with a Local DynamoDB Instance](http://www.baeldung.com/dynamodb-local-integration-tests)
- [Using the JetS3t Java Client With Amazon S3](http://www.baeldung.com/jets3t-amazon-s3)
- [Managing Amazon SQS Queues in Java](http://www.baeldung.com/aws-queues-java)
- [AWS Lambda Using DynamoDB With Java](https://www.baeldung.com/aws-lambda-dynamodb-java)
- [AWS S3 with Java](https://www.baeldung.com/aws-s3-java)
- [AWS Lambda With Java](https://www.baeldung.com/java-aws-lambda)
- [Managing EC2 Instances in Java](https://www.baeldung.com/ec2-java)
- [Multipart Uploads in Amazon S3 with Java](https://www.baeldung.com/aws-s3-multipart-upload)
- [Integration Testing with a Local DynamoDB Instance](https://www.baeldung.com/dynamodb-local-integration-tests)
- [Using the JetS3t Java Client With Amazon S3](https://www.baeldung.com/jets3t-amazon-s3)
- [Managing Amazon SQS Queues in Java](https://www.baeldung.com/aws-queues-java)
- [Guide to AWS Aurora RDS with Java](https://www.baeldung.com/aws-aurora-rds-java)
2 changes: 1 addition & 1 deletion axon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This module contains articles about Axon

### Relevant articles

- [A Guide to the Axon Framework](http://www.baeldung.com/axon-cqrs-event-sourcing)
- [A Guide to the Axon Framework](https://www.baeldung.com/axon-cqrs-event-sourcing)
2 changes: 1 addition & 1 deletion azure/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Relevant Articles:

- [Deploy a Spring Boot App to Azure](http://www.baeldung.com/spring-boot-azure)
- [Deploy a Spring Boot App to Azure](https://www.baeldung.com/spring-boot-azure)

2 changes: 1 addition & 1 deletion blade/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Relevant Articles:

- [Blade – A Complete Guidebook](http://www.baeldung.com/blade)
- [Blade – A Complete Guidebook](https://www.baeldung.com/blade)

Run Integration Tests with `mvn integration-test`
2 changes: 1 addition & 1 deletion bootique/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### Relevant Articles:
- [Introduction to Bootique](http://www.baeldung.com/bootique)
- [Introduction to Bootique](https://www.baeldung.com/bootique)
4 changes: 2 additions & 2 deletions cdi/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Relevant Articles:
- [CDI Interceptor vs Spring AspectJ](http://www.baeldung.com/cdi-interceptor-vs-spring-aspectj)
- [An Introduction to CDI (Contexts and Dependency Injection) in Java](http://www.baeldung.com/java-ee-cdi)
- [CDI Interceptor vs Spring AspectJ](https://www.baeldung.com/cdi-interceptor-vs-spring-aspectj)
- [An Introduction to CDI (Contexts and Dependency Injection) in Java](https://www.baeldung.com/java-ee-cdi)
- [Introduction to the Event Notification Model in CDI 2.0](https://www.baeldung.com/cdi-event-notification)

Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package com.baeldung.cdi.cdi2observers.application;

import com.baeldung.cdi.cdi2observers.events.ExampleEvent;
import javax.enterprise.inject.se.SeContainer;
import javax.enterprise.inject.se.SeContainerInitializer;

public class BootstrappingApplication {

public static void main(String... args) {
SeContainerInitializer containerInitializer = SeContainerInitializer.newInstance();
try (SeContainer container = containerInitializer.initialize()) {
container.getBeanManager().fireEvent(new ExampleEvent("Welcome to Baeldung!"));
}
}
}
package com.baeldung.cdi2observers.application;

import com.baeldung.cdi2observers.events.ExampleEvent;

import javax.enterprise.inject.se.SeContainer;
import javax.enterprise.inject.se.SeContainerInitializer;

public class BootstrappingApplication {

public static void main(String... args) {
SeContainerInitializer containerInitializer = SeContainerInitializer.newInstance();
try (SeContainer container = containerInitializer.initialize()) {
container.getBeanManager().fireEvent(new ExampleEvent("Welcome to Baeldung!"));
}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.baeldung.cdi.cdi2observers.events;

public class ExampleEvent {

private final String eventMessage;

public ExampleEvent(String eventMessage) {
this.eventMessage = eventMessage;
}

public String getEventMessage() {
return eventMessage;
}
}
package com.baeldung.cdi2observers.events;

public class ExampleEvent {

private final String eventMessage;

public ExampleEvent(String eventMessage) {
this.eventMessage = eventMessage;
}

public String getEventMessage() {
return eventMessage;
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.baeldung.cdi.cdi2observers.events;

import javax.enterprise.event.Event;
import javax.inject.Inject;

public class ExampleEventSource {

@Inject
Event<ExampleEvent> exampleEvent;

public void fireEvent() {
exampleEvent.fireAsync(new ExampleEvent("Welcome to Baeldung!"));
}
}
package com.baeldung.cdi2observers.events;

import javax.enterprise.event.Event;
import javax.inject.Inject;

public class ExampleEventSource {

@Inject
Event<ExampleEvent> exampleEvent;

public void fireEvent() {
exampleEvent.fireAsync(new ExampleEvent("Welcome to Baeldung!"));
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package com.baeldung.cdi.cdi2observers.observers;

import com.baeldung.cdi.cdi2observers.events.ExampleEvent;
import javax.annotation.Priority;
import javax.enterprise.event.Observes;

public class AnotherExampleEventObserver {

public String onEvent(@Observes @Priority(2) ExampleEvent event) {
return event.getEventMessage();
}
}
package com.baeldung.cdi2observers.observers;

import com.baeldung.cdi2observers.events.ExampleEvent;

import javax.annotation.Priority;
import javax.enterprise.event.Observes;

public class AnotherExampleEventObserver {

public String onEvent(@Observes @Priority(2) ExampleEvent event) {
return event.getEventMessage();
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.baeldung.cdi.cdi2observers.observers;

import com.baeldung.cdi.cdi2observers.events.ExampleEvent;
import com.baeldung.cdi.cdi2observers.services.TextService;
import javax.annotation.Priority;
import javax.enterprise.event.Observes;

public class ExampleEventObserver {

public String onEvent(@Observes @Priority(1) ExampleEvent event, TextService textService) {
return textService.parseText(event.getEventMessage());
}
}
package com.baeldung.cdi2observers.observers;

import com.baeldung.cdi2observers.events.ExampleEvent;
import com.baeldung.cdi2observers.services.TextService;
import javax.annotation.Priority;
import javax.enterprise.event.Observes;

public class ExampleEventObserver {

public String onEvent(@Observes @Priority(1) ExampleEvent event, TextService textService) {
return textService.parseText(event.getEventMessage());
}
}
Loading

0 comments on commit 8435d12

Please sign in to comment.