Commit Graph

103 Commits

Author SHA1 Message Date
YuCheng Hu a51b7b55d9
Merge remote-tracking branch 'Baeldung/master' into active_mq
# Conflicts:
#	.gitignore
#	LICENSE
#	README.md
#	core-java-modules/README.md
#	core-java-modules/core-java-11/README.md
#	core-java-modules/core-java-11/pom.xml
#	core-java-modules/core-java-8/README.md
#	core-java-modules/core-java-8/pom.xml
#	core-java-modules/core-java-8/src/main/resources/logback.xml
#	core-java-modules/core-java-annotations/README.md
#	core-java-modules/core-java-annotations/pom.xml
#	core-java-modules/core-java-collections-2/README.md
#	core-java-modules/core-java-collections-2/pom.xml
#	core-java-modules/core-java-collections-3/README.md
#	core-java-modules/core-java-collections-3/pom.xml
#	core-java-modules/core-java-collections-conversions-2/README.md
#	core-java-modules/core-java-collections-conversions-2/pom.xml
#	core-java-modules/core-java-collections-conversions/README.md
#	core-java-modules/core-java-collections-conversions/pom.xml
#	core-java-modules/core-java-collections-list/README.md
#	core-java-modules/core-java-collections-list/pom.xml
#	core-java-modules/core-java-collections/pom.xml
#	core-java-modules/core-java-datetime-conversion/README.md
#	core-java-modules/core-java-datetime-conversion/pom.xml
#	core-java-modules/core-java-datetime-conversion/src/test/java/com/baeldung/datetime/ConvertInstantToTimestampUnitTest.java
#	core-java-modules/core-java-io-2/pom.xml
#	core-java-modules/core-java-io/README.md
#	core-java-modules/core-java-io/pom.xml
#	core-java-modules/core-java-io/src/test/resources/fileTest.txt
#	core-java-modules/core-java-io/src/test/resources/sampleTextFile.txt
#	core-java-modules/core-java-lambdas/README.md
#	core-java-modules/core-java-lambdas/pom.xml
#	core-java-modules/core-java-serialization/pom.xml
#	core-java-modules/core-java-streams/README.md
#	core-java-modules/core-java-streams/pom.xml
#	core-java-modules/core-java-strings/README.md
#	core-java-modules/core-java-strings/pom.xml
#	core-java-modules/core-java-strings/src/test/resources/stringtoolong.txt
#	core-java-modules/core-java-uuid/README.md
#	core-java-modules/core-java-uuid/pom.xml
#	core-java-modules/pom.xml
#	image-processing/README.md
#	image-processing/pom.xml
#	image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java
#	image-processing/src/main/java/com/baeldung/imageprocessing/opencv/CameraStream.java
#	jackson-modules/jackson-annotations/README.md
#	jackson-modules/jackson-annotations/pom.xml
#	jackson-modules/jackson-conversions-2/README.md
#	jackson-modules/jackson-conversions-2/pom.xml
#	jackson-modules/jackson-conversions/README.md
#	jackson-modules/jackson-conversions/pom.xml
#	jackson-modules/jackson-custom-conversions/README.md
#	jackson-modules/jackson-custom-conversions/pom.xml
#	jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java
#	jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/deserialization/CustomDeserializationUnitTest.java
#	jackson-modules/jackson-exceptions/README.md
#	jackson-modules/jackson-exceptions/pom.xml
#	jackson-modules/jackson-exceptions/src/test/java/com/baeldung/exceptions/JacksonExceptionsUnitTest.java
#	jackson-modules/jackson-exceptions/src/test/java/com/baeldung/mappingexception/JacksonMappingExceptionUnitTest.java
#	jackson-modules/pom.xml
#	parent-boot-1/pom.xml
#	parent-boot-2/pom.xml
#	parent-boot-3/pom.xml
#	patterns-modules/design-patterns-architectural/pom.xml
#	patterns-modules/design-patterns-architectural/src/main/java/com/baeldung/repositoryvsdaopattern/UserDaoImpl.java
#	patterns-modules/design-patterns-behavioral-2/README.md
#	patterns-modules/design-patterns-behavioral-2/pom.xml
#	patterns-modules/design-patterns-creational-2/README.md
#	patterns-modules/design-patterns-creational-2/pom.xml
#	patterns-modules/design-patterns-singleton/README.md
#	patterns-modules/design-patterns-structural/src/main/resources/log4jstructuraldp.properties
#	patterns-modules/enterprise-patterns/pom.xml
#	patterns-modules/intercepting-filter/pom.xml
#	patterns-modules/pom.xml
#	persistence-modules/activejdbc/pom.xml
#	persistence-modules/hibernate5/README.md
#	persistence-modules/hibernate5/pom.xml
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/interceptors/CustomInterceptor.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/interceptors/entity/User.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/persistjson/Customer.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/persistjson/HashMapConverter.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/pojo/OrderEntryIdClass.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/pojo/OrderEntryPK.java
#	persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/IdentifiersIntegrationTest.java
#	persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/bootstrap/BootstrapAPIIntegrationTest.java
#	persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/proxy/HibernateProxyUnitTest.java
#	persistence-modules/hibernate5/src/test/resources/hibernate-interceptors.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate-lifecycle.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate-persistjson.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate.properties
#	persistence-modules/pom.xml
#	persistence-modules/spring-data-jpa-crud/pom.xml
#	persistence-modules/spring-data-jpa-crud/src/main/java/com/baeldung/repository/FruitRepository.java
#	persistence-modules/spring-data-jpa-repo-2/README.md
#	persistence-modules/spring-data-jpa-repo-2/pom.xml
#	persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/customrepository/model/User.java
#	persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/customrepository/repository/CustomUserRepositoryImpl.java
#	persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/saveperformance/Book.java
#	persistence-modules/spring-data-jpa-repo-2/src/main/resources/application.properties
#	persistence-modules/spring-data-mongodb-reactive/pom.xml
#	persistence-modules/spring-data-redis/README.md
#	persistence-modules/spring-data-redis/pom.xml
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/reactive/redis/config/RedisConfig.java
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/config/RedisConfig.java
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/model/Student.java
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/queue/RedisMessageSubscriber.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisKeyCommandsManualTest.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisTemplateListOpsManualTest.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisTemplateValueOpsManualTest.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/redis/repo/StudentRepositoryManualTest.java
#	pom.xml
#	testing-modules/assertion-libraries/README.md
#	testing-modules/assertion-libraries/pom.xml
#	testing-modules/junit-5-basics/README.md
#	testing-modules/junit-5-basics/pom.xml
#	testing-modules/mockito-2/src/main/java/com/baeldung/nullmatcher/Helper.java
#	testing-modules/mockito-2/src/main/java/com/baeldung/nullmatcher/Main.java
#	testing-modules/mockito-2/src/main/java/com/baeldung/wantedbutnotinvocked/Helper.java
#	testing-modules/mockito-2/src/main/java/com/baeldung/wantedbutnotinvocked/Main.java
#	testing-modules/mockito-2/src/test/java/com/baeldung/nullmatcher/MainUnitTest.java
#	testing-modules/mockito-2/src/test/java/com/baeldung/wantedbutnotinvocked/MainUnitTest.java
#	testing-modules/pom.xml
#	testing-modules/spring-mockito/pom.xml
#	web-modules/dropwizard/pom.xml
#	web-modules/jakarta-ee/README.md
#	web-modules/jakarta-ee/pom.xml
#	web-modules/jakarta-ee/src/test/java/com/baeldung/eclipse/krazo/UserControllerUnitTest.java
#	web-modules/java-lite/pom.xml
#	web-modules/javax-servlets-2/README.md
#	web-modules/javax-servlets-2/pom.xml
#	web-modules/javax-servlets/pom.xml
#	web-modules/jee-7/pom.xml
#	web-modules/jooby/pom.xml
#	web-modules/ninja/pom.xml
#	web-modules/pom.xml
#	web-modules/ratpack/pom.xml
#	web-modules/resteasy/pom.xml
#	web-modules/restx/pom.xml
#	web-modules/spark-java/pom.xml
#	web-modules/vraptor/pom.xml
#	xml/README.md
#	xml/pom.xml
#	xml/src/main/resources/customer-binding.xml
#	xml/src/main/resources/sax/baeldung.xml
#	xml/src/test/resources/example_default_parser.xml
#	xml/src/test/resources/example_dom4j.xml
#	xml/src/test/resources/example_jaxb.xml
#	xml/src/test/resources/example_jaxen.xml
#	xml/src/test/resources/example_jdom.xml
#	xml/src/test/resources/example_stax.xml
#	xml/src/test/resources/sax/baeldung.xml
#	xml/src/test/resources/xml/websites.xml
#	xml/src/test/resources/xml/xee_attribute.xml
2024-04-30 12:23:19 -04:00
YuCheng Hu 99259d231b
add new package 2024-04-30 11:54:43 -04:00
rcalago d2b89b5a91
Update README.md 2024-04-23 16:12:48 +08:00
Alexandru Borza d00188ca6c
BAEL-7615 - review (#16427)
* BAEL-7255 - Implementing GraphQL Mutation without Returning Data

* BAEL-7615 - Implement the Builder Pattern in Java 8

* BAEL-7615 - Implement the Builder Pattern in Java 8

* BAEL-7615 - review
2024-04-16 13:16:09 -07:00
Alexandru Borza 977071357e
BAEL-7615 - Implement the Builder Pattern in Java 8 (#16399)
* BAEL-7255 - Implementing GraphQL Mutation without Returning Data

* BAEL-7615 - Implement the Builder Pattern in Java 8

* BAEL-7615 - Implement the Builder Pattern in Java 8
2024-04-13 13:50:11 -07:00
Kasra Madadipouya abdddad3b6
[JAVA-25150] Logback upgrade (#16288) 2024-04-12 17:41:02 +02:00
Harry9656 4394e828c1
JAVA-32410: Update mockito-core to version 5.11.0 (#16199)
* JAVA-32410: Update mockito-core to version 5.11.0

* Fix rollback mockito upgrade.

* wip

* WIP: Update jee-7 wildfly versions

* WIP: Fix jersey tests

* WIP: rollback powermock module

* wip: fix test in spring-data-dynamodb

* wip: fix test in spring-security-legacy-oidc

* wip: rollback quarkus

* wip: fix greeter-spring-boot-autoconfigure

* JAVA-33535: Fix spring-core module integration test

JAVA-33535: rollback junit-5 module mockito version.

* Fix byte-buddy

* Fix log4j dependency in apache-poi
2024-04-11 01:26:19 +02:00
Harry9656 42b9fb4598
[JAVA-32171] Fix missing pom.xml (#16196) 2024-03-24 23:53:37 +01:00
timis1 6dcabea12b
JAVA-31430 Review add-opens and add-exports in modules - Week 9 - 2024 (#16008)
* JAVA-31430 Review add-opens and add-exports in modules - Week 9 - 2024

* JAVA-31430 Some fixes

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2024-03-04 22:44:58 +01:00
sam-gardner 0d161ef8af
JAVA-31644 Update maven-compiler-plugin to 3.12.1 (#15952)
* JAVA-31644 Update maven-compiler-plugin to 3.12.1

* JAVA-31644 Update maven compiler plugin to 3.12.1 for more modules

* JAVA-31644 Continue upgrading modules to use maven-compiler-plugin 3.12.1
2024-02-26 17:04:34 +01:00
Amit Pandey d64c084623
[JAVA-27819] Upgrade Axon module to the Spring Boot 3 (#15935) 2024-02-22 22:44:31 +01:00
Amit Pandey 77ee5c98e0
[JAVA-31266] - Hibernate upgrade for Aws-Modules and pattern modules (#15849) 2024-02-13 09:04:21 +01:00
rcalago 3d71732a4b
Update README.md 2024-02-03 08:54:25 +08:00
rcalago 9c975d3a82
Update README.md 2024-01-27 21:19:22 +08:00
ovidiumihaitacu f6806580ae
[BAEL-7257] Monkey-Patching in Java (#15700) 2024-01-22 10:09:24 -08:00
davidmartinezbarua b4cf1a6174
Merge pull request #15690 from parthiv39731/PR-7319
BAEL-7388, Builder Pattern and Inheritance
2024-01-22 14:45:27 -03:00
parthiv39731 a3956ce15c BAEL-7388, fixed class diagram 2024-01-22 21:59:56 +05:30
parthiv39731 1cb6e41c85 BAEL-7388, Builder Pattern and Inheritance 2024-01-19 23:57:04 +05:30
rcalago dc90912c6b
Update README.md 2024-01-19 10:13:17 +08:00
Eugene Kovko 7f1cb82f85
BAEL 7436: Updated improvement (#15674) 2024-01-18 16:43:24 -08:00
Harry9656 5136e7349b JAVA-27804: Remove explicit logging dependency (#15448) 2024-01-09 09:48:12 +02:00
Eugene Kovko 61e5d8cd76 Bael 7436 (#15550)
* BAEL-7436: Initial Unit Tests

* BAEL-7436: Added an Example with Service

* BAEL-7436: Cleanup and test fixes

* BAEL-7436: Test rename

* BAEL-7436: Cleanup

* BAEL-7436: Fix pom

* BAEL-7436: Test rename
2024-01-04 09:50:50 -08:00
panos-kakos 9f7ec43036 [JAVA-27822] Upgrade ddd to Spring Boot 3 (#15399) 2023-12-13 12:41:51 +02:00
panos-kakos d8c3be530b [JAVA-26730] Upgraded io.projectreactor to latest version (#15234) 2023-12-11 08:58:51 +01:00
Harpal Singh 179e6e5de2 JAVA-26765: Remove unwanted spaces from xml 2023-11-24 00:13:52 +01:00
Harry9656 ddf0c7bef8 JAVA-26765: Update design-patterns-architectural to new mysql connector 2023-11-21 05:55:12 +01:00
edizor c9321ed9be Update README.md
[skip ci]
2023-11-18 18:51:09 +08:00
parthiv39731 a7f39e4155 Spell mistake fix 2023-11-07 13:42:25 +05:30
parthiv39731 a01a1d720a Merge remote-tracking branch 'origin/PR-7145' into PR-7145 2023-10-28 21:11:34 +05:30
parthiv39731 462ddc7f02 BAEL-7145
Bill Pugh Singleton implementation
2023-10-28 21:11:08 +05:30
anuragkumawat 1028ab97c4 Java 26392 Move modules to patterns-module (#15060)
* JAVA-26392 Move axon module and ddd module to patterns-modules

* JAVA-26292 Move ddd-contexts to patterns-module
2023-10-27 13:27:32 +03:00
edizor de67a0416a Update README.md
[skip ci]
2023-10-20 22:10:18 +08:00
Ana Peterlić 73e58da770 BAEL-7002 - Drawbacks of Singleton Pattern (#14979)
* BAEL-7002 - Drawbacks of Singleton Pattern

* Add mockito-inline dependency
2023-10-18 18:21:58 +05:30
gaepi b9439eab8d JAVA-26071 | log.info instead of system.out.println() + removed unused file appender 2023-10-10 20:37:32 +02:00
Anastasios Ioannidis 28d4771dfd JAVA-1597 Abstract Factory pattern example (#14733)
Upgraded example displaying a more complex use of the pattern
2023-09-08 14:51:15 +03:00
kasramp ef2de84e4e JAVA-23096 revert slf4j and logback upgrades 2023-08-30 15:54:25 +02:00
panos-kakos 64870ca3bc [JAVA-23096] Upgraded slf4j library version to latest available 2023-08-20 17:26:37 +03:00
edizor 3763fc228e Update README.md
[skip ci]
2023-07-01 18:45:22 +08:00
kpentaris 718e1998cb BAEL-4466 Smart Batching in Java (#14190)
* Tutorial code for BAEL-4466 Smart Batching in Java

* Revert "Tutorial code for BAEL-4466 Smart Batching in Java"

This reverts commit d8d4fa7a42b0806d1f0a64d53425a3a4337cb79d.

* Tutorial code for BAEL-4466 Smart Batching in Java
2023-06-29 08:54:43 +05:30
Loredana Crusoveanu 2c0482c409 Merge branch 'master' into master 2023-06-02 16:23:25 +03:00
panos-kakos 26fe19be07 JAVA-20837 (#14140)
* [JAVA-20837]Upgraded optaplanner version

* upgraded dependencies
2023-05-31 21:49:42 +05:30
collaboratewithakash ef09e66dd4 backlink updated 2023-05-31 16:09:40 +05:30
collaboratewithakash 05c2b6f2f2 added backlink 2023-05-27 14:43:17 +05:30
collaboratewithakash ad43ae8005 backlink added 2023-05-27 14:42:28 +05:30
collaboratewithakash e276aa6212 added 2023-05-27 14:41:40 +05:30
Kasra Madadipouya 75da1d17c6 Merge pull request #13719 from FabioBentoLuiz/fix/es-userutility
Event Sourcing - Recreate user with id from the UserCreatedEvent instead of creating a new one
2023-05-24 23:16:59 +02:00
Bipin kumar a408564d18 JAVA-21189: Formatting pom.xml modules starting from NOPQR (#14097) 2023-05-23 22:03:06 +05:30
jsgrah-spring 3510d4eaa3 JAVA-20278. Please point me to the tutorial code #13768. (#13923)
Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-04-28 22:51:44 +05:30
jsgrah-spring 23c1abe3f2 JAVA-18116 Review log statements for projects - Week 7 - 2023 (#13583)
JAVA-18116 Review log statements for projects - Week 7 - 2023 (#13583)
---------

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-04-10 14:35:40 +03:00
Fabio Bento Luiz 21f1631e83 Get the user id from the original event instead of creating a new oe 2023-03-25 19:57:45 +01:00