Commit Graph

6299 Commits

Author SHA1 Message Date
Grzegorz Piwowarek 6d6b24590f Refactor (#2538) 2017-08-31 17:14:19 +02:00
Jochem Wichers Hoeth 89927e4620 Minor fix (part 2): move @EnableOAuth2Sso from Application to Config in ui-2 as well (#2483) 2017-08-31 15:36:12 +02:00
baljeet20 4b77e378b7 BAEL-1071 Added new example (#2532)
* BAEL-1071 Runnable vs Callable in Java

* BAEL-1071 Runnable vs Callable in Java

* BAEL-1071 Runnable vs Callable in Java
2017-08-31 15:03:42 +02:00
Grzegorz Piwowarek 78e47f104f RxJava Vertx refactor (#2531)
* Refactor

* Refactor
2017-08-31 15:03:21 +02:00
Grzegorz Piwowarek d1a1322bcc Kotlin idioms (#2534) 2017-08-31 15:03:02 +02:00
lor6 49acba206c optional examples (#2537) 2017-08-31 13:06:37 +03:00
shekhar-s 2f3e36405a Moved article code to libraries, added a null check and reverted change to core-java pom.xml (#2530) 2017-08-31 10:10:37 +02:00
Doha2012 9c03b45c23 move java8 code (#2535)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup

* fix conflict

* java 8

* clean up

* add core-java-8 to main pom
2017-08-31 09:43:28 +02:00
DOHA 8c43cc2bb6 add core-java-8 to main pom 2017-08-30 23:56:49 +02:00
DOHA 5a463b3b45 clean up 2017-08-30 19:18:05 +02:00
DOHA 90441092af java 8 2017-08-30 16:55:38 +02:00
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