2013-12-24 15:11:18 +02:00
|
|
|
|
=========
|
|
|
|
|
|
|
|
|
|
|
|
## Core Java Cookbooks and Examples
|
|
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
2017-04-09 23:21:44 -06:00
|
|
|
|
- [Java – Generate Random String](http://www.baeldung.com/java-random-string)
|
2016-02-09 14:27:46 +02:00
|
|
|
|
- [Java Timer](http://www.baeldung.com/java-timer-and-timertask)
|
2016-10-04 14:56:26 +06:00
|
|
|
|
- [How to Run a Shell Command in Java](http://www.baeldung.com/run-shell-command-in-java)
|
2016-10-04 15:28:03 +06:00
|
|
|
|
- [MD5 Hashing in Java](http://www.baeldung.com/java-md5)
|
|
|
|
|
|
- [Guide to Java Reflection](http://www.baeldung.com/java-reflection)
|
2016-10-23 11:25:09 +02:00
|
|
|
|
- [A Guide to Java Sockets](http://www.baeldung.com/a-guide-to-java-sockets)
|
2016-10-23 21:22:07 +02:00
|
|
|
|
- [Convert char to String in Java](http://www.baeldung.com/java-convert-char-to-string)
|
2016-10-23 22:36:44 +02:00
|
|
|
|
- [Convert String to int or Integer in Java](http://www.baeldung.com/java-convert-string-to-int-or-integer)
|
|
|
|
|
|
- [Java – Try with Resources](http://www.baeldung.com/java-try-with-resources)
|
2016-11-10 16:13:42 +01:00
|
|
|
|
- [Guide to the Fork/Join Framework in Java](http://www.baeldung.com/java-fork-join)
|
|
|
|
|
|
- [How to Print Screen in Java](http://www.baeldung.com/print-screen-in-java)
|
2016-11-13 13:10:28 +05:30
|
|
|
|
- [How to Convert String to different data types in Java](http://www.baeldung.com/java-string-conversions)
|
2016-12-09 22:40:29 +01:00
|
|
|
|
- [Introduction to Java Generics](http://www.baeldung.com/java-generics)
|
2016-11-12 01:10:01 +06:00
|
|
|
|
- [Generate equals() and hashCode() with Eclipse](http://www.baeldung.com/java-eclipse-equals-and-hashcode)
|
|
|
|
|
|
- [A Guide To Java Regular Expressions API](http://www.baeldung.com/regular-expressions-java)
|
2016-12-18 14:15:07 +06:00
|
|
|
|
- [Sorting in Java](http://www.baeldung.com/java-sorting)
|
|
|
|
|
|
- [Getting Started with Java Properties](http://www.baeldung.com/java-properties)
|
2016-12-18 14:13:57 +02:00
|
|
|
|
- [Grep in Java](http://www.baeldung.com/grep-in-java)
|
2016-12-19 19:13:52 +01:00
|
|
|
|
- [Simulated Annealing for Travelling Salesman Problem](http://www.baeldung.com/java-simulated-annealing-for-traveling-salesman)
|
2017-01-08 13:25:59 +06:00
|
|
|
|
- [Slope One Algorithm: Collaborative Filtering Recommendation Systems](http://www.baeldung.com/java-collaborative-filtering-recommendations)
|
|
|
|
|
|
- [Pattern Search with Grep in Java](http://www.baeldung.com/grep-in-java)
|
|
|
|
|
|
- [URL Encoding and Decoding in Java](http://www.baeldung.com/java-url-encoding-decoding)
|
|
|
|
|
|
- [The Basics of Java Generics](http://www.baeldung.com/java-generics)
|
2017-01-20 04:10:13 +06:00
|
|
|
|
- [The Traveling Salesman Problem in Java](http://www.baeldung.com/java-simulated-annealing-for-traveling-salesman)
|
|
|
|
|
|
- [How to Create an Executable JAR with Maven](http://www.baeldung.com/executable-jar-with-maven)
|
2017-02-12 07:32:40 -06:00
|
|
|
|
- [How to Design a Genetic Algorithm in Java](http://www.baeldung.com/java-genetic-algorithm)
|
2017-02-19 22:22:43 +01:00
|
|
|
|
- [Spring Security – Cache Control Headers](http://www.baeldung.com/spring-security-cache-control-headers)
|
|
|
|
|
|
- [Basic Introduction to JMX](http://www.baeldung.com/java-management-extensions)
|
|
|
|
|
|
- [AWS Lambda With Java](http://www.baeldung.com/java-aws-lambda)
|
|
|
|
|
|
- [Introduction to Nashorn](http://www.baeldung.com/java-nashorn)
|
|
|
|
|
|
- [Chained Exceptions in Java](http://www.baeldung.com/java-chained-exceptions)
|
2017-03-18 22:38:31 +01:00
|
|
|
|
- [A Quick JUnit vs TestNG Comparison](http://www.baeldung.com/junit-vs-testng)
|
2017-03-18 20:25:06 +01:00
|
|
|
|
- [Java Primitive Conversions](http://www.baeldung.com/java-primitive-conversions)
|
|
|
|
|
|
- [Java Money and the Currency API](http://www.baeldung.com/java-money-and-currency)
|
2017-04-18 22:20:20 +02:00
|
|
|
|
- [Converting Strings to Enums in Java](http://www.baeldung.com/java-string-to-enum)
|
|
|
|
|
|
- [Quick Guide to the Java StringTokenizer](http://www.baeldung.com/java-stringtokenizer)
|
|
|
|
|
|
- [JVM Log Forging](http://www.baeldung.com/jvm-log-forging)
|
|
|
|
|
|
- [Guide to sun.misc.Unsafe](http://www.baeldung.com/java-unsafe)
|
2017-04-29 13:36:05 -05:00
|
|
|
|
- [How to Perform a Simple HTTP Request in Java](http://www.baeldung.com/java-http-request)
|
2017-05-08 09:26:11 -05:00
|
|
|
|
- [Call Methods at Runtime Using Java Reflection](http://www.baeldung.com/java-method-reflection)
|
2017-06-02 18:53:07 +01:00
|
|
|
|
- [Guide to UUID in JAVA](http://www.baeldung.com/guide-to-uuid-in-java)
|
2017-05-23 07:58:17 -05:00
|
|
|
|
- [How to Add a Single Element to a Stream](http://www.baeldung.com/java-stream-append-prepend)
|
2017-05-30 14:57:41 -05:00
|
|
|
|
- [Iterating Over Enum Values in Java](http://www.baeldung.com/java-enum-iteration)
|
2017-05-24 19:46:01 +03:00
|
|
|
|
- [Kotlin Java Interoperability](http://www.baeldung.com/kotlin-java-interoperability)
|
2017-07-13 19:43:43 +06:00
|
|
|
|
- [Changing Annotation Parameters At Runtime](http://www.baeldung.com/java-reflection-change-annotation-params)
|
|
|
|
|
|
- [How to Find all Getters Returning Null](http://www.baeldung.com/java-getters-returning-null)
|
|
|
|
|
|
- [Changing the Order in a Sum Operation Can Produce Different Results?](http://www.baeldung.com/java-floating-point-sum-order)
|
|
|
|
|
|
- [How to Get a Name of a Method Being Executed?](http://www.baeldung.com/java-name-of-executing-method)
|
2017-06-15 16:08:13 +02:00
|
|
|
|
- [Dynamic Proxies in Java](http://www.baeldung.com/java-dynamic-proxies)
|
2017-06-15 18:44:44 +02:00
|
|
|
|
- [How to Copy an Array in Java](http://www.baeldung.com/java-array-copy)
|
|
|
|
|
|
- [Introduction to JDBC](http://www.baeldung.com/java-jdbc)
|
|
|
|
|
|
- [Period and Duration in Java](http://www.baeldung.com/java-period-duration)
|
|
|
|
|
|
- [Converting a Stack Trace to a String in Java](http://www.baeldung.com/java-stacktrace-to-string)
|
|
|
|
|
|
- [Count Occurrences of a Char in a String](http://www.baeldung.com/java-count-chars)
|
|
|
|
|
|
- [Java Double Brace Initialization](http://www.baeldung.com/java-double-brace-initialization)
|
|
|
|
|
|
- [The StackOverflowError in Java](http://www.baeldung.com/java-stack-overflow-error)
|
|
|
|
|
|
- [Split a String in Java](http://www.baeldung.com/java-split-string)
|
|
|
|
|
|
- [Introduction to Java Serialization](http://www.baeldung.com/java-serialization)
|
|
|
|
|
|
- [How to Remove the Last Character of a String?](http://www.baeldung.com/java-remove-last-character-of-string)
|
|
|
|
|
|
- [ClassNotFoundException vs NoClassDefFoundError](http://www.baeldung.com/java-classnotfoundexception-and-noclassdeffounderror)
|
|
|
|
|
|
- [Guide to UUID in Java](http://www.baeldung.com/java-uuid)
|
|
|
|
|
|
- [Guide to Escaping Characters in Java RegExps](http://www.baeldung.com/java-regexp-escape-char)
|
2017-09-16 15:26:29 +06:00
|
|
|
|
- [Guide to hashCode() in Java](http://www.baeldung.com/java-hashcode)
|
|
|
|
|
|
- [Difference between URL and URI](http://www.baeldung.com/java-url-vs-uri)
|
|
|
|
|
|
- [Broadcasting and Multicasting in Java](http://www.baeldung.com/java-broadcast-multicast)
|
|
|
|
|
|
- [CharSequence vs. String in Java](http://www.baeldung.com/java-char-sequence-string)
|
2017-08-25 18:39:12 +01:00
|
|
|
|
- [Period and Duration in Java](http://www.baeldung.com/java-period-duration)
|
2017-10-15 13:55:42 +02:00
|
|
|
|
- [Guide to the Diamond Operator in Java](http://www.baeldung.com/java-diamond-operator)
|
|
|
|
|
|
- [“Sneaky Throws” in Java](http://www.baeldung.com/java-sneaky-throws)
|
|
|
|
|
|
- [OutOfMemoryError: GC Overhead Limit Exceeded](http://www.baeldung.com/java-gc-overhead-limit-exceeded)
|
|
|
|
|
|
- [StringBuilder and StringBuffer in Java](http://www.baeldung.com/java-string-builder-string-buffer)
|
2017-11-14 11:37:36 +02:00
|
|
|
|
- [Creating a Java Compiler Plugin](http://www.baeldung.com/java-build-compiler-plugin)
|
2017-11-17 20:00:32 +06:00
|
|
|
|
- [A Guide to the Static Keyword in Java](http://www.baeldung.com/java-static)
|
|
|
|
|
|
- [Initializing Arrays in Java](http://www.baeldung.com/java-initialize-array)
|
2017-11-21 22:21:27 -06:00
|
|
|
|
- [Guide to Java String Pool](http://www.baeldung.com/java-string-pool)
|
2017-12-02 11:55:12 +02:00
|
|
|
|
- [Quick Example - Comparator vs Comparable in Java](http://www.baeldung.com/java-comparator-comparable)
|
2017-12-12 12:32:35 +06:00
|
|
|
|
- [Quick Guide to Java Stack](http://www.baeldung.com/java-stack)
|
|
|
|
|
|
- [The Java continue and break Keywords](http://www.baeldung.com/java-continue-and-break)
|
|
|
|
|
|
- [Guide to java.util.Formatter](http://www.baeldung.com/java-string-formatter)
|
2017-12-19 19:03:15 +00:00
|
|
|
|
- [Batch Processing in JDBC](http://www.baeldung.com/jdbc-batch-processing)
|
2017-12-24 19:50:07 +02:00
|
|
|
|
- [Check if a Java Array Contains a Value](http://www.baeldung.com/java-array-contains-value)
|
2017-12-24 11:50:17 -06:00
|
|
|
|
- [How to Invert an Array in Java](http://www.baeldung.com/java-invert-array)
|
2017-12-25 22:13:39 -06:00
|
|
|
|
- [Guide to the Cipher Class](http://www.baeldung.com/java-cipher-class)
|
2017-12-28 01:11:30 +02:00
|
|
|
|
- [A Guide to Java Initialization](http://www.baeldung.com/java-initialization)
|
2018-01-06 11:35:44 +02:00
|
|
|
|
- [Implementing a Binary Tree in Java](http://www.baeldung.com/java-binary-tree)
|
2018-01-06 11:28:35 +02:00
|
|
|
|
- [A Guide to ThreadLocalRandom in Java](http://www.baeldung.com/java-thread-local-random)
|
2018-01-08 17:27:04 +00:00
|
|
|
|
- [RegEx for matching Date Pattern in Java](http://www.baeldung.com/java-date-regular-expressions)
|
2018-01-18 02:53:17 +06:00
|
|
|
|
- [Introduction to the JDBC RowSet Interface in Java](http://www.baeldung.com/java-jdbc-rowset)
|
|
|
|
|
|
- [Nested Classes in Java](http://www.baeldung.com/java-nested-classes)
|
|
|
|
|
|
- [A Guide to Java Loops](http://www.baeldung.com/java-loops)
|
|
|
|
|
|
- [Varargs in Java](http://www.baeldung.com/java-varargs)
|
|
|
|
|
|
- [A Guide to Inner Interfaces in Java](http://www.baeldung.com/java-inner-interfaces)
|
|
|
|
|
|
- [Polymorphism in Java](http://www.baeldung.com/java-polymorphism)
|
|
|
|
|
|
- [Recursion In Java](http://www.baeldung.com/java-recursion)
|
2018-01-25 22:06:00 +01:00
|
|
|
|
- [A Guide to the finalize Method in Java](http://www.baeldung.com/java-finalize)
|
2018-02-24 08:19:12 +01:00
|
|
|
|
- [Compiling Java *.class Files with javac](http://www.baeldung.com/javac)
|
2018-02-26 19:39:11 -06:00
|
|
|
|
- [Method Overloading and Overriding in Java](http://www.baeldung.com/java-method-overload-override)
|
2018-03-02 22:40:04 +06:00
|
|
|
|
- [Guide to ThreadLocalRandom in Java](http://www.baeldung.com/java-thread-local-random)
|
|
|
|
|
|
- [A Guide to Iterator in Java](http://www.baeldung.com/java-iterator)
|
|
|
|
|
|
- [The Trie Data Structure in Java](http://www.baeldung.com/trie-java)
|
|
|
|
|
|
- [Introduction to Javadoc](http://www.baeldung.com/javadoc)
|
2018-03-17 15:24:22 -05:00
|
|
|
|
- [How to Make a Deep Copy of an Object in Java](http://www.baeldung.com/java-deep-copy)
|
2018-03-18 15:49:32 +02:00
|
|
|
|
- [Check if a String is a Palindrome](http://www.baeldung.com/java-palindrome)
|
2018-03-18 18:16:04 +02:00
|
|
|
|
- [Comparing Strings in Java](http://www.baeldung.com/java-compare-strings)
|
|
|
|
|
|
- [Guide to Inheritance in Java](http://www.baeldung.com/java-inheritance)
|
|
|
|
|
|
- [Guide to Externalizable Interface in Java](http://www.baeldung.com/java-externalizable)
|
2018-04-11 11:33:18 +06:00
|
|
|
|
- [Object Type Casting in Java](http://www.baeldung.com/java-type-casting)
|
|
|
|
|
|
- [A Practical Guide to DecimalFormat](http://www.baeldung.com/java-decimalformat)
|
|
|
|
|
|
- [How to Detect the OS Using Java](http://www.baeldung.com/java-detect-os)
|
|
|
|
|
|
- [ASCII Art in Java](http://www.baeldung.com/ascii-art-in-java)
|
|
|
|
|
|
- [An Advanced Tagging Implementation with JPA](http://www.baeldung.com/jpa-tagging-advanced)
|
|
|
|
|
|
- [Handling Daylight Savings Time in Java](http://www.baeldung.com/java-daylight-savings)
|
2018-04-10 09:16:10 -05:00
|
|
|
|
- [Inheritance and Composition (Is-a vs Has-a relationship) in Java](http://www.baeldung.com/java-inheritance-composition)
|
2018-04-25 21:25:11 +05:30
|
|
|
|
- [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max)
|
2018-04-24 21:50:57 -05:00
|
|
|
|
- [The "final" Keyword in Java](http://www.baeldung.com/java-final)
|
2018-05-02 13:11:09 +05:30
|
|
|
|
- [What is the serialVersionUID?](http://www.baeldung.com/java-serial-version-uid)
|
|
|
|
|
|
- [A Guide To UDP In Java](http://www.baeldung.com/udp-in-java)
|
|
|
|
|
|
- [A Guide to the Java LinkedList](http://www.baeldung.com/java-linkedlist)
|
|
|
|
|
|
- [A Guide to Java Enums](http://www.baeldung.com/a-guide-to-java-enums)
|
|
|
|
|
|
- [A Guide to the ResourceBundle](http://www.baeldung.com/java-resourcebundle)
|
|
|
|
|
|
- [Quick Guide to java.lang.System](http://www.baeldung.com/java-lang-system)
|
|
|
|
|
|
- [Class Loaders in Java](http://www.baeldung.com/java-classloaders)
|
|
|
|
|
|
- [Find Sum and Average in a Java Array](http://www.baeldung.com/java-array-sum-average)
|
|
|
|
|
|
- [Java List UnsupportedOperationException](http://www.baeldung.com/java-list-unsupported-operation-exception)
|
2018-05-02 07:26:40 +02:00
|
|
|
|
- [Type Erasure in Java Explained](http://www.baeldung.com/java-type-erasure)
|
2018-05-02 09:20:16 +02:00
|
|
|
|
- [Display All Time Zones With GMT And UTC in Java](http://www.baeldung.com/java-time-zones)
|
2018-05-03 19:44:44 +06:00
|
|
|
|
- [Join and Split Arrays and Collections in Java](http://www.baeldung.com/java-join-and-split)
|
|
|
|
|
|
- [Check If Two Lists are Equal in Java](http://www.baeldung.com/java-test-a-list-for-ordinality-and-equality)
|
|
|
|
|
|
- [Sending Emails with Java](http://www.baeldung.com/java-email)
|
|
|
|
|
|
- [Introduction to SSL in Java](http://www.baeldung.com/java-ssl)
|
|
|
|
|
|
- [Java KeyStore API](http://www.baeldung.com/java-keystore)
|
2018-05-23 20:25:32 +05:30
|
|
|
|
- [Double-Checked Locking with Singleton](http://www.baeldung.com/java-singleton-double-checked-locking)
|
2018-05-04 20:53:53 +02:00
|
|
|
|
- [Guide to Java Clock Class](http://www.baeldung.com/java-clock)
|
2018-06-08 18:24:54 +02:00
|
|
|
|
- [Infinite Loops in Java](http://www.baeldung.com/infinite-loops-java)
|
2018-06-01 18:04:12 +06:00
|
|
|
|
- [Using Java Assertions](http://www.baeldung.com/java-assert)
|
|
|
|
|
|
- [Pass-By-Value as a Parameter Passing Mechanism in Java](http://www.baeldung.com/java-pass-by-value-or-pass-by-reference)
|
|
|
|
|
|
- [Check If a String Is Numeric in Java](http://www.baeldung.com/java-check-string-number)
|
|
|
|
|
|
- [Variable and Method Hiding in Java](http://www.baeldung.com/java-variable-method-hiding)
|
|
|
|
|
|
- [Access Modifiers in Java](http://www.baeldung.com/java-access-modifiers)
|
|
|
|
|
|
- [Infinite Loops in Java](http://www.baeldung.com/infinite-loops-java)
|
|
|
|
|
|
- [Why Use char[] Array Over a String for Storing Passwords in Java?](http://www.baeldung.com/java-storing-passwords)
|
2018-06-10 14:41:07 +08:00
|
|
|
|
- [Introduction to Creational Design Patterns](http://www.baeldung.com/creational-design-patterns)
|
|
|
|
|
|
- [Proxy, Decorator, Adapter and Bridge Patterns](http://www.baeldung.com/java-structural-design-patterns)
|
|
|
|
|
|
- [Singletons in Java](http://www.baeldung.com/java-singleton)
|
|
|
|
|
|
- [Flyweight Pattern in Java](http://www.baeldung.com/java-flyweight)
|
|
|
|
|
|
- [The Observer Pattern in Java](http://www.baeldung.com/java-observer-pattern)
|
|
|
|
|
|
- [Service Locator Pattern](http://www.baeldung.com/java-service-locator-pattern)
|
2018-06-14 01:50:33 +08:00
|
|
|
|
- [The Thread.join() Method in Java](http://www.baeldung.com/java-thread-join)
|
|
|
|
|
|
- [Guide to the super Java Keyword](http://www.baeldung.com/java-super)
|
|
|
|
|
|
- [Guide to the this Java Keyword](http://www.baeldung.com/java-this)
|
|
|
|
|
|
- [Jagged Arrays In Java](http://www.baeldung.com/java-jagged-arrays)
|
2018-06-30 08:28:44 -05:00
|
|
|
|
- [Importance of Main Manifest Attribute in a Self-Executing JAR](http://www.baeldung.com/java-jar-executable-manifest-main-class)
|
2018-07-06 13:25:49 +06:00
|
|
|
|
- [Extracting Year, Month and Day from Date in Java](http://www.baeldung.com/java-year-month-day)
|
|
|
|
|
|
- [Get Date Without Time in Java](http://www.baeldung.com/java-date-without-time)
|
|
|
|
|
|
- [Convert a String to Title Case](http://www.baeldung.com/java-string-title-case)
|
|
|
|
|
|
- [How to Get the File Extension of a File in Java](http://www.baeldung.com/java-file-extension)
|
|
|
|
|
|
- [Immutable Objects in Java](http://www.baeldung.com/java-immutable-object)
|
2018-07-08 10:12:13 -05:00
|
|
|
|
- [Console I/O in Java](http://www.baeldung.com/java-console-input-output)
|
Merging into own fork (#3)
* [BAEL-7621] - Fixed integration test of spring-hibernate-5 module by introducing H2 database
* BAEL-1985: Added Examples showing how to Initialize HashSet when it's constructed (#4715)
* Added Class for Initalizing HahsSet
* Updated Class name
* Delete InitializingSetTest.java
* Copy list to another list examples (#4725)
* Update README.MD (#4720)
* [BAEL-7621] - Fixed integration test of spring-hibernate-5 module by introducing H2 database (#4728)
* [BAEL-7645] - Fixed integration test of spring-jpa module through H2 inmemory DB
* BAEL-1814 Guide to Spring Webflux (#4450)
* BAEL-1814 Guide to Spring Webflux
-Added files for Employee reactive application
-Updated pom.xml for Spring Security
* BAEL-1814 Guide to Spring Webflux
-Added EmployeeControllerTest
-Updated method name in EmployeeController and corrected secured url in EmployeeWebSecurityConfig
* BAEL-1814 Guide to spring webflux
-Fixed security config, now only specific url prompts for authentication and not all endpoints
-Removed @WithMockUser as it is not needed now
* BAEL-1814 Guide To Webflux
-Feedback incorporation
* BAEL-1814 Spring Webflux Guide
-Formatted coded for EmployeeWebSocketHandler.
* Update and rename EmployeeControllerTest.java to EmployeeControllerUnitTest.java
* BAEL-1814 Guide to spring webflux
-Fixed EmployeeControllerUnitTest.java
* BAEL - 1916 (#4729)
Code refactored
* Renamed test methods to use BDD style
* Fixed integration test of spring-jpa module through inmemory H2 DB (#4740)
* [BAEL-7621] - Fixed integration test of spring-hibernate-5 module by introducing H2 database
* [BAEL-7645] - Fixed integration test of spring-jpa module through H2 inmemory DB
* guide to jmapper
* [BAEL-7651] - Fixed integration tests of spring-security-mvc-custom module by adding proper authentication manager
* clean only generated files
* added spring-rest-hal-browser code (#4701)
* Added spring-rest-template
* Updated README.md file
* Updated README.md file
* Update Makefile
* Update Makefile
* moved AuthenticationFailureHandler example to spring-security-mvc-login
* trying out separate modules in the integration profile
* maven cleanup
* fixing name of module
* running group 2
* running group 1
* fixing relative path
* Update Makefile
* Update Makefile
* Update JMapperIntegrationTest.java
* Update JMapperRelationalIntegrationTest.java
* Update MultipartFileUploadClient.java
* BAEL-1914 refactor (#4749)
* Server Sent Events example using Spring Webflux and React
* spring security custom AuthenticationFailureHandler
* refactor
* moved SSE to branch
* remove pom properties
* moved AuthenticationFailureHandler example to spring-security-mvc-login
* added link
* trying out profile-driven build
* minor maven cleanup
* activating group 2
* Update README.md
* BAEL-1850 (#4744)
* Micronaut server
* More server stuff; create client and test
* Rename directory, new concerete client example
* Remove hello-world directory from micronaut
* Update MavenWrapperDownloader.java
* running group 1, and small logging fix
* jnosql
* live test properly categorized
* temporarily making a test live
* moving the libraries module from group 1
* group 2
* enabling group 3
* * Added changes for BAEL-1922 Enable CORS in Spring Webflux (#4724)
* BAEL-2018 (#4753)
* BAEL-2018
* Update Animal.java
* rename
* running group 3
* jmeter excluded
* running group 2
* properly classifying a testclear
* live tests
* BAEL-1838 (#4692)
* #BAEL-1838 code samples. Renamed LambdaKotlinTest to have the build succeed.
* #BAEL-1838 code samples w/inheritance.
* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.
* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.
* BEAL-1985 - Removed Java 9 Example (#4734)
* Added Class for Initalizing HahsSet
* Updated Class name
* Delete InitializingSetTest.java
* Modified HashSet Initilization Example
* Removed Java 9 Example
* Update HashSetInitalizingUnitTest.java
* Update HashSetInitalizingUnitTest.java
* Update HashSetInitalizingUnitTest.java
* Update HashSetInitalizingUnitTest.java
* group 3.2
* enabling 3.1
* running group 3
* Update README.md
Documenting the new default profile.
* fixing the default profile testing config
* groups 2 and 3
* minor major cleanup
* BAEL-1907 Created new module spring-testing
* new integration-lite profile
* integration-lite work
* BAEL-1862 Move the Junit 5 logic in the right module (#4747)
* BAEL-1862 Move the Junit 5 logic in the right module
-Moved Method Orders Tests from tutorails/junit5 project into correct project tutorials/testing-modules/junit-5
-Removed tutorials/junit5 project
* Update DefaultOrderOfExecutionTest.java
* Update README.md
* BAEL-1862 Move the Junit 5 logic in the right module
-Renamed *Test to *UnitTest
* Update README.md
* maven cleanup work
* logging cleanup
* BAEL-1907 Corrected formatting
* working through modules
* maven cleanup
* trying problematic modules
* integration heavy profile
* maven work
* Bael 1864 (#4727)
* running project without building tests
* include the DataCheck class
* Update TestFail.java
* guide to jmapper (#4745)
* guide to jmapper
* Update JMapperIntegrationTest.java
* Update JMapperRelationalIntegrationTest.java
* dupirefr/dupire.francois+pro@gmail.com [BAEL-1981] Query entities by dates and times with Spring Data JPA (#4737)
* [BAEL-1981] Article entity and repository + tests
* [BAEL-1981] Removing unnecessary fields
* moving long-running module
* BAEL-1992
* maven cleanup work
* BAEL-1818 - A Guide to Connection Pools in Java (#4735)
* Strange git issue with README.MD, wouldn't revert the file
* Initial Commit
* Initial Commit
* Update pom.xml
* Update pom.xml
* Initial Commit
* Update pom.xml
* Update source files
* Update source files
* Update source files
* Update source files
* Update Application.java
* Update pom.xml
* Update HikariCPDataSourceUnitTest class
* Update HikariCPDataSourceUnitTest.java
* Update pom.xml
* Update unit test classes
* Update BasicConnectionPoolUnitTest.java
* Fix indentation in DBCDDataSource class
* Update DBCPDataSource.java
* Update BasicConnectionPool class
* Update BasicConnectionPool class
* Update BasicConnectionPool.java
* Update BasicConnectionPool.java
* Update pom.xml
* Update pom.xml
* BAEL-1818 Refactored getConnection(), added shutdown(), cleaned up pom.xml
* BAEL-1818 Removed getConnectionPool(), upgraded c3po version
* BAEL-1818 Deleted obsolete connectionpool module
* BAEL-1818 Deleted obsolete connectionpool module
* move jmapper to libraries-data
* [BAEL-7635] Removed test generated files : Will be gitignored
* [BAEL-7635] - Commented out sortpom-maven-plugin that changes pom.xml in every build, added new entries in .gitignore
* BAEL-1852 - Testing an Abstract Class with JUnit (#4773)
* BAEL-1852 - Testing an Abstract Class with JUnit
* Fixed test method names and class names according to naming compliances.
* BAEL-1934 (#4768)
* Bean Object, server side and client side example for event streaming
example
* BAEL-1628
Access a File from the Classpath in a Spring Application
* inputstream retrieval added
* Removed files related to evaluation article
* + Aligning code to the article. Removed Utility methods and classes
* BAEL - 1628
* PMD fixes
* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful
* BAEL-1934
* +indentation correction in pom.xml
* synced with master
* indentation correction
* update to spring 5
* Bael 2018 (#4774)
* BAEL-2018
* Update Animal.java
* rename
* tests added
* generic type shorten
* update test
* BAEL-1911 - Fixing author's review comments (#4782)
* Strange git issue with README.MD, wouldn't revert the file
* Fixing review comments
* BAEL-1911 Refactored SQL code, fixed formatting
* fix swagger parent
* Update pom.xml
* Update pom.xml
* Overriding System time for testing (#4779)
* Overriding System time for testing
* Remove Joda Date Time examples
* BAEL-1728: add java instrumentation
* dupirefr/dupire.francois+pro@gmail.com [BAEL-1981] Spring data jpa dates (#4795)
* [BAEL-1981] Article entity and repository + tests
* [BAEL-1981] Removing unnecessary fields
* [BAEL-1981] spring-data-jpa module creation
* BAEL-1818 lamdba instead of loop; isEmpty() instead of == 0 (#4791)
* BAEL-2018 Moved to core-java-collections (#4796)
* BAEL-1691: comparing embedded servlet containers in spring boot
* vaadin spring
* format
* remove reactive ex
* move to reactive, extract mongodb ex
* PR for http://jira.baeldung.com/browse/BAEL-1947 Spring Boot Vue (#4687)
* commit first as binodpanta
* revert test change
* A short example of real-time event streaming using Spring WebFlux
* Code for http://jira.baeldung.com/browse/BAEL-1527
* remove unrelated files
* Apply feedback changes to rename test and remove link from readme file, ongoing work
* Update formatting fixes to code and add pom changes, that partially fix test runnning issues in IDE but not in cmdline
* Apply Eclipse formatter to test code and apply suggested pom fixes
* BAEL-1527 Formatting fix in pom.xml
* Use string.format to cleanup logging code
* BAEL-1527 Changed logging pattern
* Start the spring-boot-vue module, WIP
* some small updates with comments
* Add index html template page
* merge pom.xml fixes
* Add integration test with MockMvc to verify index.html content is rendered correctly
* fix up pom merge issues
* merge issues fix for pom
* pom end of file newline
* Update README.md
* Update README.md (#4706)
* add links (#4804)
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.MD
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* move mongodb ex
* fix readme files
* Bael 1832 (#4748)
* @Primary annotation
* @Primary annotation Employee name
* Update PrimaryApplication.java
* @Primary annotation with @Component
* add security exc
* added readme
* added link
* BAEL-2030 remove first element from list (#4803)
* BAEL-2042 JavaFaker unit tests
* Moved javafaker unit tests to testing-modules
* Update PushController.java
* * added examples of filtering collections using Streams, Apache CollectionUtils, Guava and Eclipse Collections
* * Added examples for java-9 filtering collector
* * minor fixes and cleaning duties
* add elements to list (#4814)
* BAEL-1960: Custom appender for log4j (#4731)
* BAEL-1960: Custom appender for log4j
* Changes as per suggestion to BAEL-1960
* Changes as [er review for BAEL-1960
* Changes for formatting as per suggestion.
* BAEL-1960. Copied pom.xml from master and pasted my changes against it.
* Chnages for spaces instead of tabs.
* Changes for spaces instead of tabs.
* PrincipalExtractor and AuthoritiesExtractor example
* Bael 1743 improved (#4826)
* compile only for firefox
* added parent module
* changed artifact id
* commenting out problematic modules in the integration-lite build
* integratio-lite profile work
* integration-lite work
* update spring data elasticsearch
* BAEL-1818 A Simple Guide to Connection Pooling in Java (#4823)
* Initial Commit
* Update parent pom.xml
* Update BasicConnectionPool class
* Update BasicConnectionPool class
* BAEL-1818 removed code from core-java module, cleaned up a little pom files
* BAEL-1818 moved the code from connectionpool.connectionpools package to connectionpool
* added link
* integration-lite trying out a few modules
* moved PrincipalExtractor and AuthoritiesExtractor example to spring-5-security module
* removed comment on pom
* [refs#BAEL-1992] Minor refactoring
* BAEL-1983 Intialize a HashMap in Java (#4819)
* move mqtt project
* added link
* Add items to list in core-java-collections (#4841)
* [BAEL-7608] - Fixed spring-5-reactive integration tests
* [BAEL-7608] - Reverted NettyContext to Embedded Tomcat example with Async = true
* [BAEL-7608] - Removed unused imports
* Update pom.xml
* [BAEL-7609] - Fixed spring-boot integration tests
* Added PR files for BAEL-2031 (#4844)
* Added source files for BAEL-2031
* Added test files for BAEL-2031
* upgrade sockets to spring5
* BAEL-1979 Added examples for SnakeYAML Library (#4802)
* BAEL-1979 Added examples for SnakeYAML Library
* BAEL-1979 Moved the snakeyaml related code to libraries module
* BAEL-1979 Removed the System.out.println() statements and converted the assertTrue to assertEquals wherever possible.
* BAEL-1979 Removed println statements, small formatting fix in pom.xml
* [BAEL-7608] - Fixed SecurityIntegrationTest with redirecting to login
* Bael 1555 - Improve Example (#4852)
* BAEL-1555
* Corrected indents and spacing
* RequestMapping to GetMapping
* Improved Performance For Concurrent Users
* BAEL-1958 Log using SLF4J (#4790)
* Log using SLF4J
Jira Ticket: BAEL-1958
* Incorporate first review comments
* Bael 2023 (#4851)
* bael-2023: removing all occurrences of a value from a list
* adjusting examples to match the article
* [BAEL-7437] - Added spring tx dependency to fix spring-mvc-simple junit 5 TCs
* add libraries server project
* remove extra files
* BAEL-1865 - Java Objects Sizes (#4584)
* BAEL-1865 - Java Objects Sizes
* BAEL-1865 - PR fix
* OAuth2 Principal and Authorities example - refactor and added example using custom authorization server
* Server-Sent Evensts
* BAEL-1936 Use of FilenameFilter (#4520)
* Added tests for FilenameFilter demo
-added a test to show FilenameFilter implementation
-added another test to show similar functionality using Predicate
* refactored code to get directory at a single location
* fixing formatting
* changed test class name to conform to custom rule
UnitTestNamingConventionRule lists the allowed test class names. Added ManualTest at the end to conform to the rule.
* add new module
* Update pom.xml (#4843)
* BAEL-1861 - Running JUnit tests from a Java application (#4526)
* BAEL-1562 - Thymeleaf sample working
* BAEL-1562 Code added for Fragments sample
* BAEL-1562 - Last correction for the test
* BAEL-1562 - Thymeleaf sample working
* BAEL-1562 Code added for Fragments sample
* BAEL-1562 - Last correction for the test
* Updates Thymeleaf version to 3.0.9.RELEASE
* Added msf4j projects
* updated msf4j project folder
* fixed issue with spring-thymeleaf/pom.xml
* Removed depedency-reduced-pom.xml
* Whitespacing fix
* Strange git issue with README.MD, wouldn't revert the file
* Added jupiter api
* Corrected junit test
* Added test engine to plugin
* Removed extra tag
* Little fixes to junit4 and junit4 run from java
* Removed scope from pom.xml
* Removed bin file from testing
* Slight changes for PMD
* Slight changes for PMD
* ok, moved code to another folder
* Renamed and fixed runjunitfromjava
* moved test classes to test folder
* moved main to src/java
* BAEL-1861 Moved test running classes to src/test/java
* Added changes to runjunitfromjava
* Added changes to runjunitfromjava
* BAEL-1861 Changed test execution code examples
* BAEL-1861 Changed test execution code examples; formatting
* Bael 1852 - Test case code is aligned to support Junit5 (#4847)
* add prototype bean ex with function
* remove extra classes
* remove extra import
* separate configs
* separate configs
* Update AppConfig.java
* Code update to support Junit5
* BAEL-1979 Added examples for SnakeYAML Library (#4802)
* BAEL-1979 Added examples for SnakeYAML Library
* BAEL-1979 Moved the snakeyaml related code to libraries module
* BAEL-1979 Removed the System.out.println() statements and converted the assertTrue to assertEquals wherever possible.
* BAEL-1979 Removed println statements, small formatting fix in pom.xml
* BAEL-1852 Renamed one test method, fixed formatting
* Bael 1273 Spring RSS Feed View (#4707)
* Added example for BAEL-1273 - rss feed with Spring.
* Fixed javadoc
* Removed useless SpringBootServletInitializer in RSS app's launcher
* Explicitely added Spring Boot starting class in pom.xml to prevent errors in package phase.
* Adding files for Exception Handling article (#4507)
* Adding files for Exception Handling article
* Updating files
* Test folder
* testing renaming
* Formatting and Naming Conventions
This commit reworks the code for the Intro to Exception Handling
article, ensuring that packages and classes are formatted and named
according to site standards.
* Update SseEmitterController.java (#4864)
* fixing package hierarchy (*.list.list.listoflist -> *.list.listoflist) (#4879)
* moved examples for 'removing all occurrences of an element from a list' to core-java-collections (#4878)
* BAEL-1958 Moved the example to logging-modules (#4886)
* Example for removing first element of array (BAEL-2029) (#4836)
* Example for removing first element of array (BAEL-2029)
* Use AssertJ assertions
* BAEL-1986 List initialization in one line (#4696)
* list initializations in one line
* Enhance after review
* formatting and naming
* Formatting and renaming 2
* Unit tests and DequeBasedSynchronizedStack added up
* Unit tests method names and class names modified as per the guidelines
* BAEL-1840 Builder Pattern in Kotlin (#4730)
* builder pattern in kotlin
* builder pattern in kotlin new-line
* deleted Sandbox, added unit test
* add other tests
* named and default parameters builder
* Make FoodOrderNamed a data class
* BAEL-1861 Replaced real tests with demo test "placeholders" (#4887)
* Spring Boot and Angular E-Commerce Application (#4874)
* Spring Boot and Angular E-Commerce Application
* Spring Boot and Angular E-Commerce Application pom.xml updated
* Spring Boot and Angular E-Commerce Application tests added
* BAEL-7965 JMH module fails when build (#4888)
* BAEL-7965 JMH module fails when build
-Added jmh module in default profile in parent pom
* Update pom.xml
moved jmh module to integration profile
* Create pom.xml
* Create FunctionTestSuite.java
BAEL-1857
* BAEL-1857 Running Parallel JUnit Tests with Maven
* BAEL-1901 and BAEL-1555 add links (#4892)
* BAEL-1766: Update README
* BAEL-1853: add link to article
* BAEL-1801: add link to article
* Added links back to articles
* Add links back to articles
* BAEL-1795: Update README
* BAEL-1901 and BAEL-1555 add links back to article
* [BAEL-1967] - Custom validation MessageSource in Spring Boot
* POM file updated for BAEL-1967
* BAEL-1704: Non-Trivial Work in Kotlin vs Java (#4861)
* BAEL-1704: Non-Trivial Work in Kotlin vs Java
* BAEL-1704: Non-Trivial Work in Kotlin vs Java
Renaming one test class
* Bael 1964 (#4881)
* Added initial code for BAEL-1964, in-memory authentication application
* Switched to default security encoder instead of a specific one
* Fix typo (#4897)
* add new module
* fix typo
* [BAEL-7670] Added logback.xml in missing modules in src/main/resources
2018-08-05 20:21:07 +05:30
|
|
|
|
- [Guide to the java.util.Arrays Class](http://www.baeldung.com/java-util-arrays)
|
|
|
|
|
|
- [Create a Custom Exception in Java](http://www.baeldung.com/java-new-custom-exception)
|
|
|
|
|
|
- [Guide to java.util.GregorianCalendar](http://www.baeldung.com/java-gregorian-calendar)
|
|
|
|
|
|
- [Java Global Exception Handler](http://www.baeldung.com/java-global-exception-handler)
|
|
|
|
|
|
- [Encrypting and Decrypting Files in Java](http://www.baeldung.com/java-cipher-input-output-stream)
|
|
|
|
|
|
- [How to Get the Size of an Object in Java](http://www.baeldung.com/java-size-of-object)
|
|
|
|
|
|
- [Exception Handling in Java](http://www.baeldung.com/java-exceptions)
|