110 Commits

Author SHA1 Message Date
pivovarit
13f2eef879 Fix Discounter examples 2017-02-06 09:08:13 +01:00
pivovarit
77f1a97e8f Refactor Discounter examples 2017-02-06 08:11:02 +01:00
Andrew Morgan
daf7af813c Implemented strategy pattern tutorial (#1110) 2017-02-06 07:51:56 +01:00
eugenp
791142c67e cleanup and testing work 2017-02-04 21:56:11 +02:00
maibin
ffd17c1b21 Fix the Hibernate4 issues (#1106)
* Binary genetic algorithm

* Fix the junit tests conflict
2017-02-04 18:47:30 +01:00
Felipe Reis
8f7559df5e BAEL-612: used lambda instead of anonymous class 2017-01-30 15:14:50 -02:00
eugenp
034cde6e20 formatting work 2017-01-29 16:03:33 +02:00
Predrag Maric
d38930100d BAEL-614 Fixed compilation error in NumbersProducer 2017-01-29 11:55:53 +01:00
Tomasz Lelek
afa9292544 Merge branch 'master' into BAEL-614 2017-01-29 11:43:17 +01:00
Tomasz Lelek
0639b2cd6f BAEL-614 thread local random 2017-01-28 10:49:35 +01:00
Tomasz Lelek
2c0494dd03 BAEL-614 introduced poison pill message to stop our producers form run indefinitely 2017-01-28 10:45:57 +01:00
pedja4
a722a46373 Merge pull request #1061 from felipe-gdr/master
BAEL-612: Guide to java.util.concurrent.Future
2017-01-28 08:39:34 +01:00
Felipe Reis
c0756273ca BAEL-612: Example usage of ForkJoinTask 2017-01-27 18:23:23 -02:00
Felipe Reis
f36d7f1ac2 BAEL-612: Single and multi threaded Future usage. 2017-01-27 18:23:11 -02:00
pivovarit
5f89c098bd Merge remote-tracking branch 'origin/master' 2017-01-27 17:48:31 +01:00
pivovarit
abb541bfba Fix Worker.java 2017-01-27 17:48:22 +01:00
Pedja
fb61d1b187 BAEL-614 Changed to use ThreadLocalRandom instead of Random 2017-01-27 12:24:31 +01:00
Pedja
4ff894095c BAEL-614 Added "public" to class definitions; Formatted code 2017-01-27 11:52:17 +01:00
Tomasz Lelek
c9a1fb1b39 BAEL-614 move to proper package, move inner classes to separate classes 2017-01-26 18:41:29 +01:00
Tomasz Lelek
350765edfc Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-614 2017-01-26 18:39:25 +01:00
Tomasz Lelek
ea7e3db154 BAEL-614 remove println 2017-01-25 19:10:49 +01:00
Tomasz Lelek
5013f7be99 BAEL-614 without a fibonacci 2017-01-25 19:07:48 +01:00
pedja4
3793b32dee Merge pull request #1012 from mogronalol/master
BAEL-613 CountDownLatch
2017-01-25 11:46:22 +01:00
Andrew Morgan
21649ab375 BAEL-613 - Added workers which wait for all other workers to start 2017-01-21 20:51:50 +00:00
Muhammed Almas
f7236b301b BAEL-519 Disruptor in its own module. (#1017)
* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes

* RFQ-587 Added disruptor as a separate module.

* BAEL-519 Disruptor changes.

* BAEL-519 Removed disruptor from core-java module.
2017-01-21 06:51:04 -06:00
Tomasz Lelek
49bcf8c967 BAEL-382 BlocknigQueue producer consumer program 2017-01-19 21:35:23 +01:00
Andrew Morgan
c60c870506 BAEL-613 2017-01-18 22:53:34 +00:00
maibin
7b8bc69bae Merge pull request #1006 from sbmaggarwal/master
Added chainedexceptions in core-java
2017-01-17 18:36:42 +01:00
Vivek Kumar
0aa46996a6 BAEL-580 handling exceptions in lambda expressions (#1004) 2017-01-17 09:01:59 +01:00
Shubham Aggarwal
b2a03d92aa Added chainedexceptions in core-java 2017-01-17 11:04:00 +05:30
Muhammed Almas
a8d61e77dd BAEL-519 Introduction to LMAX Disruptor (#948)
* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes
2017-01-15 19:48:42 +01:00
Danil Kornishev
fbb4065024 Nashorn second Attempt (#923)
* Nashorn

* Nashorn x2

* Nashorn added trailing newlines

* Cleanup

* Formatted script lines

* Change system outs to asserts

* Change Nashorn to be Junit tests

* Remove empty test
2017-01-06 15:20:47 +01:00
Ravi-ronic
4a96076ecf BAEL-538 Basic introduction to JMX technology (#937)
wordpress link http://inprogress.baeldung.com/wp-admin/post.php?post=27628&action=edit
2016-12-29 03:00:03 -06:00
maibin
ed89b85f18 Slope One refactoring (#926)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring

* SlopeOne refactoring
2016-12-26 21:21:17 +01:00
Saptarshi Basu
428bfcc8f2 WatchService vs. Apache Commons IO Mnitoring (#921)
* WatchService vs. Apache Commons IO Mnitoring

* Indentation fixed
2016-12-24 13:44:35 -06:00
maibin
1a17166d36 Slope One Algorithm (#917)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring
2016-12-23 12:36:08 -06:00
Egima profile
3b6d709108 Code for Map (#909)
* 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

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map
2016-12-21 21:07:46 +01:00
maibin
daa711d5a3 Simulated Annealing fix (#910)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes
2016-12-19 22:38:56 +01:00
Danil Kornishev
c2f7711923 Nashorn (#896) 2016-12-19 22:16:49 +01:00
maibin
39cc3511ad Simulated Annnealing fixes (#907)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-19 19:13:52 +01: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
eugenp
d66d9fb2c0 maven fix and small formatting work 2016-12-17 15:24:36 +02:00
maibin
7f45d8f9c9 Simulated Annealing algorithm (#900)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-16 21:10:54 +01:00
Naoshadul Islam
804f7ebfa8 Created README.md and added relevant articles 2016-12-15 21:34:38 +01:00
Naoshadul Islam
b9a290fd7a Created README.md and added relevant articles: 2016-12-15 21:34:38 +01:00
Naoshadul Islam
f53fe18755 Created README.md and added relevant articles 2016-12-15 21:34:38 +01:00
DOHA
a3e61b9427 upgrade and cleanup 2016-12-13 22:02:58 +02:00
Egima profile
8f9f3bdfee Added new code snippets to OptionalTest to further demo filter API (#881)
* 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

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API
2016-12-06 21:55:33 +01:00
slavisa-baeldung
4f4782255a BAEL-367 - Simplyfing code 2016-12-05 10:59:53 +01:00
eugenp
9621327040 minor formatting work 2016-12-05 11:50:57 +02:00