252 Commits

Author SHA1 Message Date
deep20jain
00e3483531 Bael 1053 - Removing java from package name (#2443)
* Adding code for java broadcasting and multicasting

* Changing multicast ip

* Adding code to iterate thorugh all network interfaces

* Formatting again and fixing bug

* Applying formatting rules on all classes

* Fixing formatting

* Removing java from package name

* Deleting duplicate files

* Removing unused imports
2017-08-15 13:42:33 +02:00
baljeet20
99eee4df2c BAEL-1077 Guide to volatile keyword (#2433)
* review changes

* BAEL-1024 Removed the proxy reference

* BAEL-1024 Renamed methods

* BAEL-1077 Guide to volatile keyword
2017-08-14 10:08:01 -07:00
deep20jain
290e759d4a BAEL1053 - deep20jain@gmail.com - Broadcasting and Multicasting in Java (#2368)
* Adding code for java broadcasting and multicasting

* Changing multicast ip

* Adding code to iterate thorugh all network interfaces

* Formatting again and fixing bug

* Applying formatting rules on all classes

* Fixing formatting
2017-08-14 04:11:49 +02:00
ramansahasi
415b80d03f BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2390)
* Structural Design Patterns 

Difference between several types of structural design patterns

* Structural Design Pattern

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns
2017-08-08 10:56:53 -07:00
cleversonzanon
1824320f95 [BAEL-1066] Implementing Singleton pattern in Java (#2361)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

* Revert "Different Types of Bean Injection in Spring code"

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.

* Destructuring Declarations in Kotlin

* Corrections on Destructuring Declarations in Kotlin

* Implementing Singleton pattern in Java

* [BAEL-1066] Implementing Singleton pattern in Java

* Singleton Implementation changes.
2017-08-07 23:14:57 +02:00
Grzegorz Piwowarek
ae827f3122 Refactor hashcode() samples (#2377) 2017-08-05 22:07:50 +02:00
eugenp
4d8f92e587 formatting cleanup 2017-08-05 16:14:20 +03:00
eugenp
f913859c6f package fixes 2017-08-05 16:13:22 +03:00
Alejandro Gervasio
752086e80c Initial Commit (#2349) 2017-07-31 13:36:15 +02:00
Abhinab Kanrar
244a678b46 jooby project (#2330)
* 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
2017-07-29 16:56:24 +02:00
Grzegorz Piwowarek
9b143b820c Refactor core-java (#2324) 2017-07-28 18:15:37 +02:00
Abhinab Kanrar
1be49ebc7f introducing lambda (#2305)
* 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
2017-07-24 09:28:10 +02:00
Grzegorz Piwowarek
9c4042eb88 Add missing "volatile"s (#2307)
* Add volatile keywords

* Update SafeCounterWithoutLock.java
2017-07-24 08:49:36 +02:00
Nikhil Khatwani
b558adec06 Changes for BAEL-1050: Added new field (#2282) 2017-07-19 21:54:43 -05:00
Abhinab Kanrar
14456eb92d concurrent package description (#2265)
* 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
2017-07-19 11:16:22 +03:00
deep20jain
afa82c0d28 BAEL-1029 - deep20jain@gmail.com - An Introduction to Atomic Variables in Java (#2269)
* Adding test classes for java atomic variables

* Updating counter with atomic integer

* Adding reason for ignoring test
2017-07-18 06:08:19 +02:00
Grzegorz Piwowarek
3e2d766f37 Refactor TemporalAdjusters (#2266) 2017-07-15 17:08:56 +02:00
Ahmed Tawila
13eec7e57c BAEL-994 - TemporalAdjuster in Java (#2232)
* 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
2017-07-09 09:15:22 +02:00
Ahmed Tawila
647455b029 BAEL-994 - TemporalAdjuster in Java (#2227)
* 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
2017-07-08 07:59:59 +02:00
hariprasad108
7bfceb34c7 URI, URL BAEL-864. Article renamed and extended URI part. (#2217) 2017-07-07 12:27:45 +02:00
fromalexwithluv
5a184d4e0d BAEL-871 What is serialVersionUID? (#2203)
* Bean Injection in Spring – ashrafmsokkar@gmail.com

* Bean Injection in Spring – ashrafmsokkar@gmail.com

* BAEL-871: What is serialVersionUID?

* BAEL-871: What is serialVersionUID?

* BAEL-871 What is serialVersionUID?

* BAEL-871 Implemented feedback
2017-07-07 08:45:03 +02:00
Parth Karia
2f83bec231 BAEL-1004 (#2206)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* BAEL-831 Removed wrapper class

* Removing evaluation article example

* BAEL-875 - Hill Climbing Algorithm

BAEL-875 - Implementation for Hill Climbing Algorithm

* BAEL-875 removed unused imports

* BAEL-984 Monte Carlo tree search

BAEL-984 Implementation for tic tac toe using Monte Carlo tree search

* BAEL-984	 test cases for MCTS

BAEL-984 test cases for Monte Carlo tree search implementation

* BAEL-1004

Implementation of Minimax algorithm
2017-07-05 09:54:46 +02:00
ocheja
1a73061761 BAEL-922 Type Erasure Explained (#2100)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name
2017-07-03 23:39:12 +02:00
Grzegorz Piwowarek
aecdf6d5c7 Semaphores refactor 2017-07-03 17:39:45 +02:00
Doha2012
20669dc6a1 semaphores (#2198)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores
2017-07-03 17:34:41 +02:00
slavisa-baeldung
7c6a08746e Merge pull request #2182 from eugenp/bael-835-gc-limit-exceed
bael-835-gc-limit-exceed
2017-07-03 11:15:25 +02:00
Grzegorz Piwowarek
ef34fc6576 Vavr refactor 02 07 (#2193)
* Vavr refactor

* Refactor
2017-07-02 08:07:32 +02:00
Shivang Sarawagi
faeaf0de6a BigDecimal & BigInteger data type implementation (#2181) 2017-06-30 17:46:29 +02:00
slavisa-baeldung
342c356b89 BAEL-835 - code rerfactor 2017-06-30 15:29:37 +01:00
slavisa-baeldung
97acf0c90e Merge branch 'master' of https://github.com/buddhini81/tutorials into buddhini81-master 2017-06-29 12:42:24 +01:00
buddhini81
641671d69a Minor change BAEL-835 2017-06-29 08:04:13 +05:30
buddhini81
376a21bbbc Minor modification BAEL-835 2017-06-29 08:03:14 +05:30
PRITAM BANERJEE
b97651ae5a MapIteration changes (#2072) 2017-06-26 12:36:16 +02:00
Chandravadan S
2bb31e54ed Cyclic Barriers demo (#2156) 2017-06-26 11:12:00 +02:00
buddhini81
06d375bc42 BAEL-835 sample code 2017-06-20 07:29:03 +05:30
buddhini81
8b85c0251e Delete test.txt 2017-06-20 06:53:41 +05:30
buddhini81
cc5dd5bb8b Delete test2.txt 2017-06-20 06:53:25 +05:30
buddhini81
81b6322163 Delete test3.txt 2017-06-20 06:52:55 +05:30
buddhini81
b4de7a555d Delete test33.txt 2017-06-20 06:52:36 +05:30
buddhini81
36a3d11761 BAEL-835 code files 2017-06-20 06:51:43 +05:30
buddhini81
8a99c5e6f5 Create test33.txt 2017-06-20 06:50:11 +05:30
buddhini81
08628a0360 Create test3.txt 2017-06-20 06:49:35 +05:30
buddhini81
970d955534 test file 2017-06-20 06:40:23 +05:30
buddhini81
55892dbc8f Delete 2017-06-20 06:39:30 +05:30
buddhini81
2a6508538e BAEL-835 New project folder 2017-06-20 06:38:33 +05:30
buddhini81
1aaa774daf test 2017-06-20 06:36:02 +05:30
hariprasad108
547b5850fb Bael-864, Networking, core-java. (#2111) 2017-06-19 22:14:48 +02:00
maibin
ed926b3790 Revert "Difference between url and uri bael 864 hariprasad net (#2108)" (#2110)
This reverts commit 9048d5215bc608d77834903f858ba9cc63d9acd0.
2017-06-19 15:43:23 +02:00
hariprasad108
9048d5215b Difference between url and uri bael 864 hariprasad net (#2108)
* BAEL-864, java.net.*

* java-networking Bael-864, revision

* Final and static keywords removed.

* Bael-486 Static import for JUnit into pom.xml was added.

* Bael-486, pom.xml was renamed on networking-pom.xml to deactivate it.

* Maven pom.xml changed.

* Delete java-networing project.

* Bael-684, rearanged.
2017-06-19 00:27:34 +02:00
Grzegorz Piwowarek
b92470e14d Refactor Smatt examples (#2091) 2017-06-15 16:13:51 +02:00