Commit Graph

6319 Commits

Author SHA1 Message Date
Devendra Tiwari 1afa7e2fcf Bael 1043/protonpack (#2415)
* BAEL-1043/ Introduction to protonpack

* Added test cases for windowed() api

* Resolving merge issues
2017-09-04 10:04:18 -07:00
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -07:00
Parth Karia 839a68f616 BAEL-1106 Introduction to javax.measure (#2522)
* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* Update pom.xml
2017-09-04 13:47:36 +02:00
Hany Ahmed 2b293e51e0 BAEL-1116 Spring swagger codegen (#2527)
* Spring integration with Swagger client code genrator

* Refactor

* format pom.xml
2017-09-04 05:41:49 +02:00
Abhinab Kanrar acf9bf7c4a JDeferred (#2553)
* 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

* adding JDeferred module

* moved jdeferred to librarires module
2017-09-03 22:39:16 +02:00
deep20jain d8398caaa2 BAEL-1123 - Testing Linked List for Cycles - deep20jain@gmail.com (#2525)
* Adding node and cycle detection by hashing

* Adding implementation for all algorithms for cycle detection and removal

* Applying formatting rules
2017-09-03 22:20:25 +02:00
Adam InTae Gerard 4baaf9f984 BAEL-1085 (#2428)
* Simple Boot REST application and example

* BAEL-509 - Removed extra duplicate ant matcher

* Example and Unit Tests

* documentation

* BAEL-1085 - changes per PR code review and document review - altered integration to unit test - all's good

* BAEL-1085 - Renamed unit tests and added both to pom.xml

* IntelliJ formatter

* REVERT - Had removed a duplicate ant matcher from BAEL-509 - this was the incorrect process - reverting now, article has been corrected, but will issue a seperate PR for this
2017-09-03 09:56:40 +02:00
Seun Matt b6830cc736 Updated Vavr Collections Example Code (#2550)
* 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

* updated Vavr Collections example
2017-09-03 09:49:09 +02:00
Grzegorz Piwowarek 159f918806 Refactor mustache 2017-09-03 07:29:50 +02:00
Eric Goebelbecker 3c4faf999d BAEL-1018 - Introduction to MBassador (#2551) 2017-09-02 16:08:39 -07:00
alincojanu 01529c3202 sneaky throws (#2505)
* alin.cojanu25@gmail.com

* add junit tests

* core-java - sneaky throws

* delete project spring_sample_annotations and spring_sample_xml ->not intended for this article
2017-09-02 19:38:04 +02:00
Grzegorz Piwowarek 7262427421 Version update 9 02 (#2547)
* Update Hazelcast

* Update Hbase

* Update Immutables

* Update Lombok
2017-09-02 10:43:10 +02:00
Fatos Morina 94d02ed1f6 BAEL-1078 How to iterate over a stream with indices (#2544)
* Add the example with EntryStream

* Add the example with EntryStream

* Add vavr

* Implement the method getOddIndexedStringsVersionTwo

* Implement the method givenArray_whenGetIndexedStrings_thenReturnListOfOddStringsVersionTwo

* BAEL-1078 Code formatting

* Extract tuples using map

* Fix merge conflicts
2017-09-02 11:42:24 +03:00
Shivang Sarawagi d635e9a245 binary search folder created (#2541)
* binary search folder created

* Binary search test updated
2017-09-01 17:40:09 -07:00
shekhar-s 498a84c8b3 removed If condition (#2546) 2017-09-01 23:44:37 +02:00
Alejandro Gervasio 7e26990eb9 An Introduction to Vavr's Validation API - Alejandro Gervasio | alejandro.gervasio@gmail.com (#2526)
* Initial Commit

* Refactored Application class

* Refactored Application class

* Refactored Application class

* Refactored User class

* Added ValidationTest class

* Reorganized imports in ValidatorTest class

* Reformatted source code

* Reformatted source code
2017-09-01 23:33:58 +02:00
hugosama1 86c1d6d22d First proposition for introduction to spring-yarg (#2540) 2017-09-01 21:57:45 +02:00
Grzegorz Piwowarek aaa3d117e2 Update versions in libraries (#2543)
* Bump datanucleus versions

* Update HikariCP

* Update Hoverfly-java
2017-09-01 14:23:05 +02:00
Grzegorz Piwowarek 6d797a2cc3 Refactor JavaDirectoryDelete (#2542) 2017-09-01 09:41:11 +02:00
Predrag Maric 12ffbe027d BAEL-1078 Code formatting (#2539) 2017-08-31 18:42:03 +02:00
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