Commit Graph

6438 Commits

Author SHA1 Message Date
Dassi orleando 2aeef70d39 BAEL-1074 move difference between dates from core-java to libraries (#2533)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes

* Move difference between dates from core-java to libraries
2017-08-30 16:23:59 +02:00
Ante Pocedulic 085cef8fb3 string search algorithms article (#2460)
* - added code for string search algorithms article
- added tests

* - fixed algorithm for finding prime numbers
2017-08-30 14:35:20 +02:00
Daniele Demichelis 4c7f165c7e Bael 776 vert.x and rxjava (#2529)
* Burlap & Hessian server added

* Burlap & Hessian client work

* Fixed main

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Fixed main

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Burlap & Hessian client work

* Fixed main

* Fixed main

* Fixed formatting

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Fixed POM

* Vertx / RxJava example

* BAEL-776 - Vertx and RxJava

* BAEL-776 - Vertx and RxJava
2017-08-30 11:20:56 +02:00
Grzegorz Piwowarek 7df2635822 ejb refactor (#2528)
* ejb refactor

* Remove unused module
2017-08-29 23:33:35 +02:00
ramansahasi 5945d5ceb3 BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge (Update) (#2518)
* Removing old code

* Removing old code

* Removing old code

* Removing old code

* Updated design for Adapter pattern

* Updated test cases for new design
2017-08-29 14:25:11 -07:00
shekhar-s 3c5ed71063 BAEL-1075 (#2497)
* Adding test cases for "how to delete a directory"

* Removing .gitignore from Empty folder

* Adding .gitignore to Empty folder

* Updated method names and removed unnecessary imports

* Removed toBedeleted folder from src/test/resources. Updated the test
case to create the directory on the fly using a temporary location
2017-08-29 11:19:25 +02:00
Predrag Maric b3a291a580 BAEL-1078 Stream Indices - Update pom.xml (#2516)
* Update pom.xml

* BAEL-1078 Stream indices
2017-08-29 07:36:55 +02:00
felipeazv 8da9bee6aa BAEL-1027: Introduction to GraphQL - initial commit (#2515)
* 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

* BAEL-812: moving rule-engines examples to rule-engines folder

* BAEL-812: removing evaluation article files

* BAEL-812: folder renamed

* BAEL-812: folder renamed

* BAEL-812: pom.xml - parent added

* BAEL-1027: Introduction to GraphQL - initial commit
2017-08-28 13:58:08 -07:00
baljeet20 904a740643 BAEL-1071 Runnable vs Callable in Java (#2513) 2017-08-28 21:31:31 +02:00
Kiran 73526dd0a8 BAEL - 971 Code Changes (#2492)
* BAEL-971 Code

BAEL-  971 Introduction to Apache Commons Lang3 code

* BAEL - 971 Code

BAEL - 971 : Introduction to Apache Commons Lang3

* Updated the commons.lang version from V3.5 to V3.6
2017-08-28 18:18:44 +02:00
DOHA c9e275a4a2 fix conflict 2017-08-28 13:17:24 +02:00
DOHA d2b90c6d4a merge 2017-08-28 13:15:36 +02:00
Dassi orleando c5d77f424d BAEL-1074 Separate difference on date and datetime (#2511)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes
2017-08-27 21:55:59 -07:00
Hoàng Hưng e1e6550a49 BAEL-1080 Introduction to Future in Vavr (#2488)
* Add example of different types of bean injection

* BAEL-1080 Introduction to Future and Pattern Matching in Vavr

* Update future with Pattern Matching

* remove unused files

* Update future unit test of cancelled Future

* remove unused import

* delete unused files

* using await() on future to wait until future completed instead of using while(true)

* Add Awaitability to FutureTest, avoid using while loop

* format code
2017-08-27 22:44:06 +02:00
Grzegorz Piwowarek 515e4caaca Add core-java-concurrency to main pom (#2507)
* Add core-java-concurrency

* Refactor codebase
2017-08-27 13:39:19 +02:00
lor6 0b85b0a466 functional bean registration test (#2503) 2017-08-27 13:20:31 +02:00
Doha2012 25263f1d6f java concurrency (#2502)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup
2017-08-27 12:14:26 +02:00
ramansahasi 09d10ac85f BAEL-1076 How to get a number of digits in an int? (#2457)
* BAEL-1076 How to get a number of digits in an int?

Six different ways to find the number of digits in an integer.

* BAEL-1076 How to get a number of digits in an int?

* Update NumberOfDigits.java
2017-08-25 12:24:43 -07:00
Eunice A. Obugyei d492c6f4d8 BAEL-1014 [Spring MVC with Kotlin] (#2495)
* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed unnecessary comment

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
Added Exception test cases

* Applied baeldung formatter in Eclipse

* Merged from https://github.com/eugenp/tutorials
Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Revert "Merged from https://github.com/eugenp/tutorials"

This reverts commit 74447a163b9e3f244a2578315fbdb525d20cd16b.

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Spring Security for a Java EE Application[http://jira.baeldung.com/browse/BAEL-884]

* Updated spring-security version to 4.2.3.RELEASE

* Added spring-mvc-kotlin module for http://jira.baeldung.com/browse/BAEL-1014

* Removed dependency for kotlin-reflect

* Switched use of JSP to Thymeleaf

* Switched use of JSP to Thymeleaf
2017-08-25 20:33:03 +02:00
Seun Matt cec17bdbfe Updated Example Code for Apache Shiro (#2501)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy

* added example code for PCollections

* update pom

* refactored tests for PCollections

* spring security xml config

* spring security xml config

* remove redundant comment

* example code for apache-shiro

* updated example code for Vavr Collections

* updated Vavr's Collection example

* updated Vavr Collection file

* updated example code for Apache Shiro
2017-08-25 19:49:00 +02:00
Dassi orleando 8180274da2 BAEL-1074 Difference between two dates in Java (#2493)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article
2017-08-25 10:39:12 -07:00
DOHA 29d6807f80 Merge remote-tracking branch 'eugenp/master' 2017-08-25 17:45:23 +02:00
DOHA f4f8be1b8c cleanup 2017-08-25 17:45:07 +02:00
DOHA c0b64d416b java concurrency 2017-08-25 17:13:33 +02:00
ahmetcetin39 c12ba8618e BAEL-1070 CharSequence vs String in Java (Test case fixed) (#2500)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!

* Corrected test case.
2017-08-25 14:12:21 +02:00
ahmetcetin39 c31fc8d662 BAEL-1070 - CharSequence vs String in Java (Fixed Test Method) (#2499)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!
2017-08-25 11:42:34 +02:00
Nancy Bosecker 9b563d87f0 Added another remove example (#2484)
* moved test file to correct location

* added another remove example
2017-08-24 22:19:15 +02:00
Seun Matt 154b59fc8b Updated Example Code for Vavr Collections (#2472)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy

* added example code for PCollections

* update pom

* refactored tests for PCollections

* spring security xml config

* spring security xml config

* remove redundant comment

* example code for apache-shiro

* updated example code for Vavr Collections

* updated Vavr's Collection example

* updated Vavr Collection file
2017-08-24 20:03:00 +02:00
eugenp b00a9e61bc formatting work 2017-08-24 15:30:33 +03:00
eugenp 1cba1b043c minor formatting cleanup 2017-08-24 13:11:52 +03:00
Buddhini Samarakkody 74e67d6ce9 Fix the test method (#2491)
* Remove assertion before persist in test1

* Add back assertion after persist
2017-08-24 04:11:01 +02:00
DOHA 3f1d94fe3c Merge remote-tracking branch 'eugenp/master' 2017-08-23 23:18:49 +02:00
Shivang Sarawagi 15666e8ed4 Binary Search Algorithm (#2452)
* Binary search

* deleting previous files

* BinarySearch along with the test case
2017-08-23 20:14:49 +02:00
Yasin 621d0d2c62 BAEL-1073 Converting a List to String in Java (#2489) 2017-08-23 11:00:25 -07:00
ahmetcetin39 b6674f68dc BAEL-1070 - CharSequence vs String in Java (#2451)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.
2017-08-23 15:37:50 +02:00
lor6 18b1334ff1 move reladomo ex to librarie-data (#2485) 2017-08-23 10:53:21 +02:00
Buddhini Samarakkody ccba3de765 Delete and add new test for BAEL-698 (#2479)
* Delete HibernateManyToManyAnnotationXMLConfigMainIntegrationTest.java

* Add new test class

* Rename test methods
2017-08-23 02:52:06 +02:00
lor6 dc867672e9 logback example app (#2354) 2017-08-22 13:22:49 +02:00
Grzegorz Piwowarek 8a34433095 Optimize libraries (#2458) 2017-08-22 13:13:24 +02:00
Mansi 8c0ce48aae BAEL-1045 Lambda Behave (#2456)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* Removed code committed for evaluation article

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Code Formatting and solving build issue

* BAEL-944 Resolving build issue due to change in Spring version

* BAEL-944 Resolving build issue

* BAEL-944 Formatting code

* BAEL-944 Moving tests to correct package

* BAEL-944 Moving tests to correct package

* BAEL-944 Replacing @RequestMapping by @GetMapping

* BAEL-944 Remove unnecessary attribute name, "value" in annotations

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Adding activiti module to the parent modules

* BAEL-79 Using latest version

* BAEL-79 Update Spring boot version that works with Activiti

* BAEL-79 Replace RequestMapping with GetMapping

* BAEL-79 Use Java 8 Syntax

* BAEL-79 Formatting

* BAEL-79 changed module name

* BAEL-378 A Guide to Activiti with Java

* BAEL-79 Fixed unit tests

* BAEL-79 Simplified the process

* BAEL-79 Fix test cases

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave
2017-08-21 23:08:41 +02:00
lor6 822e8682b6 lambda example (#2480) 2017-08-21 23:03:12 +02:00
Tian Baoqiang 802c0b09e0 #BAEL-1025 (#2445) 2017-08-21 22:58:37 +02:00
Graham Cox 706b3d6c67 Example for a GraphQL Application in Spring Boot (#2477) 2017-08-21 21:01:41 +02:00
lor6 04fa1782a2 reladomo example (#2469)
* reladomo example

* fix formatting

* add plugin versions

* fix closing streams
2017-08-21 20:25:12 +02:00
Eunice A. Obugyei 6d7fa197dd BAEL-1014 [Spring MVC with Kotlin] (#2475)
* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed unnecessary comment

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
Added Exception test cases

* Applied baeldung formatter in Eclipse

* Merged from https://github.com/eugenp/tutorials
Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Revert "Merged from https://github.com/eugenp/tutorials"

This reverts commit 74447a163b9e3f244a2578315fbdb525d20cd16b.

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Spring Security for a Java EE Application[http://jira.baeldung.com/browse/BAEL-884]

* Updated spring-security version to 4.2.3.RELEASE

* Added spring-mvc-kotlin module for http://jira.baeldung.com/browse/BAEL-1014

* Removed dependency for kotlin-reflect
2017-08-21 17:55:26 +02:00
Grzegorz Piwowarek 84cbc580e5 Undertow refactor (#2462) 2017-08-21 14:52:31 +02:00
Abhinab Kanrar 82c8d88886 simplifying (#2476)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project

* reducing employee bean content

* bootique module

* bootique

* bootique

* undertow module

* undertow module

* refactoring

* using lambda

* as per baeldung formatter

* easy code added for simplicity

* simpliflying
2017-08-21 14:25:20 +02:00
Abhinab Kanrar def5758f0a easy code added for simplicity (#2473)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project

* reducing employee bean content

* bootique module

* bootique

* bootique

* undertow module

* undertow module

* refactoring

* using lambda

* as per baeldung formatter

* easy code added for simplicity
2017-08-21 13:00:44 +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
Doha2012 b7ad275bdd minor fix (#2468)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix
2017-08-20 13:26:34 +02:00