Commit Graph

100 Commits

Author SHA1 Message Date
the-java-guy 3b603b4293 BAEL-1628 (#4354)
* Bean Object, server side and client side example for event streaming
example

* BAEL-1628

Access a File from the Classpath in a Spring Application

* inputstream retrieval added

* Removed files related to evaluation article

* + Aligning code to the article. Removed Utility methods and classes

* BAEL - 1628

* PMD fixes

* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful
2018-06-16 00:10:34 +02:00
charlesgonzales 2fe0dee64e Update 13 README.md and create 2 README.md (#4468)
* 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

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md
2018-06-13 20:50:33 +03:00
psevestre b59da11c66 Code for BAEL-1474 (#4472)
* Code for BAEL-1474

* Renamed test to conform to PMD rules
2018-06-12 22:12:05 -07:00
sachinp054 40d3b96820 BAEL-1715- Control Bean Creation Order with @DependsOn annotation (#4028)
* removing Bean injection

* BAEL-1715- Control Bean Creation Order with @DependsOn annotation

* BAEL-1715- Formatting changes, test case improvement

* Created new Config file for UnitTest

* Corrected test case- from BeanCreationException to NoSuchBeanDefinitionException

* correcting error- for circular dependency expected exception is- BeanCreationException
2018-06-11 00:06:27 +01:00
Grzegorz Piwowarek 2c2915e584
Merge branch 'master' into BAEL-1799 2018-06-06 07:32:22 +02:00
mherbaghinyan 221131a33c initialize an empty list 2018-06-04 16:41:44 +04:00
mherbaghinyan 56bbfd9644 required false 2018-06-04 10:51:53 +04:00
Amit Pandey 9245ba0925 Bael 6729 (#4389)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Added README

* [BAEL-6729] - Spring modules needs a spring parent

* [BAEL-6729] - Spring modules needs a spring parent
2018-06-02 16:44:15 +02:00
Amit Pandey 7206e64bef Bael 6556 3 (#4382)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
2018-06-01 13:12:51 +02:00
mherbaghinyan 834be9a720 set bean names 2018-05-30 22:19:06 +04:00
collaboratewithakash c022781ced Back-link added (#4303)
* Back-link added

* Back-link added

* Back-link added

* Back-link name corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added
2018-05-23 16:55:32 +02:00
mherbaghinyan fa60d4e69e @order 2018-05-22 17:07:08 +04:00
mherbaghinyan a6655de20c bean reference injection 2018-05-22 16:33:25 +04:00
mherbaghinyan 4cdf7fe9ef map injection 2018-05-21 12:15:30 +04:00
mherbaghinyan d73f653eb0 list, set injection 2018-05-19 12:50:48 +04:00
mherbaghinyan c7cd7d0744 list inject test 2018-05-18 16:10:02 +04:00
amit2103 05b7e933bd Bael 5247 (#4175)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Added new parent pom

* initial clean up of child poms

* Added new parent pom

* [BAEL-5247] - New Parents in the tutorials repo
2018-05-05 22:30:00 +02:00
collaboratewithakash fad99fe44b Back-links added (#4119)
* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link corrected

* Back-link corrected

* Back-link correct

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link corrected

* Back-link corrected

* Back-link corrected
2018-05-02 09:41:08 +02:00
Mher Baghinyan fdfc373f26
Merge branch 'master' into BAEL-1717 2018-04-30 08:59:16 +04:00
mherbaghinyan 2146aa2be1 BeanFactoryAware example tested 2018-04-29 11:26:56 +04:00
mherbaghinyan 5dc1b18c29 BeanNameAware test the result 2018-04-28 12:02:06 +04:00
amit2103 f2128ad054 Bael 5249 cleanup (#4108)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-5249] - 21.02 - pom cleanup - formatted pom.xml
2018-04-26 14:37:47 +02:00
amit2103 ba1ba8455d Bael 5249 (#4052)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Defined the integration profile in the parent

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* Spring-dependency injection

* BAEL-1683-Guide to Java Clock class

* BAEL-1683-Guide to Java Clock class

* added article link

* added article link

* fixed link

* refactoring packages and using generics

* BAEL-717: Singleton Session Bean. (#4046)

* BAEL-717: Singleton EJB Bean

Files for BAEL-717:Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Changed artifactId value.

* BAEL-717: Singleton EJB Bean.

Added module for Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean. 

Removed Singleton EJB Bean Module.

* BAEL-717: Singleton EJB Bean

Changed the JNDI Lookup name.

* BAEL-717: Singleton EJB Bean. 

Added the "singleton-ejb-bean" module.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton Session Bean.

Added class for Bean-Managed concurrrency.
Changed class name from CountryStateCacheBean to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Changing the name of the class to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Added method to test Bean-Managed concurrency.

* Get Latest.

* deleting CountryStateBeanManagedBean for new file.

* deleting CountryStateCacheBean for new file.

* deleting CountryStateContainerManagedBean for new file.

* BAEL-717: Singleton Session Bean.

Adding file for Bean with Bean-Managed concurrency.
Changing file name for original file to CountryStateContainerManagedBean with Container-Managed concurrency.

* Deleting file for new checkin.

* BAEL-717: Singleton Session Bean.

Added test case for Bean-Manged concurrency.
Change in JNDI names.

* BAEL-717: Singleton Session Bean.

Changed the assert method parameter order and null check in test cases.

* BAEL-717:Singleton Session Bean

Removed volatile keyword for the variable countryStatesMap. Marking it as final.

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum (#3890)

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum

* Commiting editor's suggested changes

* Commiting article Spring Data Reactive Mongo DB microservice in Kotlin

* Revert commit for BAEL 1687 - Moving those files to a new branch

* Use AssertJ and BDD-style on unit testing

* BAEL 1639: added singleton examples and test. (#3977)

* BAEL-1701 (#4012)

* BAEL-1701: Create SQSApplication, add most functionality (still need to format, and add queue monitoring)

* BAEL-1701: Complete examples

* added article links

* removed folder "SpringDependencyInjection"
e Please enter the commit message for your changes. Lines starting

* BAEL-1706 - optional parameters in java (#4050)

* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting

* working with booleans in thymeleaf (#4061)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* Update README.md

* Demonstration of Java assert

* BAEL-1679 (#3959)

* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor

* BAEL-1432 add custom gradle task

* BAEL-1567 add samples of cookie and session in serlvet

* BAEL-1567 use stream api

* BAEL-1567 fix optional

* BAEL-1679 add query annotation jpa spring data

* BAEL-1679 added new junits

* BAEL-1679 use assertJ, use givenWhenThen naming convention

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* spring-data final

* service locator pattern

* service locator pattern

* variable name changes

* Spring MVC @PathVariable dot (.) get truncated

* testing changes

* Update README files (#4065)

* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1369

* BAEL-1369

* BAEL-1369

* remove comments

* Back-link corrected (#4071)

* Back-link corrected (#4073)

* Back-link added (#4074)

* Back-link added (#4075)

* Back-link added (#4076)

* Back-link added (#4077)

* Back-link added (#4078)

* Back-link added (#4080)

* Back-link added (#4081)

* Back-link added (#4083)

* Back-link corrected (#4086)

* Back-link added (#4087)

* Back-link added (#4091)

* Back-link added (#4089)

* added example code for Java mail (#4101)

* Back-link added (#4099)

* Back-link added (#4088)

* Back-link added (#4082)

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup
2018-04-26 08:50:35 +02:00
mherbaghinyan 4b91a76d8f BeanNameAware and BeanFactoryAware 2018-04-25 22:13:50 +04:00
collaboratewithakash ec59422448 Back-link added (#4087) 2018-04-25 10:25:39 +02:00
mherbaghinyan c1e0b884de aware 2018-04-24 22:28:20 +04:00
amit2103 7ae3babd59 Bael 5927 (#4042)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Defined the integration profile in the parent
2018-04-19 09:41:39 +02:00
Gangadharan Khoteeswarun 6f887d29c6 @Lookup annotation Code (#3900)
* Updated

* Changed Test Names

* Updated code for method injection section 3.2

* Added Grader bean and changes for it
2018-04-16 08:17:39 -06:00
Mher Baghinyan 69842b7dea BAEL-1592 (#3773)
* Injecting Prototype Beans into Singleton Instance

* removed final keywords from the test
2018-04-12 06:57:20 +02:00
Rokon Uddin Ahmed 5da2ea995c 08.04.2018 (#3954)
* 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

* 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

* Create 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

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2018-04-11 07:33:18 +02:00
daoire 214e456f41
Update README.md 2018-03-26 12:25:15 +01:00
Mher Baghinyan 7eb74160f1 @Lazy annotation (#3809) 2018-03-17 10:30:44 +01:00
Grzegorz Piwowarek a6d3ddd38f
Revert "evaluation article, different types of bean injection. (#3511)" (#3719)
This reverts commit 54bd8a5cdd.
2018-02-24 21:32:29 +01:00
Syed Munawwer Ali 54bd8a5cdd evaluation article, different types of bean injection. (#3511)
* Different types of bean injection in spring, initial write-up

* Evaluation article code example, different types of bean injection.
2018-02-24 17:21:16 +01: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 dc105bc6f2.
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