Skip to content

Commit 8daf19c

Browse files
authored
[JAVA-22519] Created new module libraries-stream and added 5 articles (#15403)
1 parent 0323a81 commit 8daf19c

File tree

92 files changed

+715
-427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+715
-427
lines changed

asm/README.md

-7
This file was deleted.

asm/pom.xml

-54
This file was deleted.

libraries-2/README.md

-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ Remember, for advanced libraries like [Jackson](/jackson) and [JUnit](/testing-m
1010
### Relevant articles
1111
- [A Guide to jBPM with Java](https://www.baeldung.com/jbpm-java)
1212
- [Guide to Classgraph Library](https://www.baeldung.com/classgraph)
13-
- [Create a Java Command Line Program with Picocli](https://www.baeldung.com/java-picocli-create-command-line-program)
14-
- [Guide to Java Parallel Collectors Library](https://www.baeldung.com/java-parallel-collectors)
1513
- [Templating with Handlebars](https://www.baeldung.com/handlebars)
1614
- [A Guide to Crawler4j](https://www.baeldung.com/crawler4j)
1715
- [Key Value Store with Chronicle Map](https://www.baeldung.com/java-chronicle-map)
1816
- [Guide to MapDB](https://www.baeldung.com/mapdb)
1917
- [A Guide to Apache Mesos](https://www.baeldung.com/apache-mesos)
20-
- [JasperReports with Spring](https://www.baeldung.com/spring-jasper)
2118
- More articles [[<-- prev]](/libraries) [[next -->]](/libraries-3)
2219

libraries-2/pom.xml

-24
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
<artifactId>mapdb</artifactId>
1919
<version>${mapdb.version}</version>
2020
</dependency>
21-
<dependency>
22-
<groupId>com.pivovarit</groupId>
23-
<artifactId>parallel-collectors</artifactId>
24-
<version>${parallel-collectors.version}</version>
25-
</dependency>
2621
<dependency>
2722
<groupId>io.github.classgraph</groupId>
2823
<artifactId>classgraph</artifactId>
@@ -41,11 +36,6 @@
4136
</exclusion>
4237
</exclusions>
4338
</dependency>
44-
<dependency>
45-
<groupId>info.picocli</groupId>
46-
<artifactId>picocli</artifactId>
47-
<version>${picocli.version}</version>
48-
</dependency>
4939
<dependency>
5040
<groupId>org.springframework.boot</groupId>
5141
<artifactId>spring-boot-starter</artifactId>
@@ -83,17 +73,6 @@
8373
<artifactId>mesos</artifactId>
8474
<version>${mesos.library.version}</version>
8575
</dependency>
86-
<dependency>
87-
<groupId>net.sf.jasperreports</groupId>
88-
<artifactId>jasperreports</artifactId>
89-
<version>${jasperreports.version}</version>
90-
<exclusions>
91-
<exclusion>
92-
<artifactId>commons-logging</artifactId>
93-
<groupId>commons-logging</groupId>
94-
</exclusion>
95-
</exclusions>
96-
</dependency>
9776
<dependency>
9877
<groupId>org.hsqldb</groupId>
9978
<artifactId>hsqldb</artifactId>
@@ -133,14 +112,11 @@
133112
<mapdb.version>3.0.8</mapdb.version>
134113
<classgraph.version>4.8.153</classgraph.version>
135114
<jbpm.version>7.20.0.Final</jbpm.version>
136-
<picocli.version>4.7.0</picocli.version>
137115
<chronicle.map.version>3.24ea1</chronicle.map.version>
138116
<crawler4j.version>4.4.0</crawler4j.version>
139117
<spring-boot-starter.version>2.7.8</spring-boot-starter.version>
140118
<mesos.library.version>1.11.0</mesos.library.version>
141-
<parallel-collectors.version>1.1.0</parallel-collectors.version>
142119
<handlebars.version>4.3.1</handlebars.version>
143-
<jasperreports.version>6.20.0</jasperreports.version>
144120
<spring.version>5.3.25</spring.version>
145121
<hsqldb.version>2.7.1</hsqldb.version>
146122
</properties>

libraries-3/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ The code examples related to different libraries are each in their own module.
88
Remember, for advanced libraries like [Jackson](/jackson) and [JUnit](/testing-modules) we already have separate modules. Please make sure to have a look at the existing modules in such cases.
99

1010
### Relevant Articles:
11-
- [Parsing Command-Line Parameters with JCommander](https://www.baeldung.com/jcommander-parsing-command-line-parameters)
1211
- [Guide to the Cactoos Library](https://www.baeldung.com/java-cactoos)
13-
- [Parsing Command-Line Parameters with Airline](https://www.baeldung.com/java-airline)
1412
- [Introduction to cache2k](https://www.baeldung.com/java-cache2k)
1513
- [Introduction to the jcabi-aspects AOP Annotations Library](https://www.baeldung.com/java-jcabi-aspects)
1614
- [Introduction to Takes](https://www.baeldung.com/java-takes)

libraries-3/pom.xml

+2-17
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,11 @@
1313
</parent>
1414

1515
<dependencies>
16-
<dependency>
17-
<groupId>com.beust</groupId>
18-
<artifactId>jcommander</artifactId>
19-
<version>${jcommander.version}</version>
20-
</dependency>
2116
<dependency>
2217
<groupId>org.projectlombok</groupId>
2318
<artifactId>lombok</artifactId>
2419
<version>${lombok.version}</version>
2520
</dependency>
26-
<dependency>
27-
<groupId>com.github.rvesse</groupId>
28-
<artifactId>airline</artifactId>
29-
<version>${airline.version}</version>
30-
</dependency>
3121
<dependency>
3222
<groupId>org.cactoos</groupId>
3323
<artifactId>cactoos</artifactId>
@@ -125,7 +115,7 @@
125115
<dependency>
126116
<groupId>javax.annotation</groupId>
127117
<artifactId>javax.annotation-api</artifactId>
128-
<version>1.3.2</version>
118+
<version>${javax.annotation-api.version}</version>
129119
</dependency>
130120
</dependencies>
131121

@@ -159,10 +149,6 @@
159149
<plugin>
160150
<groupId>org.apache.maven.plugins</groupId>
161151
<artifactId>maven-compiler-plugin</artifactId>
162-
<configuration>
163-
<source>11</source>
164-
<target>11</target>
165-
</configuration>
166152
</plugin>
167153
</plugins>
168154
<resources>
@@ -214,9 +200,7 @@
214200
</profiles>
215201

216202
<properties>
217-
<jcommander.version>1.78</jcommander.version>
218203
<cactoos.version>0.43</cactoos.version>
219-
<airline.version>2.7.2</airline.version>
220204
<cache2k.version>1.2.3.Final</cache2k.version>
221205
<jcabi-aspects.version>0.22.6</jcabi-aspects.version>
222206
<aspectjrt.version>1.9.20.1</aspectjrt.version>
@@ -233,6 +217,7 @@
233217
<structurizr.version>1.0.0</structurizr.version>
234218
<immutables.version>2.5.6</immutables.version>
235219
<mutabilitydetector.version>0.9.6</mutabilitydetector.version>
220+
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
236221
</properties>
237222

238223
</project>

libraries-4/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ Remember, for advanced libraries like [Jackson](/jackson) and [JUnit](/testing-m
1111
- [Quick Guide to RSS with Rome](https://www.baeldung.com/rome-rss)
1212
- [Introduction to PCollections](https://www.baeldung.com/java-pcollections)
1313
- [Introduction to Eclipse Collections](https://www.baeldung.com/eclipse-collections)
14-
- [DistinctBy in the Java Stream API](https://www.baeldung.com/java-streams-distinct-by)
1514
- [Introduction to NoException](https://www.baeldung.com/no-exception)
16-
- [Spring Yarg Integration](https://www.baeldung.com/spring-yarg)
1715
- [Delete a Directory Recursively in Java](https://www.baeldung.com/java-delete-directory)
1816
- [Guide to JDeferred](https://www.baeldung.com/jdeferred)
1917
- [Introduction to MBassador](https://www.baeldung.com/mbassador)

libraries-4/pom.xml

+17-19
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@
2222
<artifactId>eclipse-collections</artifactId>
2323
<version>${eclipse-collections.version}</version>
2424
</dependency>
25-
<dependency>
26-
<groupId>com.haulmont.yarg</groupId>
27-
<artifactId>yarg</artifactId>
28-
<version>${yarg.version}</version>
29-
<exclusions>
30-
<exclusion>
31-
<groupId>org.olap4j</groupId>
32-
<artifactId>olap4j</artifactId>
33-
</exclusion>
34-
</exclusions>
35-
</dependency>
3625
<dependency>
3726
<groupId>org.olap4j</groupId>
3827
<artifactId>olap4j</artifactId>
@@ -68,11 +57,6 @@
6857
<artifactId>servlet-api</artifactId>
6958
<version>${javax.servlet.version}</version>
7059
</dependency>
71-
<dependency>
72-
<groupId>io.vavr</groupId>
73-
<artifactId>vavr</artifactId>
74-
<version>${vavr.version}</version>
75-
</dependency>
7660
<dependency>
7761
<groupId>org.pcollections</groupId>
7862
<artifactId>pcollections</artifactId>
@@ -119,21 +103,33 @@
119103
<artifactId>jackson-annotations</artifactId>
120104
<version>${jackson-annotations.version}</version>
121105
</dependency>
106+
<dependency>
107+
<groupId>io.vavr</groupId>
108+
<artifactId>vavr</artifactId>
109+
<version>${vavr.version}</version>
110+
</dependency>
111+
<dependency>
112+
<groupId>org.apache.commons</groupId>
113+
<artifactId>commons-lang3</artifactId>
114+
<version>${commons-lang3.version}</version>
115+
</dependency>
116+
<dependency>
117+
<groupId>commons-io</groupId>
118+
<artifactId>commons-io</artifactId>
119+
<version>${commons-io.version}</version>
120+
</dependency>
122121
</dependencies>
123122

124123
<properties>
125124
<jackson-annotations.version>2.14.2</jackson-annotations.version>
126125
<jackson-core.version>2.14.2</jackson-core.version>
127126
<jdeferred.version>1.2.6</jdeferred.version>
128-
<eclipse-collections.version>8.2.0</eclipse-collections.version>
129127
<noexception.version>1.1.0</noexception.version>
130-
<yarg.version>2.0.12</yarg.version>
131128
<mbassador.version>1.3.1</mbassador.version>
132129
<rome.version>1.0</rome.version>
133130
<spring.version>4.3.8.RELEASE</spring.version>
134131
<javax.servlet.version>2.5</javax.servlet.version>
135132
<javax.jdo.version>3.2.0-m7</javax.jdo.version>
136-
<vavr.version>0.9.0</vavr.version>
137133
<pcollections.version>2.1.2</pcollections.version>
138134
<awaitility.version>3.0.0</awaitility.version>
139135
<streamex.version>0.6.5</streamex.version>
@@ -142,6 +138,8 @@
142138
<olap4j.version>1.2.0</olap4j.version>
143139
<javafx.version>19</javafx.version>
144140
<spoon-core.version>10.3.0</spoon-core.version>
141+
<eclipse-collections.version>8.2.0</eclipse-collections.version>
142+
<vavr.version>0.9.0</vavr.version>
145143
</properties>
146144

147145
</project>

libraries-5/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ Remember, for advanced libraries like [Jackson](/jackson) and [JUnit](/testing-m
99

1010
### Relevant articles
1111
- [Introduction to Caffeine](https://www.baeldung.com/java-caching-caffeine)
12-
- [Introduction to StreamEx](https://www.baeldung.com/streamex)
1312
- [A Docker Guide for Java](https://www.baeldung.com/docker-java-api)
1413
- [Introduction to Akka Actors in Java](https://www.baeldung.com/akka-actors-java)
15-
- [A Guide to Byte Buddy](https://www.baeldung.com/byte-buddy)
1614
- [Introduction to jOOL](https://www.baeldung.com/jool)
1715
- [Consumer Driven Contracts with Pact](https://www.baeldung.com/pact-junit-consumer-driven-contracts)
1816
- [Introduction to Atlassian Fugue](https://www.baeldung.com/java-fugue)

libraries-5/pom.xml

-16
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,6 @@
4949
<version>${typesafe-akka.version}</version>
5050
<scope>test</scope>
5151
</dependency>
52-
<dependency>
53-
<groupId>one.util</groupId>
54-
<artifactId>streamex</artifactId>
55-
<version>${streamex.version}</version>
56-
</dependency>
57-
<dependency>
58-
<groupId>net.bytebuddy</groupId>
59-
<artifactId>byte-buddy</artifactId>
60-
<version>${byte-buddy.version}</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>net.bytebuddy</groupId>
64-
<artifactId>byte-buddy-agent</artifactId>
65-
<version>${byte-buddy.version}</version>
66-
</dependency>
6752
<!--Java Docker API Client -->
6853
<dependency>
6954
<groupId>com.github.docker-java</groupId>
@@ -139,7 +124,6 @@
139124
<spring.version>4.3.8.RELEASE</spring.version>
140125
<scala.version>2.12</scala.version>
141126
<typesafe-akka.version>2.5.11</typesafe-akka.version>
142-
<streamex.version>0.8.1</streamex.version>
143127
<docker.version>3.0.14</docker.version>
144128
<caffeine.version>3.1.8</caffeine.version>
145129
<findbugs.version>3.0.2</findbugs.version>

libraries-6/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Remember, for advanced libraries like [Jackson](/jackson) and [JUnit](/testing-m
1212
- [Guide to Resilience4j](https://www.baeldung.com/resilience4j)
1313
- [Implementing a FTP-Client in Java](https://www.baeldung.com/java-ftp-client)
1414
- [Introduction to Functional Java](https://www.baeldung.com/java-functional-library)
15-
- [Introduction to Protonpack](https://www.baeldung.com/java-protonpack)
1615
- [Guide to Simple Binary Encoding](https://www.baeldung.com/java-sbe)
1716
- [Java-R Integration](https://www.baeldung.com/java-r-integration)
1817
- [Using libphonenumber to Validate Phone Numbers](https://www.baeldung.com/java-libphonenumber)

libraries-6/pom.xml

-6
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
<artifactId>functionaljava-java8</artifactId>
1818
<version>${functionaljava.version}</version>
1919
</dependency>
20-
<dependency>
21-
<groupId>com.codepoetics</groupId>
22-
<artifactId>protonpack</artifactId>
23-
<version>${protonpack.version}</version>
24-
</dependency>
2520
<dependency>
2621
<groupId>io.github.resilience4j</groupId>
2722
<artifactId>resilience4j-circuitbreaker</artifactId>
@@ -198,7 +193,6 @@
198193
<mockftpserver.version>2.7.1</mockftpserver.version>
199194
<functionaljava.version>4.8.1</functionaljava.version>
200195
<resilience4j.version>2.1.0</resilience4j.version>
201-
<protonpack.version>1.15</protonpack.version>
202196
<commons-net.version>3.6</commons-net.version>
203197
<renjin.version>3.5-beta72</renjin.version>
204198
<rcaller.version>3.0</rcaller.version>

libraries-bytecode/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.class
2+
3+
# Folders #
4+
/gensrc
5+
/target
6+
7+
# Packaged files #
8+
*.jar
9+
/bin/

libraries-bytecode/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Server
2+
3+
This module contains articles about bytecode libraries.
4+
5+
### Relevant Articles:
6+
7+
- [Introduction to Javassist](https://www.baeldung.com/javassist)
8+
- [A Guide to Byte Buddy](https://www.baeldung.com/byte-buddy)
9+
- [A Guide to Java Bytecode Manipulation with ASM](https://www.baeldung.com/java-asm)

0 commit comments

Comments
 (0)