67 Commits

Author SHA1 Message Date
Chris Franklin
d76d39fb87 Christopher Franklin Different Types of Bean Injection in Spring
My first article about the three different types of bean injection
supported by the Spring Framework. This code walks through all three
methods and has supporting tests.
2017-12-22 10:59:53 -05:00
Rokon Uddin Ahmed
b59226a68c 12.12 (#3219)
* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update readme.md

* Update README.md

* Update README.md

* Update README.md
2017-12-12 07:32:35 +01:00
Muhammed Almas
2f5370dea6 Spring core xml (#2971)
* BAEL-1247 Spring XML injection.

* BAEL-1247 - updated test

* BAEL-1247 - updated test
2017-11-08 08:24:37 +01:00
tamasradu
90c2739563 Radu/bael 1265 junit updates (#2965)
* Code for test article: Different Types of Bean Injection in Spring

* Adding jUnits for test article: Different Types of Bean Injection in Spring

* BAEL-1265: Adding jUnit for article

* BAEL-1265: Closing ExecutorService in jUnit

* BAEL-1265: Adding jUnit for CountDownLatch and example for ExecutorService.awaitTermination
2017-11-05 17:46:29 -08:00
Muhammed Almas
22f07214b1 BAEL-1247 Spring XML injection. (#2901) 2017-11-02 08:44:45 +01:00
jitendrar292
6818505bea Update README.md (#2637) 2017-10-06 08:59:29 +02:00
adamd1985
e6c2fd3bbe Revert "BAEL-812: List of Rules Engines in Java (#2319)" (#2455)
This reverts commit dc105bc6f22b2b4ab9d504fdbf0dd9988ba26ec1.
2017-08-20 15:44:20 +02:00
Rokon Uddin Ahmed
04689cc249 pull 16.08 (#2454)
* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2017-08-17 17:41:56 +02:00
felipeazv
dc105bc6f2 BAEL-812: List of Rules Engines in Java (#2319)
* spring beans DI examples

* fix-1: shortening examples

* List of Rules Engines in Java

* BAEL-812: Openl-Tablets example added

* BAEL-812: artifacts names changed
2017-08-16 21:58:42 +02:00
KevinGilmore
53433a06d8 README updates (#2389)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README

* BAEL-936: adding akka-streams module to parent

* BAEL-936: Update README

* BAEL-918: Update README

* BAEL-980: Update README

* BAEL-967: Update README

* BAEL-509: Using @GetMapping instead of @RequestMapping with method=GET

* BAEL-1005: Update README

* BAEL-509: Security and WebSockets (README)

* BAEL-861: Intro to Awaitility (README)

* BAEL-1010: Guide to the HyperLogLog Algorithm (README)

* BAEL-907: Guide to Apache Commons CircularFifoQueue (README)

* BAEL-1086: README update

* BAEL-644: README update
2017-08-07 17:45:03 -05:00
chrisoberle
5383b2b01b add valueswithdefaults example (#2369)
* add values with defaults example

* add additional examples

* remove unused imports
2017-08-06 15:31:55 -05:00
Ahmed Tawila
4b53c00bca BAEL-1033 Introduction to StreamUtils (#2341)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor
2017-07-31 14:57:52 +02:00
yetanotherallisonf
df3b01301c Update README.md (#2124) 2017-06-23 16:22:27 +02:00
Tehreem
0fab04f1b6 Spring YAML Configuration (#1807)
* Spring YAML Configuration

* Spring YAML Configuration

* Spring YAML Configuration

* Update application.yml

removing ^M

* Update application.yml

* Spring YAML Configuration

* Update pom.xml

* Update pom.xml

* Spring YAML Configuration

* Spring YAMl Configuration
2017-06-21 20:25:36 +02:00
Grzegorz Piwowarek
a5d5460a9f Stream API: last Stream element example refactor (#1943)
* Refactor

* Delete ApplicationContextTestBeanInjectionTypes.java

* Delete BeanInjectionJavaConfigIntegrationTest.java

* Delete BeanInjectionXMLConfigIntegrationTest.java
2017-06-03 20:49:56 +02:00
adasioo
96004deac1 BAEL-923 init class not managed by Spring with Spring Bean (#1906)
* adam.zawada@gmail.com - Different Types of Bean Injection in Spring

* adam.zawada@gmail.com - Different Types of Bean Injection in Spring
switch to Java based configuration

* BAEL-895 calculate the period/duration between two dates in Java 8

* clean old PR

* BAEL-923 How to inject a value from properties to a class not managed by Spring?

* clean PR

* BAEL-923 init class not managed by Spring with Spring Bean

* clean previous PR

* added mockito spring boot for test dependency
2017-05-29 22:21:03 +02:00
Syed Ali Raza
8c8c01ebbb BAEL-833: How to get last element of a Stream in Java? (#1930)
* Different Types of Bean Injection in Spring

* Fixed code formatting and test names for "Different Types of Bean Injection in Spring"

* BAEL-833: How to get last element of a Stream in Java?

* BAEL-833: Updated based on review from editor
2017-05-28 12:07:15 +02:00
Doha2012
48cd6f876f Fix test names (#1853)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05:00
Doha2012
7c73abdede cleanup pom (#1836)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom
2017-05-12 13:32:54 -05:00
Doha2012
35231d0c19 cleanup parent dependencies (#1828)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies
2017-05-11 11:02:04 -05:00
Doha2012
9692ae36fb add parent to pom (#1816)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom
2017-05-09 23:37:43 +03:00
yetanotherallisonf
bac494c0be Update README.md for BAEL-748 2017-04-20 21:09:31 -05:00
Doha2012
87bc04ae98 minor fix (#1694)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix
2017-04-19 22:57:17 +02:00
Doha2012
5e1e320cee exclude commons-logging dependency (#1686)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix
2017-04-19 16:14:10 +02:00
Anton
f674f12eac BAEL-748 updated Quick Guide to @Value (#1663)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review

* BAEL-748 inject comma-separated values into array
2017-04-18 22:36:43 -05:00
Anton
389927d901 BAEL-748 quick guide to @Value (#1577)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review
2017-04-14 20:40:39 -05:00
iaforek
ad0cd72dfd BAEL-434 Spring Roo (#1589)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.
2017-04-06 02:20:04 +02:00
pivovarit
d0b0debd06 Exclude integration tests 2017-03-24 16:17:34 +01:00
ahamedm
26b5ab860a BAEL-696 - Implement OR in the REST API Query Language (#1404)
* Dependency Injection Types, XML-Config, Java-Config, Test Classes

* Formatting done with Formatter Configuration in Eclipse

* REST Query Lang - Adv Search Ops - Improvement - C1

* REST Query Lang - Adv Search Ops - Improvement - C2

* add update to rest api (#1401)

* upgrade to spring boot 1.5.2

* add full update to REST API

* BAEL-634 javassist (#1349)

* BEEL-634 javassist dependency

* BEEL-634 code for javassist article

* BEEL-634 test refinement

* BEEL-634 increment lib to newest version

* add test that uses reflection to verify

* add field

* add bytecode to different class

* adding following modules with updated testcase : DB, Filter, Json (#1410)

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* add entry points (#1413)

* spring boot custom banner (#1412)

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* BALE-707 Refactoring changes (#1418)

* BAEL-707 Add the changes as per review comment

* BAEL-707 Refactored the code as per review comments

* BAEL-696 Code formatting
2017-03-16 11:49:13 +01:00
Walter Gómez
e0d59494c1 Lombok annotation update (#1358)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update Lombok annotations

Change annotations to @RequiredArgsConstructor for
- ApologizeService
- ThankingService

* Remove hibernate-immutable due to conflic on PR
2017-03-11 07:36:38 +01:00
Grzegorz Piwowarek
d3d11a18f3 Revert "Spring Groovy Config with fixed pom" (#1209) 2017-02-21 07:35:07 +01:00
Andrew Evans
fda362f79d Spring Groovy Config with fixed pom (#1200)
* 'bean_injection'

* 'bean_injection'

* 'changes'

* code

* git ignore

* pom fix

* pom fix
2017-02-20 23:17:48 +01:00
buddhini81
7c337eb6c0 Adding Code for BAEL-394 (#1163)
* Code for evaluation article

Article : Field vs. Constructor Injection

* Correct typo in attribute name

* Delete EbookRepositiry.java

* Add corrected class

* Update LibraryUtils.java

* Update Member.java

* Update Reservation.java

* Adding new file AccountServlet

* Adding new files for BAEL-394

* Add new files for BAEL-394

* Add new file for BAEL-394

* Indentation of annotations fixed

* Indentation of annotations fixed

* Indentation of annotations fixed

* Removing this class since it is not relevant

* New example added for @WebListener
2017-02-20 00:54:42 +01:00
Grzegorz Piwowarek
4b0249410c Update README.md 2017-02-05 10:27:13 +01:00
pivovarit
4d5624161f Refactor Spring with Lombok samples 2017-02-04 06:15:54 +01:00
Piotr Sliwa
5548022a2b BAEL-628: Added sources for "Constructor Injection in Spring with Lombok" article. (#1064)
* BAEL-628: Added sources for "Constructor Injection in Spring with Lombok" article.

* BAEL-628: Removed unneccessary @Autowired + Apologizer example.
2017-02-01 07:53:17 +01:00
Naoshadul Islam
d8af6f371b Added relevant articles 2017-01-15 21:09:29 +06:00
Naoshadul Islam
8dc3487b67 Added relevant articles (#962)
* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevnat articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md
2017-01-08 08:25:59 +01:00
eugenp
8ff889bc7d maven work 2016-12-18 18:11:05 +02:00
Naoshadul Islam
1b59823654 Created README.md and added relevant articles (#901)
* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md
2016-12-18 02:15:07 -06:00
Marek Lewandowski
cddeb95e8e Format namespace 2016-12-12 09:23:40 +01:00
Marek Lewandowski
f17f9c9d12 Merge pull request #889 from DianeDuan/xmlclasspathapplicationcontext
BAEL-320: Intro to the Spring ClassPathXmlApplicationContext
2016-12-12 09:18:36 +01:00
DianeDuan
4b3c52df0f examples 2016-12-11 18:27:47 +08:00
DOHA
9ad2a643ef upgrade dependencies 2016-12-08 22:58:00 +02:00
Marek Lewandowski
5750a3a064 Update README.md 2016-12-01 22:34:40 +01:00
Egima profile
aa68501341 merged formatting changes and removed while loops in asynchronous client (#870)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core
2016-12-01 09:55:20 +01:00
pivovarit
0e3b7fe17c Formatting 2016-11-29 17:43:17 +01:00
Diane Duan
7676697c4c BAEL-453: How to use the Spring FactoryBean - use custom bean name (#866)
* custom bean name

* @Autowire
2016-11-29 17:41:30 +01:00
DianeDuan
750aad44df merge upstream 2016-11-27 12:40:32 +08:00
DianeDuan
361874d0d6 simplify demos 2016-11-27 12:23:51 +08:00