Baeldung
Contents
November 2023
- How to Iterate Over the String Characters in Java
- @ConditionalOnThreading Annotation Spring
- Localized Validation Messages in REST
- What Is the .idea Directory?
- Get First Date of Current Month in Java
- Java Weekly, Issue 514
October 2023
- Implement Connect 4 Game with Java
- Overriding Cucumber Option Values
- Convert String Containing XML to org.w3c.dom.Document
- Convert an XML Object to a String in Java
- Introduction to LangChain
- How to Delete a Kubernetes Service
- Difference Between ZipFile and ZipInputStream in Java
- A Guide to Spring 6 JdbcClient API
- PrintWriter vs. FileWriter in Java
- Convert From List of CompletableFuture to CompletableFuture List
- Passing Strings by Reference in Java
- Check if a String Contains a Number Value in Java
- A Guide to RestClient in Spring Boot
- Capitalize the First Letter of Each Word in a String
- How to Create CSV File from POJO with Custom Column Headers and Positions
- Java Weekly, Issue 513
- How To Manage Timeout for CompletableFuture
- Retry Logic with CompletableFuture
- How to Set Up Environment Variables in IntelliJ IDEA
- Arrays mismatch() Method in Java
- Remove Elements From a Queue Using Loop
- HttpSecurity vs. WebSecurity in Spring Security
- Spring Boot 3.1’s ConnectionDetails Abstraction
- Taking Every N-th Element from Finite and Infinite Streams in Java
- How to Convert an Object to String
- How to Center Text Output in Java
- Why wait() Requires Synchronization?
- How to Mock Environment Variables in Unit Tests
- Wrapping a String After a Number of Characters Word-Wise
- How to Write Hashmap to CSV File
- Java Weekly, Issue 512
- Split Java String Into Key-Value Pairs
- Configuring the GlassFish Server in Eclipse
- Drawbacks of the Singleton Design Pattern
- How to Reuse Testcontainers in Java
- Using the Apache Commons Lang 3 for Comparing Objects in Java
- Using zipWhen() With Mono
- Difference Between putIfAbsent() and computeIfAbsent() in Java’s Map
- Validate Boolean Type in Spring Boot
- @FormDataParam vs. @FormParam in Jersey
- Joining a List<String> in Java With Commas and “and”
- Difference Between Information Hiding and Encapsulation
- Converting from float to BigDecimal in Java
- Convert a String with Unicode Encoding to a String of Letters
- Convert HashMap.toString() to HashMap in Java
- Get All Record Fields and Its Values via Reflection
- Is Java Reflection Bad Practice?
- Truncate a Double to Two Decimal Places in Java
- Deprecate Finalization in Java 18
- How To Convert Double To Float In Java
- Rotate Arrays in Java
- Java Weekly, Issue 511
- How to Remove Line Breaks From a File in Java
- Convert Char Array to Int Array in Java
- How to Subscribe a Kafka Consumer to Multiple Topics
- Partition a Stream in Java
- Finding the Square Root of a BigInteger in Java
- API Versioning in Micronaut
- Difference Between @Spy and @SpyBean
- SpringRunner vs. SpringBootTest
- How to Support UTF-8 Encoding in Eclipse
- Java Weekly, Issue 510
- Create an ArrayList with Multiple Object Types
- Check if a String is Strictly Alphanumeric With Java
- Unnamed Patterns and Variables in Java 21
- Trunk-Based Development
- Create a GraalVM Docker Image
- Unnamed Classes and Instance Main Methods in Java 21
- Testing Interface Contract in Java
- RSocket Interface in Spring 6
- Get File Extension From MIME Type in Java
- Skipping the First Iteration in Java
- How to Detect the Username Using Java
- Introduction to Apache Kafka
- Increment Character in Java
- Difference Between Arrays.sort() and Collections.sort()
- Converting HashMap Values to an ArrayList in Java
September 2023
- Java Weekly, Issue 509
- Check if a List Contains a String Element While Ignoring Case
- String Templates in Java 21
- Spring Boot Application on Liberica Runtime Container
- Code Snippets in Java API Documentation
- Overview of Mockito MockedConstruction
- How to Permanently Enable Line Numbers in IntelliJ IDEA?
- A Guide to Log4j and the log4j.properties File in Java
- Expand Columns with Apache POI
- CATALINA_OPTS vs. JAVA_OPTS in Apache Tomcat
- Log4j 2 Configuration Using a Properties File
- Value-Based Classes in Java
- Difference Between kubectl apply and kubectl create
- Difference Between permitAll() and anonymous() in Spring Security
- Merge Two Arrays and Remove Duplicates in Java
- How To Convert Excel Data Into List Of Java Objects
- Java Double vs. BigDecimal
- Double Precision Issue in Java
- Detect EOF in Java
- Creating Stream of Regex Matches
- Check if Letter Is Emoji With Java
- How to replace deprecated jdbcTemplate.queryForObject and jdbcTemplate.query in spring boot 2.4.X and above
- Java Weekly, Issue 508
- Securing Spring Boot 3 Applications With SSL Bundles
- Invoke Spring @Cacheable from Another Method of Same Bean
- Intro to Gradle Lint Plugin
- Sequenced Collections in Java 21
- Secure Kubernetes Secrets with Vault
- Add Minutes to a Time String in Java
- How to Get Index of an Item in Java Set
- Replacing Single Quote with \’ in Java String
- Assert Regex Matches in JUnit
- Query With IN Clause in Spring Data Cassandra
- Test Main Method with JUnit
- Difference Between Hashtable and ConcurrentHashMap in Java
- How to Mock Constructors for Unit Testing using Mockito
- Streams vs. Loops in Java
- Constructing Java Objects From Only the Class Name
- Differences Between Heap Dump, Thread Dump and Core Dump
- How to Split an Integer Number Into Digits in Java
- Java Weekly, Issue 507
- What Is a TLAB or Thread-Local Allocation Buffer in Java?
- When to Call System.out.flush() in Java?
- JSON File Data Into Kafka Topic
- Extract CN From X509 Certificate in Java
- Mock Same Method with Different Parameters
- Closing Java IO Streams
- Create List of Object From Another Type Using Java 8
- Java Weekly, Issue 506
- How to Use Conditional Mapping With MapStruct
- Find the Middle Element of an Array in Java
- Maven Multi-Module Project Coverage With Jacoco
- Detect Security Vulnerabilities with Snyk
- What Does “––>” Mean in Java?
- Set a Parameter in an HttpServletRequest in Java
- Stop Executing Further Code in Java
- Convert int to Long in Java
- Aggregate Runtime Exceptions in Java Streams
- Convert Between Java LocalDate and Epoch
- Understanding XSLT Processing in Java
- Java Interface Naming Conventions
- Clamp Function in Java
August 2023
- Java Weekly, Issue 505
- Reading JSON Documents as Maps and Comparing Them
- Format Multiple ‘or’ Conditions in an If Statement in Java
- Amazon SNS vs. Amazon SQS
- Cartesian Product of Any Number of Sets in Java
- Check if Certificate Is Self-Signed or CA-Signed With Java
- How to Fix “Error in Opening Zip File” When Running Maven
- Get a Random Element From a Set in Java
- Get the Indexes of Regex Pattern Matches in Java
- Built-in Testcontainers Support in Spring Boot
- Generate Models Using OpenAPI With Lombok Annotations
- Extract Text Between Square Brackets
- Java Weekly, Issue 504
- How To Rename Files and Folders in Amazon S3
- How to Check if a Value Exists in a JSON Array for a Particular Key
- Calculate Distance Between Two Coordinates in Java
- Programmatic Generation of JSON Schemas in Java
- Creating a Telegram Bot with Spring Boot
- Inner Classes vs. Subclasses in Java
- Update an Existing Amazon S3 Object Using Java
- Executing SQL Script File in Java
- Convert Epoch Time to LocalDate and LocalDateTime
- Get Values and Keys as ArrayList From a HashMap
- Calculating the Sum of Two Arrays in Java
- Get the First n Elements of a List Into an Array
- Understanding Git’s fork and clone Operations
- Sorting Java Map in Descending Order
- Convert an ArrayList of String to a String Array in Java
- Java Validation List Annotations
- bootstrap-server in Kafka Configuration
- Creating a Magic Square in Java
- Conversion From 12-Hour Time to 24-Hour Time in Java
- Java Weekly, Issue 503
- Array in Java
- How to Speed Up Maven Build
- HashMap with Multiple Values for the Same Key
- Why There Is No Sorted List in Java?
- Lock Header Rows With Apache POI
- Java Weekly, Issue 502
- What Does the Holder<T> Class Do in Java?
- Introduction to Avaje Inject
- Get a Continuous Stream of Logs for Pods in Kubernetes
- Guide to the yield Keyword in Java
- Understanding Kafka Topics and Partitions
- to HashSet in Java
- Converting Relative to Absolute Paths in Java
- Parameterized Logging With SLF4J
- Remove Duplicate Values From HashMap in Java
- Converting String or String Array to Map in Java
- How to Get First Item From a Java Set
- What’s the Difference Between Iterator and ListIterator?
- Convert JSON Array to Java List
- @JsonSubTypes vs. Reflections for Polymorphic Deserialization in Jackson
- Getting Started With Apache Pulsar and Spring Boot
- Scroll API in Spring Data JPA
- Java Weekly, Issue 501
- Understanding the java.net.SocketException Broken Pipe Error
- Custom DLL Load – Fixing the “java.lang.UnsatisfiedLinkError” Error
- Difference Between Future, CompletableFuture, and Rxjava’s Observable
- Guide to Java Jackson-jr Library
- How to Modify a Key in a HashMap?
- Pagination in Spring Webflux and Spring Data Reactive
- Escape HTML Symbols in Java
- Property-Based Testing with jqwik
- Fixing the MySQL Error “Specified key was too long”
- How to Get the Start and End Dates of a Year Using Java
July 2023
- JDBC vs. R2DBC vs. Spring JDBC vs. Spring Data JDBC
- A Guide to ShardingSphere
- Metadata GC Threshold in Java
- Java Weekly, Issue 500 🙂
- Remove Whitespaces From a JSON in Java
- Receiving PostreSQL Push Notifications with Spring Integration
- Stateless Object in Java
- Performance Comparison Between Different Java String Concatenation Methods
- Law of Demeter in Java
- Fail Maven Build if JUnit Coverage Falls Below Certain Threshold
- Check if a String Has All Unique Characters in Java
- Converting JsonNode Object to Map
- Difference between Gson @Expose and @SerializedName
- Difference Between Map.clear() and Instantiating a New Map
- Unit Testing of System.in With JUnit
- Consuming Page Entity Response From RestTemplate
- How to Get Notified When a Task Completes in Java Executors
- CompletableFuture allOf().join() vs. CompletableFuture.join()
- What Is the Maximum Depth of the Java Call Stack?
- Introduction to JeroMQ
- Java Weekly, Issue 499
- Convert One Enum to Another Enum in Java
- Gradle Toolchains Support for JVM Projects
- Getting Yesterday’s Date in Java
- Pretty-Print a JSON in Java
- New Features in Java 20
- Does Java Read Integers in Little Endian or Big Endian?
- Java Weekly, Issue 498
- How to Deep Copy an ArrayList in Java
- Accessing Session Attributes in Thymeleaf
- Introduction to Selenide
- Integer.class vs Integer.TYPE vs int.class
- Check if a String Contains Non-Alphanumeric Characters
- Documenting Spring Event-Driven API Using AsyncAPI and Springwolf
- Count the Number of Rows in Spring Data JPA
- Setup Http Patch Request With OpenFeign
- Convert Long to BigDecimal in Java
- Reading a JSP Variable From JavaScript
- Quick Guide to YugabyteDB
- How to Solve 403 Error in Spring Boot POST Request
- Difference Between @JoinColumn and @PrimaryKeyJoinColumn in JPA
- Split a String Into Digit and Non-Digit Substrings
- CompletableFuture and ThreadPool in Java
- How to Read Zip Files Entries With Java
- Parallelize for Loop in Java
- Java Weekly, Issue 497
- Swagger @Parameter vs @Schema
- Check if a File Is Empty in Java
June 2023
- How to Convert application.properties to application.yml for Spring Boot
- Smart Batching in Java
- Java Weekly, Issue 496
- Lombok’s @RequiredArgsConstructor Annotation
- JAXP vs JAXB: XML Processing APIs Compared
- MongoDB – Field Level Encryption
- Removing JSON Elements With Jackson
- Starting the Maven Build From the Point Where It Failed
- How to Get Last Day of a Month in Java
- Extracting a Tar File in Java
- Difference Between Instant and LocalDateTime
- Adding One Month to Current Date in Java
- The Vector API in Java 19
- Java Weekly, Issue 495
- Difference Between Boolean.TRUE and true in Java
- Setting Default Values to Null Fields in Jackson Mapping
- Get Partition Count for a Topic in Kafka
- Difference Between findBy and findOneBy in Spring Data JPA
- Convert Java Array to Iterable
- Hex Representation of a SHA-1 Digest of a String in Java
- Need for Default Constructor in JPA Entities
- Throw Exception for Unexpected Input for Enum With MapStruct
- Read Date in Java Using Scanner
- Convert a List of Strings to a List of Integers
- Listing All AWS S3 Objects in a Bucket Using Java
- Matching Null With Mockito
- Asserting Equality on Two Classes Without an equals() Method
- Converting a Java List to a Json Array
- Java Weekly, Issue 494
- What Is Elasticsearch?
- Resolving Mockito Exception: Wanted But Not Invoked
- Check if a String Is All Uppercase or Lowercase in Java
- Cognitive Complexity and Its Effect on the Code
- Java IllegalStateException: “getInputStream() has already been called for this request”
- Add a Checked Attribute to Input Conditionally in Thymeleaf
- Sort Date Strings in Java
- Lossy and Lossless Image Compression Using Java
- @JsonMerge Annotation in Jackson
- Mock a URL Connection in Java
- How Many Days Are There in a Particular Month of a Given Year?
- Run JMeter .jmx File From the Command Line and Configure the Report File
- Generating WSDL Stubs With Gradle
- Combining Two or More Byte Arrays
- Java Weekly, Issue 493
- Converting Object To Map in Java
- Using PostgreSQL as a Message Broker
- Difference Between get() and navigate() in Selenium WebDriver
- Why Is Field Injection Not Recommended?
- Get Unique Values From an ArrayList in Java
- Returning a Value After Finishing Thread’s Job in Java
- Converting Map<String, Object> to Map<String, String> in Java
- Mocking Private Fields With Mockito
- How to Display a Full HTTP Response Body With Gatling
- Java Weekly, Issue 492
- Replacing Variables in a Document Template with Java
- Understanding JPA/Hibernate Associations
May 2023
- Gray Box Testing Using the OAT Technique
- Spring Boot Properties Prefix Must Be in Canonical Form
- Read Data From the Beginning Using Kafka Consumer API
- Is a Key Required as Part of Sending Messages to Kafka?
- Disable Wildcard Import in IntelliJ
- Java Serialization: readObject() vs. readResolve()
- Fix “Command Line is Too Long” in IntelliJ
- The Difference Between findById and getById in Spring Data
- Set Default Value for Elements in List
- Configuring Gradle Tasks in Spring Boot 3
- Handle NoSuchElementException When Reading a File Through Scanner
- Converting JSON to XML in Java
- Introduction to MinIO
- Convert Hashmap to JSON Object in Java
- Correct Use of flush() in JPA
- Securing Spring Boot API With API Key and Secret
- Array vs. List Performance in Java
- What’s the Difference between Scanner next() and nextLine() Methods?
- Solving Gson Parsing Errors
- Java Weekly, Issue 491
- Check if a List Contains an Element From Another List in Java
- Spring Boot Actuator Without Spring Boot
- Encoding Special Characters in XML
- Generating Javadoc With Gradle
- Write Console Output to Text File in Java
- How to Take Input as String With Spaces in Java Using Scanner?
- Different Dependency Version Declarations in Gradle
- How to View Logs of a Pod in Kubernetes?
- Convert String to Int Using Encapsulation
- Converting List to Page Using Spring Data JPA
- Object.toString() vs String.valueOf()
- Execute a Method Only Once in Java
- Classpath vs. Modulepath in Java
- Custom WebFlux Exceptions in Spring Boot 3
- Working With Empty Stream in Java
- Creating Custom Iterator in Java
- Converting a cURL Into Postman and Vice Versa
- Java Weekly, Issue 490
- Get Last N Messages in Apache Kafka Topic
- Hibernate Natural IDs in Spring Boot
- Shared Secret Authentication in Spring Boot Application
- Send MultipartFile Request With RestAssured
- Hashing With Argon2 in Java
- Java PrintStream to String
- Opening a New Tab Using Selenium WebDriver in Java
- Should We Create an Interface for Only One Implementation?
- Regular Expression: \z vs \Z Anchors in Java
- Difference Between implementation and compile in Gradle
- ArrayBlockingQueue vs. LinkedBlockingQueue
- Convert an OutputStream to an InputStream
- Difference Between null and Empty String in Java
- Gradle Guide
- Java Weekly, Issue 489
- Storing Java Scanner Input in an Array
- Java: Read Multiple Inputs on Same Line
- Converting an AAR File to a JAR File
- Intercept SQL Logging with P6Spy
- Find the Longest Word in a Given String in Java
- Overriding hashCode() And equals() For Records
- Difference Between FileReader and BufferedReader in Java
- Lombok EqualsAndHashCode Annotation
- Uploading File Using Selenium Webdriver in Java
- Comparing Two Byte Arrays in Java
- Spring Boot H2 JdbcSQLSyntaxErrorException expected “identifier”
- Generate UUIDs as Primary Keys With Hibernate
- Why an HTTP Get Request Shouldn’t Have a Body
- Add Custom Headers to a Kafka Message
- Remove Punctuation From a String in Java
- Self-Injection With Spring
- Encode Passwords With Spring Boot CLI
- Is CompletableFuture Non-blocking?
- Scoped Values in Java 20
- Print “” Quotes Around a String in Java
- Java Weekly, Issue 488
- Find the Index of an Element in a Java Array
- How to Persist a List of String in JPA?
- Getting Pixel Array From Image in Java
- Retrieve the Value of an HTML Input in Selenium WebDriver
- Boolean Converters in Hibernate 6
- Introduction to Spring Modulith
April 2023
- Difference Between Java’s “char” and “String”
- Check if the First Letter of a String Is a Number
- Working with Virtual Threads in Spring 6
- Create and Detect Memory Leaks in Java
- Java Weekly, Issue 487
- Analyze, Generate and Transform Code Using Spoon in Java
- Using OpenAI ChatGPT APIs in Spring Boot
- Best Practices for Passing Many Arguments to a Method in Java
- StaleElementReferenceException in Selenium
- JAVA_HOME vs PATH Environment Variables
- Creating a Test Suite With JUnit
- Custom Protocol Mapper with Keycloak
- A Guide to FlexyPool
- URL Query Manipulation in Java
- Difference Between th:text and th:value in Thymeleaf
- Automatically Create Schemas for H2 In-Memory Database
- Find the Most Frequent Characters in a String
- Getting the Text That Follows After the Regex Match in Java
- Overview of NLP Libraries in Java
- Cancel an Ongoing Flux in Spring WebFlux
- Guide to Swagger Parser
- Integer.parseInt(scanner.nextLine()) and scanner.nextInt() in Java
- @StandardException Annotation in Lombok
- Functional vs. Non-Functional Testing
- Execute Tests Based on Active Profile With JUnit 5
- External Debugging With JMXTerm
- Java Weekly, Issue 486
- Fix the JsonMappingException: Can not deserialize instance of java.util.ArrayList from Object value (token
- Configuring Protobuf Compilation with Custom Source Directories
- Shards and Replicas in Elasticsearch
- Java Modularity and Unit Testing
- Fix Spring Data JPA Exception: No Property Found for Type
- Buffer Overflows in Java
- Check if a Specified Key Exists in a Given S3 Bucket Using Java
- Get All Cached Keys with Caffeine Cache in Spring Boot
- Generating Time Based UUIDs
- Parsing Date Strings with Varying Formats
- Loading Multiple YAML Configuration Files in Spring Boot
- Possible Root Causes for High CPU Usage in Java
- Convert Integer to Hexadecimal in Java
- Reuse StringBuilder for Efficiency
- Understanding Java’s Classpath vs. Build Path
- Java Weekly, Issue 485
- Implicit Wait vs Explicit Wait in Selenium Webdriver
- Resilience4j Events Endpoints
- Use Mapper in Another Mapper with Mapstruct and Java
- Integrate AWS Secrets Manager in Spring Boot
- A Guide to @Timeout Annotation in JUnit 5
- Deserialize Generic Type with Jackson
- URL Matching in Spring Boot 3
- Differences Between Classpath and Sourcepath
- Java Helper vs. Utility Classes
- Hibernate @CreationTimestamp and @UpdateTimestamp
- Java Program to Estimate Pi
- Unidirectional One-to-Many and Cascading Delete in JPA
- A Guide to Spring Cloud Azure Key Vault
- Java Weekly, Issue 484
- Generate the Same UUID From a String in Java
- Search Users With Keycloak in Java
- Convert Boolean to String in Java
March 2023
- Retrying Requests using Apache HttpClient
- The Difference Between junit-vintage-engine and junit-jupiter-engine
- OffsetDateTime Serialization With Jackson
- Java Weekly, Issue 483
- Databases: Simple vs. Complex vs. Materialized Views
- Difference Between parallelStream() and stream().parallel() in Java
- How to Determine Date of the First Day of the Week Using LocalDate in Java
- Difference Between asText() and toString() in JsonNode
- Remove Entity with Many-to-Many Relationship in JPA
- SAML with Spring Boot and Spring Security
- Java Weekly, Issue 482
- Run a Spring Boot Application in AWS Lambda
- Find the N Most Frequent Elements in a Java Array
- Spring R2DBC Migrations Using Flyway
- Introduction to QuestDB
- Convert a Number to a Letter in Java
- Spring Kafka: Configure Multiple Listeners on Same Topic
- Using Java Records with JPA
- Change Swagger-UI URL prefix
- Load Testing Rest Endpoint Using Gatling
- JetBrains @Contract Annotation
- Difference Between Fluent Interface and Builder Pattern in Java
- Java Weekly, Issue 481
- Configuring Spring Cloud FeignClient URL
- UUID vs. Sequential ID as Primary Key
- How to configure Redis TTL with Spring Data Redis?
- Difference Between Javac and the Eclipse Compiler
- New CRUD Repository Interfaces in Spring Data 3
- Testing Spring OAuth2 Access-Control
- Add Field to an Existing MongoDB Bson Filter in Java
- TRUNCATE TABLE in Spring Data JPA
- Get the Desktop Path in Java
- Can Stream.collect() Return the null Value?
- Moving Items Around in an Arraylist
- API First Development with Spring Boot and OpenAPI 3.0
- Maven Reactor
- Handle Duplicate Keys When Producing Map Using Java Stream
- Java Weekly, Issue 480
- Anemic vs. Rich Domain Objects
- Custom Constructor in Java Records
- Introduction to Interface Driven Development (IDD)
- Pipeline Design Pattern in Java
- Implementing toString() on enums in Java
- Different Ways to Create an Object in Java
- Post form-url-encoded Data with Spring Cloud Feign
- Authenticating Users with AzureAD in Spring Boot
- Migrate Application From Spring Boot 2 to Spring Boot 3
- Managing Multiple JDK Installations With jEnv
- Java Weekly, Issue 479
- Debugging Spring Method Annotations Using Lightrun
- Guide to Java Project Panama
February 2023
- Guide to Sending Post Request via cURL With Data From a File
- Exclude a Dependency in a Maven Plugin
- Pitfalls on Testing with Spring Boot
- Download a Webpage in Java
- How to Post Raw Body Data With cURL
- Copying All Keys and Values From One Hashmap Onto Another Without Replacing Existing Keys and Values
- Java Weekly, Issue 478
- Finding All Duplicates in a List in Java
- Map Date Types With OpenAPI Generator
- Introduction to Roaring Bitmap
- Database Keywords as Columns in Hibernate Entities
- Cassandra – Object Mapping with DataStax Java Driver
- VarArgs vs Array Input Parameters in Java
- Migrate From Java 8 to Java 17
- Getting Started With RethinkDB
- Looking for a Backend Java/Spring Team Lead with Integration Experience (Remote) (Part Time)
- Combining Two Lists Into a Map in Java
- Mapping an Array of Integers to Strings Using Java Streams
- Thread.sleep() vs Awaitility.await()
- javax vs. java Package
- Accessing Private Constructor in Java
- Difference Between exchange(), postForEntity(), and execute() in RestTemplate
- Difference Between Class.forName() and Class.forName().newInstance()
- Spring Data Repositories – Collections vs. Stream
- Singleton Design Pattern vs Singleton Beans in Spring Boot
- Check if Object Is an Array in Java
- Guide to Quarkus Funqy
- Java HttpClient Connection Management
- Java Weekly, Issue 477
- Jakarta EE 10
- Record vs. Final Class in Java
- JUnit 5 @Nested Test Classes
- Find the First Embedded Occurrence of an Integer in a Java String
- Convert Hex to RGB Using Java
- Fix EmptyResultDataAccessException When Using JdbcTemplate
- Create Dynamic Queues in RabbitMQ
- Difference Between findBy and findAllBy in Spring Data JPA
- Java Weekly, Issue 476
- Getting the Current ApplicationContext in Spring
- Callback Functions in Java
- Understanding the Difference Between Stream.of() and IntStream.range()
- OpenTelemetry Setup in Spring Boot Application
- Validating IPv4 Address in Java
- Java Team Lead with Spring Experience (Remote) (Part Time)
- Using and Testing Axon Applications via REST
- Guide to HTTPie for Terminal
- How Do I Generate a Dashboard Report in JMeter?
- Single Assert Call for Multiple Properties in Java Unit Testing
- Reading PDF File Using Java
- Java Weekly, Issue 475
- Return Absolute Difference of Two Integers in Java
- Initialize an ArrayList with Zeroes or Null in Java
- Memory Types in JVM
January 2023
- Determine if a Class Implements an Interface in Java
- Stream to Iterable in Java
- Generate Unit Test Data in Java Using Instancio
- Check if an Integer Value Is Null or Zero in Java
- HTTP Interface in Spring 6
- Spring Boot Logback and Log4j2 Extensions
- Comparing a String to an Enum Value in Java
- Java HttpClient – Map JSON Response to Java Class
- Structured Concurrency in Java 19
- Java Weekly, Issue 474
- Ahead of Time Optimizations in Spring 6
- Introduction to ScyllaDB with Java
- Multiply a BigDecimal by an Integer in Java
- Java List Interface
- Check if Command-Line Arguments Are Null in Java
- to MultipartFile in Java
- Fix the IllegalArgumentException: No enum const class
- Converting a Number from One Base to Another in Java
- The JVM Run-Time Data Areas
- Extracting a Custom Header From the Request
- Differences Between Spring Data JPA findFirst() and findTop()
- Convert an ArrayList of Object to an ArrayList of String Elements
- Check If All the Variables of an Object Are Null
- Compiling and Executing Code From a String in Java
- Batch Processing of Stream Data in Java
- Lambda Expression vs. Anonymous Inner Class
- Storing Data Triple in a List in Java
- Java Weekly, Issue 473
- Monads in Java – Optional
- Spring MVC – Mapping the Root URL to a Page
- Case-Insensitive Searching in ArrayList
- Java Weekly, Issue 472
- @JsonIgnore vs @Transient
- Implementing Retry in Kafka Consumer
- Class Methods vs Instance Methods in Java
- RESTful Microservices With RestExpress
- Lightweight Logging With tinylog 2
- Flyway Out of Order Migrations
- Record Patterns in Java 19
- Encoding of URI Variables on RestTemplate
- Getting Class Type From a String in Java
- Difference Between JPA and Spring Data JPA
- Java Weekly, Issue 471
- PrintStream vs PrintWriter in Java
- Working With Multiple Repositories in Gradle
- Converting a String Array Into an int Array in Java
December 2022
- Comparing Two JAR Files in Java
- NonUniqueResultException in Spring Data JPA
- Common Exceptions of Crypto APIs in Java
- Observability with Spring Boot 3
- Extracting JAR to a Specified Directory
- Using Watermarks with iText in Java
- Java Weekly, Issue 470
- Convert a List of Integers to a List of Strings
- Java Weekly, Issue 469
- Check JWT Expiry Without Throwing Exceptions
- Getting a Value in JSONObject
- Reading and Writing With a ConcurrentHashMap
- When to Use Callable and Supplier in Java
- Guide to Splitting a String by Whitespace in Java
- Fixing the No Main Manifest Attribute in Spring Boot
- Sorting a HashSet in Java
- Extract Values using AssertJ in Java
- to File With WebClient
- Java Weekly, Issue 468
- Convert Between int and char in Java
- Java Program to Print Pascal’s Triangle
- Alternatives for instanceof Operator in Java
- Running Multiple Thread Groups in JMeter
- Form Login and Basic Authentication in springdoc-openapi
- Convert Anonymous Class into Lambda in Java
- Type Parameter vs Wildcard in Java Generics
- Reversing a Stack in Java
- Set the Date Format Using Apache POI
- Managing JWT With Auth0 java-jwt
- RxJava Single.just() vs Single.fromCallable()
- Functors in Java
- Handle Browser Tabs With Selenium
- Getting Started with Blaze Persistence
- Rate Limiting With Client IP in Spring Cloud Gateway
- Java Weekly, Issue 467
- A Guide to Spring CredHub
- Java Generics PECS – Producer Extends Consumer Super
- Guide to Java PriorityQueue
- Reinitialize Singleton Bean in Spring Context
- Running Spring Boot Applications with the Embedded Camunda Engine
- REST vs. GraphQL vs. gRPC – Which API to Choose?
- Errors and Exceptions in Java
- Java Weekly, Issue 466
November 2022
- Using Firebase Cloud Messaging in Spring Boot Applications
- String Interpolation in Java
- MongoDB vs. Couchbase
- Difference Between Map.ofEntries() and Map.of()
- Spring Boot FeignClient vs. WebClient
- Choosing the Right Java Collection
- Overriding the Values of Remote Properties in Spring Cloud Config
- How to Serialize a Singleton in Java
- Persisting the Query Model
- Enum Mapping in Spring Boot
- Convert Between LocalDateTime and ZonedDateTime
- Uses for Optional in Java
- Strong, Weak, Soft, and Phantom References in Java
- Find the First Non Repeating Character in a String in Java
- Jackson’s Deserialization With Lombok
- Working with Tabular Data Using Tablesaw
- Java Weekly, Issue 465
- Calling JMX MBean Method From a Shell Script
- BuildScripts Blocks in Gradle
- Java Course Team Lead with Spring Experience (Remote) (Part Time) (not open)
- Object Validation After Deserialization
- Expression Types in Thymeleaf
- Access HTTPS REST Service Using Spring RestTemplate
- Get Information About a PDF in Java
- Sort Collection of Objects by Multiple Fields in Java
- Java Weekly, Issue 464
- Enable and Disable Endpoints at Runtime With Spring Boot
- Retry with Delay in RxJava
- Kafka’s Shift from ZooKeeper to Kraft
- Iterate Through Two ArrayLists Simultaneously
- Inserting an Object in an ArrayList at a Specific Position
- The Factory Design Pattern in Java
- Thread vs. Single Thread Executor Service
- Spring @EnableMethodSecurity Annotation
- Filling a List With All Enum Values in Java
- SpringRunner vs MockitoJUnitRunner
- Retain Only Digits and Decimal Separator in String
- Kong Ingress Controller with Spring Boot
- Finding Max Date in List Using Streams
- Java Weekly, Issue 463
- Fixing Selenium WebDriver Executable Path Error
- Apache Camel Exception Handling
- Generate Unique ObjectId in MongoDB
- Convert java.util.Date to java.sql.Date
- Mocking a Singleton With Mockito
- Guide to Filters in MongoDB
- JUnit – Testing Methods That Call System.exit()
- Can a Java Application Use More Memory Than the Heap Size?
- How to Insert a HashMap Into MongoDB With Java?
- How to Check if All Runnables Are Done
- Convert String to Instant
- Slicing Arrays in Java
- Difference Between Map and MultivaluedMap in Java
- Java Program to Calculate the Standard Deviation
- Java Weekly, Issue 462
- A Guide to LinkedHashSet in Java
October 2022
- Using Groovy in Spring
- assertAll() vs Multiple Assertions in JUnit5
- Difference Between URI.create() and new URI()
- Java Weekly, Issue 461
- Gravity/Bead Sort in Java
- Log Properties in a Spring Boot Application
- Limiting the Requests per Second With WebClient
- Fixing the “java: integer number too large” Error
- How to Access the First Element of a Flux
- Convert String to String Array
- Message Delivery Semantics in Streaming Platforms
- TLS Setup in MySQL and Spring Boot Application
- Implementing Factory Pattern With Generics in Java
- Convert String to char in Java
- Guide to Simple Binary Encoding
- Java Weekly, Issue 460
- How to Log to the Console in Color
- Capitalize the First Letter of a String in Java
- Coupling in Java
- Understanding java.lang.Thread.State: WAITING (parking)
- Introduction to Datafaker
- Kotlin/Spring Developer to help with brainstorming topics for a site (Remote) (Part Time)
- How to Resolve Spring Webflux DataBufferLimitException
- Uploading a File and JSON Data in Postman
- Channels and Connections in RabbitMQ
- Guide to Resilience4j With Spring Boot
- Mocking Java InputStream Object
- Java Weekly, Issue 459
- Editing Existing PDF Files in Java
- Send Array as Part of x-www-form-urlencoded Using Postman
- Validating URL in Java
- Difference Between Java Enumeration and Iterator
- Setting Time-To-Live Value for Caching
- Java Literals
- Infinity in Java
- Variable Instantiation on Declaration vs. on Constructor in Java
- Port Scanning With Java
- Using Streams to Collect Into a TreeSet
- Comparison Between Mono’s doOnNext() and doOnSuccess()
- Redis Sentinel vs Clustering
- Dealing with “java.lang.OutOfMemoryError: PermGen space” Error
- Java Weekly, Issue 458
- Patterns for Iterating Over Large Result Sets With Spring Data JPA
- Difference Between Flux and Mono
- Using HAProxy as an API Gateway for Routing and Rate Limiting
- Initializing a Boolean Array in Java
- Writing a List of Strings Into a Text File
- JMeter: Latency vs. Load Time
- Insert Array Inside an Object in MongoDB
- A Guide to Variables in Postman
- Set vs List in Java
September 2022
- Getting a URL Attribute Value in Thymeleaf
- Convert a List to a Comma-Separated String
- Java Weekly, Issue 457
- SEDA With Spring Integration and Apache Camel
- Validate UUID String in Java
- Differences Between Paths.get and Path.of
- Java Scanner Taking a Character Input
- Guide to the Storage Engine in Apache Cassandra
- Guide to MicroStream
- Java Weekly, Issue 456
- Create a BMI Calculator in Java
- String Concatenation in Java
- Map a JSON POST to Multiple Spring MVC Parameters
- TriFunction Interface in Java
- Getting the Filename From a String Containing an Absolute File Path
- Creating Random Numbers With No Duplicates in Java
- Create Date From Unix Timestamp in Java
- The Problem With ‘src refspec does not match any’
- Difference Between Class.getResource() and ClassLoader.getResource()
- Fixed Size Queue Implementations in Java
- What Is the null Type in Java?
- Java Weekly, Issue 455
- Constructing a Relative Path From Two Absolute Paths in Java
- Basic Authentication With Postman
- Convert between JSON and Protobuf
- Diving Deeper with Lightrun
- Java Weekly, Issue 454
- Guide to Find the Java .class Version
- Static Fields and Garbage Collection
- Dispatching Queries in Axon Framework
- Generate the MD5 Checksum for a File in Java
- Java Program to Find the Roots of a Quadratic Equation
- Handle Classes With the Same Name in Java
- How to Change Directory in Docker
- Connect to Multiple Databases Using Spring Data MongoDB
- Java Weekly, Issue 453
- Apache Camel Conditional Routing
August 2022
- Using Local Docker Images With Minikube
- Make Division of Two Integers Result in a Float
- Rebuild Docker Container in Docker Compose
- Compare Characters in Java
- How to Fix Git “Refusing to Merge Unrelated Histories”
- Remove the Last Character of a Java StringBuilder
- List All Factors of a Number in Java
- Feign Client Exception Handling
- Java Weekly, Issue 452
- How to Parse an INI File in Java
- Armstrong Numbers in Java
- Multitenancy With Spring Data JPA
- Algorithm to Identify and Validate a Credit Card Number
- Swagger: Specify Two Responses with the Same Response Code
- Difference Between Arrays.asList() and List.of()
- What Is “Locked Ownable Synchronizers” in Thread Dump?
- PKCE Support for Secret Clients with Spring Security
- Building IoT Applications Using Fauna and Spring
- Spring JDBC Batch Inserts
- Toggle a Boolean Variable in Java
- Define an Array of Varying Types in OpenAPI
- Check if a Number Is Positive or Negative in Java
- Debugging an Application Running in Docker With IntelliJ IDEA
- Reading JSON From a URL in Java
- @Operation vs @ApiResponse in Swagger
- Java Weekly, Issue 451
- Guide to Check if Apache Kafka Server Is Running
- Permutations of a String in Java
- Integer.toString() vs String.valueOf() in Java
- What Causes “Lock wait timeout exceeded” Error in MySQL?
- Log4j2 – Logging to Both File and Console
- Java 8 Streams: Multiple Filters vs. Complex Condition
- Propagating Exceptions With OpenFeign and Spring
- Sending SOAP Request via Postman
- Named Placeholders in String Formatting
- Spring Data MongoDB – Configure Connection
- How To Find Maven Dependencies
- Java Weekly, Issue 450
- How to Configure Conditional Dependencies in Gradle
- Get the Number of Messages in an Apache Kafka Topic
- Replace Element at a Specific Index in a Java ArrayList
- Display Logged-in User’s Information in Thymeleaf
- Guide to Undo a git rebase
- Dockerizing a Java Application
- Java Weekly, Issue 449
- Upload Image With Spring Boot and Thymeleaf
- Arrays.asList() vs Collections.singletonList()
- How to Check Whether an Integer Exists in a Range with Java
- Get the Current Stack Trace in Java
- Spring Boot 3 and Spring Framework 6.0 – What’s New
- Volatile vs. Atomic Variables in Java
- Import Swagger APIs into Postman
- Using Environment Variables in Spring Boot’s Properties Files
- Scanning Java Annotations at Runtime
July 2022
- Spring Security: Upgrading the Deprecated WebSecurityConfigurerAdapter
- Implementing a Map with Multiple Keys in Java
- Static vs. Instance Initializer Block in Java
- Filter Java Stream to 1 and Only 1 Element
- Java Weekly, Issue 448
- Find the Differences Between Two Git Branches
- Testing Spring JMS
- Reading Flux Into a Single InputStream Using Spring Reactive WebClient
- Maven Snapshot Repository vs Release Repository
- Apply Default Global SecurityScheme in springdoc-openapi
- Why Maven Doesn’t Find JUnit Tests to Run
- Java Weekly, Issue 447
- Remove Whitespace From a String in Java
- A Guide to Java Source and Target Options
- Count Documents Using Spring Data MongoDB Repository
- Using @NotNull on a Method Parameter
- Query Documents using Document ID in MongoDB
- Modify a Specified Commit in Git
- Spring Data Rest – Serializing the Entity ID
- Validate an XML File Against an XSD File
- Spring Boot – Keycloak Integration Testing with Testcontainers
- Java Weekly, Issue 446
- Spring Boot – Testing Redis With Testcontainers
- How to Truncate a String in Java
- Advantages and Disadvantages of Using Java Wildcard Imports
- Get the Full Path of a JAR File From a Class
- Clearing a StringBuilder or StringBuffer
- Guide to Creating Jar Executables and Windows Executables from Java
- Java 14 Record vs. Lombok
- Difference Between WAR and EAR Files
- Using Dates in CRUD Operations in MongoDB
- Instantiating Multiple Beans of the Same Class with Spring Annotations
- Java Weekly, Issue 445
- Use Cases for Static Methods in Java
- UUID as Entity ID in MongoDB
- Difference Between form-data, x-www-form-urlencoded and raw in Postman
June 2022
- How to Split a Stream into Multiple Streams
- How to Convert InputStream to Base64 String
- Java Weekly, Issue 444
- Processing the Response Body in Spring Cloud Gateway
- Unique Field in MongoDB Document in Spring Data
- Guide to Find in MongoDB
- Hibernate’s “Detached Entity Passed to Persist” Error
- Check if a Number Is Odd or Even in Java
- JavaScript Function Call with Thymeleaf
- Java Weekly, Issue 443
- Creating JAR Files Programmatically
- How to Modify Git Commit Messages
- Difference Between Flux.create and Flux.generate
- Handle Spring Security Exceptions With @ExceptionHandler
- MongoDB Composite Key With Spring Data
- What Are the Spring Boot Default Memory Settings?
- A Guide to Docker Private Registry
- Spring Data JPA – Run an App Without a Database
- Java Weekly, Issue 442
- Is There a Destructor in Java?
- How to Calculate “Time Ago” in Java
- Difference Between Java SE/EE/ME
- A Guide to Maven Encoding
- Difference Between parseInt() and valueOf() in Java
- Unit Test Private Methods in Java
- Check if at Least Two Out of Three Booleans Are True in Java
- Java Weekly, Issue 441
- Introduction to Lightrun with Java
- Custom HTTP Header With the Java HttpClient
- Adding Parameters to Java HttpClient Requests
- Disabling Keycloak Security in Spring Boot
- Configure JWT Authentication for OpenAPI
- Sending CSRF Token From Postman REST Client
- How to Mock HttpServletRequest
- Check if BigDecimal Value Is Zero
- Java “int/char Cannot Be Dereferenced” Error
- Tomcat Warning “To Prevent a Memory Leak, the JDBC Driver Has Been Forcibly Unregistered”
- Expose GraphQL Field with Different Name
- Java Weekly, Issue 440
- Sort a List Alphabetically in Java
- Reverse an ArrayList in Java
- Load Testing Using Postman
May 2022
- Sorting Objects in a List by Date
- @RequestMapping Value in Properties File
- Difference Between Thread’s Context Class Loader and Normal Class Loader
- Introduction to Spring Cloud Sidecar
- Spring Web Service Integration Tests with @WebServiceServerTest
- How to Play Sound With Java
- Setting Request Headers Using Feign
- Java Weekly, Issue 439
- Java HttpClient Timeout
- Remove File From Git Repository Without Deleting It Locally
- Difference Between git merge and rebase
- RequestLine with Feign Client
- Using Transactions for Read-Only Operations
- Check if a Character Is a Vowel in Java
- Get Domain Name From Given URL in Java
- Constraint Composition with Bean Validation
- What Is the JDK com.sun.proxy.$Proxy Class?
- Configure MongoDB Collection Name for a Class in Spring Data
- Get Keycloak User ID in Spring
- Java Weekly, Issue 438
- Find Files That Match Wildcard Strings in Java
- Apache ActiveMQ vs. Kafka
- Joining Tables With Spring Data JPA Specifications
- How to Get the Current Branch Name in Git
- Java Scanner useDelimiter with Examples
- Converting a JDBC ResultSet to JSON in Java
- Building Native Images With Spring Native and Liberica Tools With a Speed Comparison
- Reverse a Number in Java
- Delete a Git Branch Locally and Remotely
- Posting with Java HttpClient
- Move Existing, Uncommitted Work to a New Branch in Git
- Starting Spring Boot Application in Docker With Profile
- Java Weekly, Issue 437
- Differences Between Iterator and Iterable and How to Use Them?
- Java HttpClient With SSL
- JPA and Hibernate – Criteria vs. JPQL vs. HQL Query
- Differences Between set() and lazySet() in Java Atomic Variables
- Add Header to Every Request in Postman
- Spring Security Authorization with OPA
- Java Weekly, Issue 436
- Swap Two Variables in Java
- Difference Between == and equals() in Java
- Compile Multiple Java Source Files Using the Command Line
- Spark DataFrame
- Finding All Beans with a Custom Annotation
- Get the ASCII Value of a Character in Java
- Error Handling in GraphQL With Spring Boot
- Check Whether a String Is Valid JSON in Java
- Serialize a Lambda in Java
April 2022
- Java Scanner.skip method with examples
- Docker Error: “Can’t Connect to Local MySQL Server Through Socket”
- Java Weekly, Issue 435
- How to Disable a Maven Plugin Defined in a Parent POM
- Generate a Random Value From an Enum
- Gradle Build Cache Basics
- Illegal Character Compilation Error
- Looking for a Backend Java/Spring Developer with Integration Experience (Remote) (Part Time) not open
- Spring Tutorial
- Get the IP Address of the Current Machine Using Java
- Handle Spring Security Exceptions
- Working With a List of Lists in Java
- Exception Handling With Jersey
- Return Map from GraphQL
- Java Weekly, Issue 434
- How to Store HashMap<String, ArrayList> Inside a List
- Creating a Java Array from Regular Expression Matches
- Checking Connection to MongoDB
- Java HttpClient Basic Authentication
- Deduction-Based Polymorphism in Jackson 2.12
- Hibernate’s “Not-Null Property References a Null or Transient Value” Error
- Spring Boot Configuration Properties Migrator
- List vs. ArrayList in Java
- Implements vs. Extends in Java
- Spring Cloud – Disable Discovery Clients with Profiles
- Single Sign On Solutions for Java Applications
- Convert boolean to int in Java
- Java Weekly, Issue 433
- Liquibase vs Flyway
- Java 9 Illegal Reflective Access Warning
- Distinct Queries in HQL
- Return Only Specific Fields for a Query in Spring Data MongoDB
- Hide a Request Field in Swagger API
- Apache HttpClient vs. CloseableHttpClient
- Convert Byte Size Into a Human-Readable Format in Java
- BootstrapMode for JPA Repositories
- How Does the Spring Singleton Bean Serve Concurrent Requests?
- A Guide to JPA Buddy
- Common Command-Line Compile Errors in Java
- Java Weekly, Issue 432
- Basic Authentication in JMeter
- Java Error “variable might not have been initialized”
- Java Error “bad operand types for binary operator”
- Retrieve a Value from MongoDB by Its Key Name
- Spring Security – Map Authorities from JWT
- Java Weekly, Issue 431
- Send a SOAP Object with Feign Client
- Format Instant to String in Java
March 2022
- Add Prefix to All Spring Boot Controllers
- Getting Started With GraphQL SPQR and Spring Boot
- How to Discard Unstaged Changes in Git
- Bulk Update of Documents in MongoDB
- Guide to Upsert in MongoDB
- Find the Difference Between Two Sets
- Logging MongoDB Queries with Spring Boot
- Compile All Java Classes in Directory Structure with javac
- Read User Input Until a Condition Is Met
- The for-each Loop in Java
- Java Operators
- Subtract Days from a Date in Java
- Java Weekly, Issue 430
- Import Data to MongoDB From JSON File Using Java
- Get the Number of Rows in a ResultSet
- SSO with Apache Tomcat
- A Guide to @DBRef in MongoDB
- Apache Camel Routes Testing in Spring Boot
- Java Weekly, Issue 429
- Push Operations in MongoDB
- Difference Between POJO, JavaBeans, DTO and VO
- Automorphic Numbers in Java
- Convert long to int Type in Java
- Using Nginx as a Forward Proxy
- Push and Set Operations in Same MongoDB Update
- Set List of Objects in Swagger API Response
- Introduction to Jakarta EE MVC / Eclipse Krazo
- Pretty-Print XML in Java
- Case Insensitive Sorting in MongoDB
- Acquire a Lock by a Key in Java
- Authentication With Spring Security and MongoDB
- Java Weekly, Issue 428
- Secondary Indexes in Cassandra
- Check Collection Existence in MongoDB
- Retrieve Original Message From Feign ErrorDecoder
- Update Documents in MongoDB
- Introduction to OAuth2RestTemplate
- Does GC Release Back Memory to OS?
- Guide to ByteBuffer
- Java Weekly, Issue 427
- Lombok’s @ToString Annotation
- Update Multiple Fields in a MongoDB Document
- Building a Web App Using Fauna and Spring for Your First Web Agency Client
- Finding the Last Row in an Excel Spreadsheet From Java
- Make a Call to a GraphQL Service from a Java Application
- Create a Simple “Rock-Paper-Scissors” Game in Java
- Read a File Into a Map in Java
February 2022
- What Is an Apache Maven Artifact?
- Difference Between assume-unchanged and skip-worktree in Git
- How to Create a New Entry in a Map
- A Guide to Maven Artifact Classifiers
- Java Weekly, Issue 426
- Check if a User Is Logged-in With Servlets and JSP
- Java Missing Return Statement
- Enable Logging for Spring Security
- Difference Between Map and HashMap in Java
- URL Rewriting With Spring Cloud Gateway
- Producer-Consumer Problem With Example in Java
- How to Invert a Map in Java
- GraphQL vs REST
- Convert Between Byte Array and UUID in Java
- Looking for a Java Developer with Spring Experience (Remote) (Part Time) (not open)
- Create an Empty Map in Java
- Connecting to a NoSQL Database with Spring Boot
- Spring Security – Configuring Different URLs
- Hibernate’s addScalar() Method
- How to use JNI’s RegisterNatives() method?
- Document Enum in Swagger
- Spring @Autowired Field Null – Common Causes and Solutions
- Java Weekly, Issue 425
- Provide an OAuth2 Token to a Feign Client
- Using Spring Cloud Config Without Git
- Gradle: sourceCompatiblity vs targetCompatibility
- Error: “trustAnchors parameter must be non-empty”
- Configure and Use Multiple DataSources in Spring Boot
- Java Weekly, Issue 424
- With Preset Content-Type
- Java ArrayIndexOutOfBoundsException
- Customizing Zuul Exceptions
- JDBC Connection Status
- How to Recover a Dropped Stash in Git
- Setting Example and Description with Swagger
- Hibernate Validator Annotation Processor in Depth
- Printing Thread Info in Log File Using Log4j2
- Get Current Trace ID in Spring Cloud Sleuth
- Java Weekly, Issue 423
- Remove Basic Error Controller In SpringFox Swagger-UI
- Retrying Feign Calls
January 2022
- An Introduction to Domain Graph Service (DGS) Framework
- Get Last Inserted Document ID in MongoDB With Java Driver
- Cassandra Query Cheat Sheet
- Javadoc: @see, @link, and @inheritDoc
- Java Weekly, Issue 422
- Change Cell Font Style with Apache POI
- Using Spring Cloud Gateway with OAuth 2.0 Patterns
- Computing an X509 Certificate’s Thumbprint in Java
- Adding EventHandler to JavaFX Button
- What Is the Difference Between NIO and NIO.2?
- Testing LDAP Connections With Java
- Java Concurrent HashSet Equivalent to ConcurrentHashMap
- How to Access EntityManager with Spring Data
- Constructor Specification in Java
- Java IdentityHashMap Class and Its Use Cases
- Generating a Secure AES Key in Java
- Java Weekly, Issue 421
- Cassandra Batch in Cassandra Query Language and Java
- Get the Name of the Currently Executing Test in JUnit
- Convert a Maven Build to Gradle
- Find All Jars Containing Given Class
- Hidden Classes in Java 15
- An Introduction to InstantSource in Java 17
- Java Weekly, Issue 420
- Running a TestNG Project From the Command Line
- Generating a Java String of N Repeated Characters
- Failed to Load ApplicationContext for JUnit Test of Spring Controller
- Introduction to FaunaDB with Spring
- Check if a String Ends with a Certain Pattern in Java
- Introduction to Spring Cloud Load Balancer
- SequenceInputStream Class in Java
- Random Number Generators in Java 17
- Keycloak Integration – OAuth2 and OpenID with Swagger UI
- Lombok Configuration System
- Java Weekly, Issue 419
- String equals() Vs contentEquals() in Java
- Split a String Every n Characters in Java
- Working with (Unknown Source) Stack Traces in Java
- A Brief History of the Java Programming Language
- Multiple Line Code Example in Javadoc Comment
December 2021
- Volatile Variables and Thread Safety
- Replication Strategies and Partitioning in Cassandra
- Guide to Netflix Spectator
- Convert String to Float and Back in Java
- Why Maven Uses a Different JDK
- Java Weekly, Issue 418
- Set the Name of a Thread in Java
- Remove a Large File from Commit History in Git
- Numeric Format Using POI
- Use Dot “.” as the Decimal Separator in Java
- Content Security Policy with Spring Security
- Is Cassandra a Column-Oriented or Column-Family Database?
- Java Weekly, Issue 417
- Guide to JBang
- Simulate touch Command in Java
- Remove Duplicate Dependencies with Maven
- Micronaut vs. Spring Boot
- Speed up Spring Boot Startup Time
- Java HTTPS Client Certificate Authentication
- Java Weekly, Issue 416
- Check if an Enum Value Exists in Java
- Java Implicit Super Constructor is Undefined Error
- Lombok Using @With Annotations
- Remote Monitoring with VisualVM and JMX
- Kafka Streams With Spring Boot
- Removing Tracked Files With .gitignore
- Generate PDF from Swagger API Documentation
- Java Weekly, Issue 415
- Reading Values From Excel in Java
- Getting a Bit at a Certain Position from Integral Values
- How to Get Response Body When Testing the Status Code in WebFlux WebClient
- Solving the Hide Utility Class Public Constructor Sonar Warning
- Add an Image to a Cell in an Excel File With Java
- Custom Validation with Swagger Codegen
- Convert a ByteBuffer to String in Java
- JMX Ports
- Java Weekly, Issue 414
- Java HashMap With Different Value Types
November 2021
- Concatenating Null Strings in Java
- Unix Domain Socket in Java 16
- Git for Beginners: The Definitive Practical Guide
- Adding a Column to an Excel Sheet Using Apache POI
- 415 Unsupported MediaType in Spring Application
- Debugging WebSockets
- Serialize and Deserialize Booleans as Integers With Jackson
- Quarkus Bean Discovery With Jandex Indexing
- Java Weekly, Issue 413
- Difference Between Gradle Test and Check
- Testing NoSQL Queries With Spring Boot and @DataCassandraTest
- CassandraUnit Test Tutorial
- Importing Maven Project into Eclipse
- Assert That an Object Is From a Specific Type
- Get all the Keys in a JSON String Using JsonNode
- Add Borders to Excel Cells With Apache POI
- Invoke a Static Method Using Java Reflection API
- Java Classpath Syntax in Linux vs. Windows
- Declaring Val and Var Variables in Lombok
- Omitting Getter or Setter in Lombok
- HMAC in Java
- Compare Strings While Ignoring Whitespace in Java
- Java Weekly, Issue 412
- Set Background Color of a Cell with Apache POI
- Constructors in Java Abstract Classes
- Best Practices for Unit Testing in Java
- Ignoring Commas in Quotes When Splitting a Comma-separated String
- Solving Certificate Store Errors in JVM
- Spring Webflux and @Cacheable Annotation
- Assert That a Java Optional Has a Certain Value
- What Is OncePerRequestFilter?
- CSRF With Stateless REST API
- Remove HTML Tags Using Java
- Java Weekly, Issue 411
- Request Routing and Snitches in Cassandra
- Check if the First Letter of a String Is Uppercase
- Nested HashMaps Examples in Java
- List All the Classes Loaded in the JVM
- Initialization Vector for Encryption
- Split a String Only on the First Occurrence of Delimiter
- Spring Boot Startup Actuator Endpoint
- Logging Queries with Spring Data Cassandra
- Serialization Validation in Java
- New Features in Java 17
- Guide to Garbage Collector Roots
- Introduction to HexFormat in Java 17
- Chaining Constructors in Java
- Java Weekly, Issue 410
- Deserialize Snake Case to Camel Case With Jackson
- Securing SOAP Web Services With Keycloak
October 2021
- Splitting a Java String by Multiple Delimiters
- What Is the –release Option in the Java 9 Compiler?
- Overriding Spring Boot Managed Dependency Versions
- Remove Beginning and Ending Double Quotes from a String
- LDAP Authentication Using Pure Java
- Java Weekly, Issue 409
- Multiline Text in Excel Cell Using Apache POI
- Getting Started With Apache Derby
- Convert an Object to a Byte Array in Java
- Java Map – keySet() vs. entrySet() vs. values() Methods
- Using Test Containers With Spring Data Cassandra
- Getting a Character by Index From a String in Java
- Saving Date Values in Spring Data Cassandra
- Java Weekly, Issue 408
- Pattern Matching for Switch
- Introduction to the Evrete Rule Engine
- Parallel Test Execution for JUnit 5
- Remove Accents and Diacritics From a String in Java
- Format Swagger Text Descriptions
- Remove an Entry from a Java HashMap
- Convert a Byte Array to a Numeric Representation in Java
- Environment Variable Prefixes in Spring Boot 2.5
- Reactive Streams API with Ratpack
- Java Weekly, Issue 407
- Using Fail Assertion in JUnit
- Get a Field’s Annotations Using Reflection
- Update the Value Associated With a Key in a HashMap
- Trusting All Certificates in OkHttp
- Cassandra Frozen Keyword
- Guide to Using ModelMapper
- Spring Boot vs Quarkus
- Generate a WAR File in Maven
- Hibernate’s “Object References an Unsaved Transient Instance” Error
- Java Weekly, Issue 406
- Error Handling in gRPC
- Using a Custom Class as a Key in a Java HashMap
- Get the Last Word of a String
- Convert Long to String in Java
- Build a Dashboard With Cassandra, Astra and CQL – Mapping Event Data
- Spring Security – Request Rejected Exception
- Java Weekly, Issue 405
- REST vs. gRPC
September 2021
- Add a Reference to Method Parameters in Javadoc
- Introducing KivaKit
- JUnit 4 on How to Ignore a Base Test Class
- Email Validation in Java
- Get a Submap From a HashMap in Java
- Differences Between applicationContext.xml and spring-servlet.xml in Spring
- Snapshotting Aggregates in Axon
- Consistency Levels in Cassandra
- Java Weekly, Issue 404
- Streaming with gRPC in Java
- New Features in Java 16
- Undo and Revert Commits in Git
- Java Sound API – Capturing Microphone
- Count Spaces in a Java String
- Maven dependencyManagement vs. dependencies Tags
- Fixing the “Declared package does not match the expected package” Error
- HTML to PDF Using OpenPDF
- Connect to Apache Kafka Running in Docker
- Collecting Stream Elements into a List in Java
- Get All Running JVM Threads
- Different Log4j2 Configurations per Spring Profile
- Java Weekly, Issue 403
- Joinpoint vs. ProceedingJoinPoint in AspectJ
- Priority of a Thread in Java
- Upload a File with WebClient
- Performance of System.arraycopy() vs. Arrays.copyOf()
- Guide to mapMulti in Stream API
- Generate a Java Class From JSON
- Java Weekly, Issue 402
- Enabling Unlimited Strength Cryptography in Java
- Understanding Maven’s “relativePath” Tag for a Parent POM
- Connecting to a Specific Schema in JDBC
- Find the IP Address of a Client Connected to a Server
- Understanding Detached HEAD in Git
- Javadoc: @version and @since
- Test WebSocket APIs With Postman
- Java Weekly, Issue 401
- Access Control Models
August 2021
- Format a Milliseconds Duration to HH:MM:SS
- Configuring Kafka SSL Using Spring Boot
- Handling Exceptions in Project Reactor
- The DTO Pattern (Data Transfer Object)
- Java Weekly, Issue 400
- Gradle Offline Mode
- Custom Serializers in Apache Kafka
- How to Check Field Existence in MongoDB?
- Cassandra Partition Key, Composite Key, and Clustering Key
- Run JUnit Test Cases From the Command Line
- Display Custom Items in JavaFX ListView
- Deploying a Java War in a Docker Container
- Context Path vs. Servlet Path in Spring
- Change the Default Location of the Log4j2 Configuration File in Spring Boot
- Running a Single Test or Method With Maven
- Java Weekly, Issue 399
- Compare the Content of Two Files in Java
- Introduction to ksqlDB
- Spring Data with ArangoDB
- Spring @EnableWebSecurity vs. @EnableGlobalMethodSecurity
- Validate String as Filename in Java
- Inserting Delays Between Requests in Apache JMeter
- Java Weekly, Issue 398
- Throwing Exceptions in Constructors
- Hosting a Maven Repository on GitHub
- Choosing a GC Algorithm in Java
- An Intro to Dapr with Spring Cloud Gateway
- Disable the Maven Javadoc Plugin
- Java Annotation Attribute Value Restrictions
- Bitmasking in Java with Bitwise Operators
- Java Weekly, Issue 397
- Diagnosing a Running JVM
- Looking for a Java Team Lead with Spring Experience (Remote) (Part Time) (not open)
- How to Set JSON Content Type in Spring MVC
- A Guide to Auto-Commit in JDBC
- Difference Between MVC and MVP Patterns
- How to Create Password-Protected Zip Files and Unzip Them in Java
- EntityNotFoundException in Hibernate
- Converting a PEM File to Java KeyStore Format
- Trusting a Self-Signed Certificate in OkHttp
July 2021
- Default Values for Maven Properties
- Calling a SOAP Web Service from the Command Line
- Linking to an External URL in Javadoc
- Architecture of a Geospatial Application with Java
- Java Weekly, Issue 396
- CQL Data Types
- Find Whether an IP Address Is in the Specified Range or Not in Java
- How to Implement LRU Cache in Java
- Creating a Kubernetes Admission Controller in Java
- Java Weekly, Issue 395
- Is java.sql.Connection Thread-Safe?
- Pub-Sub vs. Message Queues
- Significance of Getters and Setters in Java
- Valid @SuppressWarnings Warning Names
- Why Missing Annotations Don’t Cause ClassNotFoundException
- Convert a String to Camel Case
- Guava’s Futures and ListenableFuture
- Creating a Self-Signed Certificate With OpenSSL
- Plugin Management in Maven
- Java Weekly, Issue 394
- Writing Log Data to Syslog Using Log4j2
- Force Repository Update with Maven
- Guide to Java BigInteger
- Configuring the Server Port on Quarkus Applications
- Static Classes Versus the Singleton Pattern in Java
- Additional Source Directories in Maven
- Tiered Compilation in JVM
- Converting String to BigInteger in Java
- Find the GC Algorithm Used by a JVM Instance
- Java Weekly, Issue 393
- Count Occurrences Using Java groupingBy Collector
- The java.lang.NoClassDefFoundError in JUnit
- Send Large Messages With Kafka
- Start Two Threads at the Exact Same Time in Java
- Converting Camel Case and Title Case to Words in Java
- “Code too large” Compilation Error in Java
- Different Serialization Approaches for Java
- JPA Entities and the Serializable Interface
- Swagger @Api Description Is Deprecated
- Difference Between Maven Surefire and Failsafe Plugins
- Lookahead and Lookbehind in Java Regex
- Java Weekly, Issue 392
June 2021
- Common Shortcuts in Eclipse
- Enabling Logging for Apache HttpClient
- Generating Alphanumeric UUID String in Java
- )
- Native Images with Spring Boot and GraalVM
- 3DES in Java
- Private Constructors in Java
- Monitor the Consumer Lag in Apache Kafka
- Running Selenium Scripts with JMeter
- Cluster, Datacenters, Racks and Nodes in Cassandra
- Logical vs Bitwise OR Operator
- How to Get the Number of Threads in a Java Process
- Java Weekly, Issue 391
- Build a Dashboard With Cassandra, Astra, REST & GraphQL – Recording Status Updates
- The settings.xml File in Maven
- Exchanges, Queues, and Bindings in RabbitMQ
- How to Implement Min-Max Heap in Java
- A Comparison Between JPA and JDBC
- Java DocLint
- What Does Mono.defer() Do?
- Connection Timeout vs. Read Timeout for Java Sockets
- Guide to the ModelAssert Library for JSON
- Command Line Arguments as Maven Properties
- Capturing Image From Webcam in Java
- Java Weekly, Issue 390
- Download a Binary File Using OkHttp
- Wire Tap Enterprise Integration Pattern
- Max-HTTP-Header-Size in Spring Boot 2
- Interface With Default Methods vs Abstract Class
- Referencing a Method in Javadoc Comments
- Mask Sensitive Data in Logs With Logback
- Java – Path vs File
- JPA Support – State of the Tools Ecosystem in 2021
- Non-Capturing Regex Groups in Java
- Private Methods in Java Interfaces
- Iterate Over a Set in Java
- Observability in Distributed Systems
- Java Weekly, Issue 389
- Local JAR Files as Gradle Dependencies
- Kafka Topic Creation Using Java
- Inserting Null Into an Integer Column Using JDBC
- Understanding the Pattern.quote Method
- Spring Validation in the Service Layer
- Feign Logging Configuration
- Creating, Updating and Deleting Resources with the Java Kubernetes API
- Log4j Warning: “No Appenders Could Be Found for Logger”
- Spring Boot Error ApplicationContextException
- Exclusions from Jacoco Report
- Java Weekly, Issue 388
- Kafka Streams vs. Kafka Consumer
- Project Reactor: map() vs flatMap()
- Defining Unique Constraints in JPA
- Find All Numbers in a String in Java
- Writing an Enterprise-Grade AWS Lambda in Java
May 2021
- Finding All Classes in a Java Package
- How to Return Multiple Entities in JPA Query
- Secret Key and String Conversion in Java
- Using Cucumber with Gradle
- Java Weekly, Issue 387
- Downloading Email Attachments in Java
- Maximum Size of Java Arrays
- Build a Dashboard Using Cassandra, Astra, and Stargate
- IllegalAccessError in Java
- Spring Conditional Annotations
- Difference Between Super, Simplest, and Effective POM
- AliasFor Annotation in Spring
- Deserialization Vulnerabilities in Java
- JVM Parameters InitialRAMPercentage, MinRAMPercentage, and MaxRAMPercentage
- Guava Guide
- Java Weekly, Issue 386
- Multipart Request Handling in Spring
- How to Display a Message in Maven
- How to Implement a Soft Delete with Spring JPA
- Converting String to BigDecimal in Java
- Build a Trading Bot with Cassandre Spring Boot Starter
- Overriding Column Definition With @AttributeOverride
- Split a String in Java and Keep the Delimiters
- HandlerInterceptors vs. Filters in Spring MVC
- Code Coverage with SonarQube and JaCoCo
- Returning an Auto-Generated Id with JPA
- When to Use a Parallel Stream in Java
- Copying Files With Maven
- Java Objects.hash() vs Objects.hashCode()
- HTTP PUT vs. POST in REST API
- Java Weekly, Issue 385
- Using an Interface vs. Abstract Class in Java
- Getting the Java Version at Runtime
- Fixing the NoSuchMethodError JUnit Error
- Mapping PostgreSQL Array With Hibernate
- Using Namespaces and Selectors With the Kubernetes Java API
- How to Convert Mono<List<T>> Into Flux<T>
- Spring Boot Cache with Redis
- A Guide to Events in OkHTTP
- Should Logging Out Be a GET or POST?
- Java Weekly, Issue 384
- Converting a Java Keystore Into PEM Format
April 2021
- Concatenate Two Arrays in Java
- Guide to Retry in Spring WebFlux
- Java Weekly, Issue 383
- What Are Compile-Time Constants in Java?
- CRUD Application With React and Spring Boot
- Introduction to Debezium
- JVM Storage for Static Members
- Convert an Array of Primitives to an Array of Objects
- Using Cucumber Tags with JUnit 5
- Advise Methods on Annotated Classes With AspectJ
- Set a Timeout in Spring 5 Webflux WebClient
- Java Weekly, Issue 382
- How to Handle InterruptedException in Java
- Multi-Entity Aggregates in Axon
- Long Polling in Spring MVC
- Split Java String by Newline
- Using Watch with the Kubernetes API
- The package-info.java File
- Displaying Error Messages with Thymeleaf in Spring
- Spring Bean Names
- Convert a Java Enumeration Into a Stream
- Java Weekly, Issue 381
- Java NIO DatagramChannel
- Usage of the Hibernate @LazyCollection Annotation
- Introduction to Alibaba Sentinel
- Java Weekly, Issue 380
- RSA in Java
- TLS Setup in Spring
- Backpressure Mechanism in Spring WebFlux
- Java Technical Editor (part-time)
- Spring Boot With JavaServer Pages (JSP)
- Common Shortcuts in IntelliJ IDEA
- How to Enable All Endpoints in Spring Boot Actuator
- Java Weekly, Issue 379
March 2021
- Open API Server Implementation Using OpenAPI Generator
- Solving Spring’s “not eligible for auto-proxying” Warning
- Java Class File Naming Conventions
- Count Query In jOOQ
- How to Check if a Database Table Exists with JDBC
- Java Weekly, Issue 378
- Mocking Static Methods With Mockito
- Returning Stream vs. Collection
- Spring Reactive Guide
- Paging and Async Calls with the Kubernetes API
- Creating a Read-Only Repository with Spring Data
- Java Weekly, Issue 377
- Get All Endpoints in Spring Boot
- Decode a JWT Token in Java
- Clearing the Maven Cache
- The Java final Keyword – Impact on Performance
- How Many Threads Can a Java VM Support?
- Spring Security OAuth Authorization Server
- Java Weekly, Issue 376
- Generate WSDL Stubs with Maven
- Guide to Purging an Apache Kafka Topic
- A Guide to SAML with Spring Security
- Adding Interceptors in OkHTTP
- Java Weekly, Issue 375
- Invoking a Private Method in Java
- Spring @EntityScan vs. @ComponentScan
February 2021
- A Quick Intro to the Kubernetes Java Client
- Insert a Row in Excel Using Apache POI
- Converting Java Properties to HashMap
- Introduction to ZeroCode
- The java.security.egd JVM Option
- Java Weekly, Issue 374
- REST API: JAX-RS vs Spring
- Java Deque vs. Stack
- Optimizing HashMap’s Performance
- Write Extracted Data to a File Using JMeter
- How to Use Visual Studio Code With Java?
- Where Does Java’s String Constant Pool Live, the Heap or the Stack?
- Override Maven Plugin Configuration from Parent
- Configuring Message Retention Period in Apache Kafka
- Java Warning “Unchecked Cast”
- “HttpMessageNotWritableException: No converter found for return value of type”
- Java Weekly, Issue 373
- IoT Data Pipeline with MQTT, NiFi, and InfluxDB
- Spring @Component Annotation
- Configure the Heap Size When Starting a Spring Boot Application
- File Upload With Open Feign
- Prevent Cross-Site Scripting (XSS) in a Spring Application
- Java Weekly, Issue 372
- Java HashMap Load Factor
- Distributed Performance Testing with Gatling
- Guide to Implementing the compareTo Method
- Java Weekly, Issue 371
- Multiple Submit Buttons on a Form
- Spring RestTemplate Exception: “Not enough variables available to expand”
January 2021
- Get List of JSON Objects with WebClient
- Bad Practices With Synchronization
- Get Advised Method Info in Spring AOP
- Java Warning “unchecked conversion”
- Using the Map.Entry Java Class
- Java Weekly, Issue 370
- An Introduction to the Constant Pool in the JVM
- Where Should the Spring @Service Annotation Be Kept?
- Is Java a Compiled or Interpreted Language?
- Setting a Request Timeout for a Spring REST API
- Structural Patterns in Core Java
- Using Custom User Providers with Keycloak
- Overview of Mockito MockSettings
- Introduction to JVM Intrinsics
- Java Weekly, Issue 369
- Clean Architecture with Spring Boot
- How to Analyze Java Thread Dumps
- How to Convert a Hibernate Proxy to a Real Entity Object
- Experimental Garbage Collectors in the JVM
- Evaluating a Math Expression in Java
- Java Weekly, Issue 368
- Determine if an Integer’s Square Root Is an Integer in Java
- Using a Byte Array as Map Key in Java
- Binary Semaphore vs Reentrant Lock
- Jackson: java.util.LinkedHashMap cannot be cast to X
- Java File Separator vs File Path Separator
- Java Weekly, Issue 367
- Difference Between JSF, Servlet, and JSP
- Learn JPA & Hibernate
- New Features in Java 12
- Data Modeling with Apache Kafka
- New Features in Java 11
- Difference Between spring-boot:repackage and Maven package
December 2020
- Java Weekly, Issue 366
- Character#isAlphabetic vs. Character#isLetter
- Integration Tests With Spring Cloud Netflix and Feign
- Java Weekly, Issue 365
- Collections.synchronizedMap vs. ConcurrentHashMap
- Spring Boot: Customize the Jackson ObjectMapper
- Behavioral Patterns in Core Java
- New Features in Java 14
- Redis vs MongoDB
- Unmarshalling a JSON Array Using camel-jackson
- Get list of JSON objects with Spring RestTemplate
- Java Weekly, Issue 364
- Scheduled WebSocket Push with Spring Boot
- Viewing Contents of a JAR File
- Configuring a Project to Exclude Certain Sonar Violations
- to a File in Java
- InvalidAlgorithmParameterException: Wrong IV Length
- Jdbc URL Format for Different Databases
- ArrayList vs. LinkedList vs. HashMap in Java
- Java Weekly, Issue 363
- Adding Parameters to Apache HttpClient Requests
- Comparing Doubles in Java
- Get a Filename Without the Extension in Java
- A Guide to MultipleBagFetchException in Hibernate
- Spring Boot With Spring Batch
- Java Weekly, Issue 362
- Running Spring Boot with PostgreSQL in Docker Compose
- Introduction to Servlets and Servlet Containers
- Java AES Encryption and Decryption
November 2020
- NoSuchFieldError in Java
- Thymeleaf Variables
- Security Context Basics: User, Subject and Principal
- Digital Certificate: How to Import .cer File into Truststore File
- Guide to the System Stubs Library
- Java Weekly, Issue 361
- How to Access an Iteration Counter in a For Each Loop
- What’s New in Java 15
- The Capacity of an ArrayList vs the Size of an Array in Java
- Performance Difference Between save() and saveAll() in Spring Data
- Explanation of ClassCastException in Java
- Creating a Generic Array in Java
- Reusing Docker Layers with Spring Boot
- Java Weekly, Issue 360
- Testing Kafka and Spring Boot
- Defining Indexes in JPA
- Maven Packaging Types
- DispatcherServlet and web.xml in Spring Boot
- Java Weekly, Issue 359
- JPA CascadeType.REMOVE vs orphanRemoval
- Creating a Discord Bot with Discord4J + Spring Boot
- Sealed Classes and Interfaces in Java
- Ignoring Fields With the JPA @Transient Annotation
- Localizing Exception Messages in Java
- Java IndexOutOfBoundsException “Source Does Not Fit in Dest”
- Functional Programming in Java
- Check if a Java Program Is Running in 64-Bit or 32-Bit JVM
- Extending Enums in Java
- Java (String) or .toString()?
- Java Weekly, Issue 358
- The transient Keyword in Java
- Distributed Performance Testing with JMeter
- Understanding the & 0xff Value in Java
- AbstractMethodError in Java
- Storing Files Indexed by a Database
- Apache Commons Collections vs Google Guava
- Dependency Management in Gradle
October 2020
- Java Weekly, Issue 357
- Set JWT with Spring Boot and Swagger UI
- Retrofit 2 – Dynamic URL
- Get Names of Classes Inside a JAR File
- Accessing Keycloak Endpoints Using Postman
- Introduction to Netflix Mantis
- How to Import a .cer Certificate Into a Java KeyStore
- Java Weekly, Issue 356
- Performance of removeAll() in a HashSet
- Constants in Java: Patterns and Anti-Patterns
- Object States in Hibernate’s Session
- Apache Spark: Differences between Dataframes, Datasets and RDDs
- Getting Database URL From JDBC Connection Object
- Finding a Free Port in Java
- Detecting If a Spring Transaction Is Active
- Java Weekly, Issue 355
- Creational Design Patterns in Core Java
- Difference Between @ComponentScan and @EnableAutoConfiguration in Spring Boot
- Java Weekly, Issue 354
- Where Does H2’s Embedded Database Store The Data?
- How to Stop Execution After a Certain Time in Java
- Background Jobs in Spring with JobRunr
- Performing Calculations in the Database vs. the Application
- Differences Between Netflix Feign and OpenFeign
- Checking if a Java Class Is ‘Abstract’ Using Reflection
- Using JNA to Access Native Dynamic Libraries
- Using libphonenumber to Validate Phone Numbers
- Java Weekly, Issue 353
September 2020
- Getting Started with jOOQ
- How To Get Cookies From the Apache HttpClient Response
- Reading an HTTP Response Body as a String in Java
- Get a List of Trusted Certificates in Java
- @BeforeAll and @AfterAll in Non-Static Methods
- Conditionally Run or Ignore Tests in JUnit 4
- Get the Running Port in Spring Boot
- Reversing a Linked List in Java
- The Difference Between a.getClass() and A.class in Java
- Find the Last Modified File in a Directory with Java
- How to Set TLS Version in Apache HttpClient
- Guide to the Gradle Wrapper
- Java Weekly, Issue 352
- Listing the Available Cipher Algorithms
- CharacterEncodingFilter In SpringBoot
- Get the First Key and Value From a HashMap
- Does a Method’s Signature Include the Return Type in Java?
- Checking if a Method Is Static Using Reflection in Java
- Reducing JSON Data Size
- Guide to the System Rules Library
- Spring Boot Without A Web Server
- JSON Parameters with Spring MVC
- Sending Emails with Attachments in Java
- How to Remove a Prefix From Strings in Groovy
- Java Weekly, Issue 351
- Differences in @Valid and @Validated Annotations in Spring
- Social Login with Spring Security in a Jersey Application
- Arrays.asList vs new ArrayList(Arrays.asList())
- Checking if a Class Exists in Java
- Passing Command Line Arguments in Gradle
- How to Implement Hibernate in an AWS Lambda Function in Java
- Java Weekly, Issue 350
- Keycloak User Self-Registration
- DAO vs Repository Patterns
- Difference Between when() and doXxx() Methods in Mockito
- SSH Connection With Java
- Rolling Back Migrations with Flyway
- Dates in OpenAPI Files
- Creating Temporary Directories in Java
- IllegalMonitorStateException in Java
- Custom User Attributes with Keycloak
- Java Weekly, Issue 349
- Hiding Endpoints From Swagger Documentation in Spring Boot
- Using Hidden Inputs with Spring and Thymeleaf
August 2020
- Guide to @DynamicPropertySource in Spring
- The Spring @ConditionalOnProperty Annotation
- Assert Two Lists for Equality Ignoring Order in Java
- Guide to ArrayStoreException
- Gradle Source Sets
- Testing Quarkus Applications
- IllegalArgumentException or NullPointerException for a Null Parameter?
- Largest Power of 2 That Is Less Than the Given Number with Java
- Introduction to keytool
- Customizing the Login Page for Keycloak
- Java Weekly, Issue 348
- Introduction to ArchUnit
- How to Turn Off Swagger-ui in Production
- Spring MVC Async vs Spring WebFlux
- Reading a Line at a Given Line Number From a File in Java
- Web Server Graceful Shutdown in Spring Boot
- Using application.yml vs application.properties in Spring Boot
- Health Indicators in Spring Boot
- Leadership Election With Consul
- Java Weekly, Issue 347
- NoSuchMethodError in Java
- How to Define a Map in YAML for a POJO?
- Concurrency in Spring WebFlux
- What Is the Hi/Lo Algorithm?
- Introduction to Spring Data Azure Cosmos DB
- What Is the Difference Between DVM and JVM?
- List All Classes Loaded in a Specific Class Loader
- A Guide to Concurrent Queues in Java
- Find the Kth Smallest Element in Two Sorted Arrays in Java
- Customizing Themes for Keycloak
- Extracting Database Metadata Using JDBC
- JPA Entity Equality
- Java Weekly, Issue 346
- OAuth 2.0 Resource Server With Spring Security 5
- Finding the Differences Between Two Lists in Java
- Probability in Java
- Optional Dependency in Maven
- How to Disable Spring Security Logout Redirects
- Java Reporting Tools: a Comparison
- Java Files Open Options
- Introduction to Spring Data JDBC
- Set Field Value With Reflection
- Difference Between request.getSession() and request.getSession(true)
- Apache Maven Guide
- Spring @PathVariable Annotation
- Hypermedia Serialization With JSON-LD
- Determine if an Object Is of Primitive Type
- Copy a Directory in Java
- Java Weekly, Issue 345
- Flyway Repair With Spring Boot
- vs BitSet
- A Guide to async-profiler
- Difference in Used, Committed, and Max Heap Memory
- Introduction to Transactions in Java and Spring
- XML Defined Beans in Spring Boot
- Check If a File or Directory Exists in Java
- Skipping Tests With Gradle
- How to Implement a CNN with Deeplearning4j
- When Are Static Variables Initialized in Java?
July 2020
- Comparing Arrays in Java
- Taking Screenshots Using Java
- Preserving Line Breaks When Using Jsoup
- System.console() vs. System.out
- Setting Formulas in Excel with Apache POI
- Using Mockito ArgumentCaptor
- Guide to SDKMAN!
- Java Weekly, Issue 344
- A Guide to BitSet in Java
- The Difference Between Cron Syntax in Linux and Spring
- Command-Line Tools to Find the Java Heap Size
- Jess Rule Engine and JSR 94
- Liskov Substitution Principle in Java
- Creating Docker Images with Spring Boot
- Converting List to Map With a Custom Supplier
- Performance Effects of Exceptions in Java
- Java Weekly, Issue 343
- Check If a Directory Is Empty in Java
- Accessing Maven Properties in Java
- How to Read PEM File to Get Public and Private Keys
- Maven Offline Mode
- Download Sources and Javadocs with Maven
- Unit Testing of System.out.println() with JUnit
- A Guide to False Sharing and @Contended
- Java Generics – <?> vs <? extends Object>
- The Spring ApplicationContext
- Garbage Collection Logging to a File in Java
- Difference Between Statement and PreparedStatement
- Interface Segregation Principle in Java
- Java Weekly, Issue 342
- Finding Top K Elements in a Java Array
- Reactive Systems in Java
- Class.isInstance vs Class.isAssignableFrom and instanceof
- Version Comparison in Java
- Garbage Collection and Cyclic References in Java
- Memory Address of Objects in Java
- Maven Logging Options
- Run a Java Main Method in Maven
- Reading the Value of ‘private’ Fields from a Different Class in Java
- Convert an Array of Primitives to a List
- Spring Security vs Apache Shiro
- Loading JDBC Drivers
- YAML to List of Objects in Spring Boot
- Adding Text to an Image in Java
- Run mvn Command From Another Directory
- Why Are Local Variables Thread-Safe in Java
- Converting a Java String Into a Boolean
- How to Resolve a Version Collision of Artifacts in Maven
- Measuring Object Sizes in the JVM
- Refer to Environment Variables in pom.xml
- Differences Between YAML and JSON
- How Can I Resize an Image Using Java?
- Configuring Stack Sizes in the JVM
- Division by Zero in Java: Exception, Infinity, or Not a Number
- Taking Screenshots With Selenium WebDriver
- Java Weekly, Issue 341
- When Does Java Throw the ExceptionInInitializerError?
- How to Count the Number of Matches for a Regex?
- Print an Integer in Binary Format in Java
- Mapping Collections with MapStruct
- When Does Java Throw UndeclaredThrowableException?
- Java Weekly, Issue 340
- Simple Single Sign-On with Spring Security OAuth2 (legacy stack)
June 2020
- Where Is the Array Length Stored in JVM?
- Inject a Map from a YAML File with Spring
- Memory Layout of Objects in Java
- Getting MAC Addresses in Java
- Finding Unused Gradle Dependencies
- How to Share DTO Across Microservices
- Testing a Spring Multipart POST Request
- The Covariant Return Type in Java
- Implementing a Ring Buffer in Java
- Java Heap Space Memory with the Runtime API
- Guide to Apache BookKeeper
- Easy Ways to Write a Java InputStream to an OutputStream
- Java Weekly, Issue 339
- Number Formatting in Java
- Converting a Spring MultipartFile to a File
- Groovy Variable Scope
- Implementing a 2048 Solver in Java
- WildFly Administration Remote Access
- Spring RestTemplate Request/Response Logging
- Conditional CSS Classes in Thymeleaf
- Testing Exceptions with Spring MockMvc
- Spring Boot and Caffeine Cache
- Why Not to Start a Thread in the Constructor?
- Redirecting Logged-in Users with Spring Security
- Spring @RequestParam vs @PathVariable Annotations
- Liveness and Readiness Probes in Spring Boot
- Java Weekly, Issue 338
- Java IOException “Too many open files”
- The Difference between RxJava API and the Java 9 Flow API
- Test a Mock JNDI Datasource with Spring
- Getting the Week Number From Any Date
- Injecting Spring Beans into Unmanaged Objects
- Testing @Cacheable on Spring Data Repositories
- Event-Driven Data with Apache Druid
- Exploring JVM Tuning Flags
- Writing IntelliJ IDEA Plugins Using Gradle
- Memory Layout in the JVM
- Returning the Generated Keys in JDBC
- Spring YAML vs Properties
- When Does JPA Set the Primary Key
- View Bytecode of a Class File in Java
- Circular View Path Error
- Java Weekly, Issue 337
- The Constructor Return Type in Java
- HTTP Server with Netty
- What Is [Ljava.lang.Object;?
- The “Cannot find symbol” Compilation Error
- Inject Arrays and Lists From Spring Properties Files
- Retrying Failed Requests with Spring Cloud Netflix Ribbon
- Spring @Import Annotation
- Using Kafka MockProducer
- <init> and <clinit> Methods in the JVM
- Hibernate could not initialize proxy – no Session
- Proxies With RestTemplate
- OpenAPI JSON Objects as Query Parameters
- Java Weekly, Issue 336
- Quick Guide to Spring Cloud Open Service Broker
- String Concatenation with Invoke Dynamic
- What Causes java.lang.OutOfMemoryError: unable to create new native thread
- Partial Data Update With Spring Data
- Multi-Release JAR Files with Maven
May 2020
- Spring BeanPostProcessor
- Converting a BufferedReader to a JSONObject
- Casting int to Enum in Java
- Java Weekly, Issue 335
- Setting Custom Feign Client Timeouts
- Rate Limiting a Spring API Using Bucket4j
- Spring Security With Auth0
- Using Kafka MockConsumer
- Super Type Tokens in Java Generics
- Comparing Objects in Java
- A Guide to the Hibernate Types Library
- An Introduction to Invoke Dynamic in the JVM
- Univocity Parsers
- Spring REST Docs vs OpenAPI
- LinkedBlockingQueue vs ConcurrentLinkedQueue
- Introduction to Exchanger in Java
- CQRS and Event Sourcing in Java
- @PropertySource with YAML Files in Spring Boot
- Clicking Elements in Selenium using JavaScript
- How to Call Python From Java
- Open/Closed Principle in Java
- Applying CI/CD With Spring Boot
- Java Weekly, Issue 334
- Formatting Currencies in Spring Using Thymeleaf
- Java 14 Record Keyword
- Java Weekly, Issue 333
- Finding an Object’s Class in Java
- Introduction to Finagle
- Introduction to Lock-Free Data Structures with Java Examples
- Generating PDF Files Using Thymeleaf
- AWS AppSync With Spring Boot
- Transactional Annotations: Spring vs. JTA
- Log4j 2 Plugins
- Foreign Memory Access API in Java 14
- Validate Phone Numbers With Java Regex
- Logout in an OAuth Secured Application (using the Spring Security OAuth legacy stack)
- Spring Security With Okta
- How to Dynamically Autowire a Bean in Spring
- Spring Cloud Gateway WebFilter Factories
- Spring Data Redis’s Property-Based Configuration
- Find Unused Maven Dependencies
- Manual Logout With Spring Security
- Generate Database Schema with Spring Data JPA
- Spring JPA @Embedded and @EmbeddedId
- How to Add Proxy Support to Jsoup?
- Asserting Log Messages With JUnit
- Building a Java Application With Gradle
- Java Weekly, Issue 332
- Single Responsibility Principle in Java
- Disable Security for a Profile in Spring Boot
- Memcached vs Redis
April 2020
- Mapping Lists with ModelMapper
- Java Weekly, Issue 331
- Invoking a SOAP Web Service in Spring
- Using Multiple Cache Managers in Spring
- Invoking a SOAP Web Service in Java
- Constructing a JPA Query Between Unrelated Entities
- Java-R Integration
- Spring Security Custom Logout Handler
- Building a Simple Web Application with Spring Boot and Groovy
- Creating Spring Beans Through Factory Methods
- Spring Security: Check If a User Has a Role in Java
- Encode a String to UTF-8 in Java
- Mocking the ObjectMapper readValue() Method
- Guide to AtomicStampedReference in Java
- The Difference Between mockito-core and mockito-all
- How to Determine the Data Type in Groovy
- A Guide to jpackage in Java 14
- Using a List of Values in a JdbcTemplate IN Clause
- Using ThymeLeaf and FreeMarker Emails Templates with Spring
- Java Weekly, Issue 330
- Log Groups in Spring Boot 2.1
- Oracle Connection Pooling With Spring
- A Guide to Atomikos
- OAuth2 for a Spring REST API – Handle the Refresh Token in AngularJS (legacy OAuth stack)
- Hibernate Error “No Persistence Provider for EntityManager”
- Recommended Package Structure of a Spring Boot Project
- Should We Close a Java Stream?
- The Map.computeIfAbsent() Method
- Handling java.net.ConnectException
- How to Test GraphQL Using Postman
- Introduction to DBUnit
- HTTP/2 in Jetty
- Writing Templates for Test Cases Using JUnit 5
- How to Extract a Mono’s Content in Java
- Convert String to Integer in Groovy
- Introduction to Mockito’s AdditionalAnswers
- BSON to JSON Document Conversion in Java
- Custom Naming Convention with Spring Data JPA
- Java Map With Case-Insensitive Keys
- HTTP/2 in Netty
- Java Weekly, Issue 329
- Spring Configuration Bootstrap vs Application Properties
- Spring MVC Data and Thymeleaf
- Quick Guide to Spring Cloud Circuit Breaker
- Java Thread Deadlock and Livelock
- Guide to the Number Class in Java
- Checksums in Java
- Java Weekly, Issue 328
- Using Guava’s MapMaker
- Conditional Flow in Spring Batch
- Introduction to Guava Throwables
- Helpful NullPointerExceptions in Java 14
- Intro to Coroutines with Quasar
- Add BigDecimals using the Stream API
- Returning Plain HTML From a Spring MVC Controller
- Add CSS and JS to Thymeleaf
- Difference Between BeanFactory and ApplicationContext
March 2020
- How to Determine Day of Week by Passing Specific Date in Java?
- Java Weekly, Issue 327
- Using JWT with Spring Security OAuth (legacy stack)
- Comparing Long Values in Java
- Testing Multi-Threaded Code in Java
- The Clear-Site-Data Header in Spring Security
- Fixing “constant string too long” Build Error
- Prevent ApplicationRunner or CommandLineRunner Beans From Executing During Junit Testing
- Java ArrayList vs LinkedList
- Quick Guide to EntityManager#getReference()
- Regular Expressions \s and \s+ in Java
- Spring JdbcTemplate Unit Testing
- Boruvka’s Algorithm for Minimum Spanning Trees in Java
- Gradient Descent in Java
- Guide to AtomicMarkableReference
- Java Weekly, Issue 326
- Java Convert PDF to Base64
- Introduction to Lock Striping
- Quick Guide to Hibernate enable_lazy_load_no_trans Property
- Java IO vs NIO
- Introduction to Alibaba Arthas
- Difference Between Thread and Virtual Thread in Java
- Spring REST API + OAuth2 + Angular (using the Spring Security OAuth legacy stack)
- Keycloak Embedded in a Spring Boot Application
- L-Trim and R-Trim Alternatives in Java
- IntelliJ – Cannot Resolve Spring Boot Configuration Properties Error
- Compare Two JSON Objects with Gson
- Java Weekly, Issue 325
- Optical Character Recognition with Tesseract
- Guide to the Java Authentication And Authorization Service (JAAS)
- Delete Everything in Redis
- Using NullAway to Avoid NullPointerExceptions
- Java Weekly, Issue 324
- How to Use Regular Expressions to Replace Tokens in Strings in Java
- Could Not Reserve Enough Space for Object Heap
- Injecting a Value in a Static Field in Spring
- Introduction to Apache Beam
- Finding the Spring Version
- Capturing a Java Thread Dump
- Pattern Matching for instanceof in Java 14
- Testing Spring Boot @ConfigurationProperties
- Fast Pattern Matching of Strings Using Suffix Tree in Java
- Java Suppressed Exceptions
- Introduction to Takes
- Java Weekly, Issue 323
- Spring Bean vs. EJB – A Feature Comparison
- DDD Bounded Contexts and Java Modules
- Connect Java to a MySQL Database
February 2020
- ThreadPoolTaskExecutor corePoolSize vs. maxPoolSize
- Converting Gradle Build File to Maven POM
- Calling Stored Procedures from Spring Data JPA Repositories
- Exponential Backoff With Spring AMQP
- Introduction to Moshi Json
- List All Redis Databases
- Java Weekly, Issue 322
- Check for null Before Calling Parse in Double.parseDouble
- How to Lock a File in Java
- Swagger @ApiParam vs @ApiModelProperty
- Asynchronous HTTP Programming with Play Framework
- Design Principles and Patterns for Highly Concurrent Applications
- Using JSON Patch in Spring REST APIs
- Executors newCachedThreadPool() vs newFixedThreadPool()
- Configuring Retry Logic in Spring Batch
- Configuring Thread Pools for Java Web Servers
- Introduction to cache2k
- Introduction to the jcabi-aspects AOP Annotations Library
- Modifying the Response Body in a Zuul Filter
- Getting Started with CRaSH
- Java Weekly, Issue 321
- Arrays.deepEquals
- How to Handle Java SocketException
- Cache Headers in Spring MVC
- Design Patterns in the Spring Framework
- The BeanDefinitionOverrideException in Spring Boot
- MongoDB Aggregations Using Java
- The Java Headless Mode
- Add Build Properties to a Spring Boot Application
- Breaking YAML Strings Over Multiple Lines
- Spring Projects Version Naming Scheme
- Java Weekly, Issue 320
- Intro to OpenCV with Java
- Guide to AVL Trees in Java
- Case-Insensitive String Matching in Java
- Java Text Blocks
- What’s New in Gradle 6.0
- Introduction to Open Liberty
- Java Weekly, Issue 319
- Spring Cloud Gateway Routing Predicate Factories
January 2020
- How to Create a Slack Plugin in Java
- Difference Between Java Matcher find() and matches()
- Java Weekly, Issue 318
- Final vs Effectively Final in Java
- JPA Entity Lifecycle Events
- Introduction to Dropwizard
- java.net.UnknownHostException: Invalid Hostname for Server
- Merge Cells in Excel Using Apache POI
- Guide to the Cactoos Library
- Parsing Command-Line Parameters with Airline
- Guide to @CurrentSecurityContext in Spring Security
- Generating Barcodes and QR Codes in Java
- Working with Lazy Element Collections in JPA
- Creating a LocalDate with Values in Java
- Guide to Work Stealing in Java
- Balanced Brackets Algorithm in Java
- List All Available Redis Keys
- Introduction to Jsoniter
- Java Weekly, Issue 317
- What Causes java.lang.reflect.InvocationTargetException?
- New Features in Java 13
- Java Weekly, Issue 316
- Introduction to Big Queue
- Java Preview Features
- Generating Random Numbers in Java
- Asynchronous Programming in Java
- Partitioning and Sorting Arrays with Many Repeated Entries with Java Examples
- Get String Value of Excel Cell with Apache POI
- Efficiently Merge Sorted Java Sequences
- Looking for Java Developer to Help with Brainstorming Topics for the Site (not open)
- Obtaining a Power Set of a Set in Java
- Guide to the @Serial Annotation in Java 14
- Java Weekly, Issue 315
- Introduction to Greedy Algorithms with Java
- Cucumber Hooks
- Read Excel Cell Value Rather Than Formula With Apache POI
- Java Do-While Loop
- Java While Loop
- Java For Loop
- Using Cookies With Selenium WebDriver in Java
- Convert Double to Long in Java
- Apache RocketMQ with Spring Boot
- Specify an Array of Strings as Body Parameters in Swagger
- Decompiling Classes in Java
- How to Return Multiple Values From a Java Method
- Guide to the Java finally Keyword
- Java Weekly, Issue 314
- Arrays.sort vs Arrays.parallelSort
- Branch Prediction in Java
December 2019
- Spring Boot – Using a Color Startup Banner
- Spring Security and OpenID Connect (Legacy)
- Sending Emails with Logback
- Kruskal’s Algorithm for Spanning Trees with a Java Implementation
- Range Search Algorithm in Java
- Java Weekly, Issue 313
- Bitwise & vs Logical && Operators
- Using the Not Operator in If Conditions in Java
- How to Set the JVM Time Zone
- Median of Stream of Integers using Heap in Java
- Introduction to Ninja Framework
- Quick Guide to the Java Stack
- Java Scanner
- Get Substring from String in Java
- Pre-compile Regex Patterns Into Pattern Objects
- Deny Access on Missing @PreAuthorize to Spring Controller Methods
- Guide to WebRTC
- A Quick Guide to Post Requests with OkHttp
- AWS S3 with Java – Reactive Support
- Guide to the AuthenticationManagerResolver in Spring Security
- Wrapping vs Rethrowing Exceptions in Java
- How to Merge Two Sorted Arrays in Java
- How to Print a Binary Tree Diagram
- Java Weekly, Issue 312
- Maximum Subarray Problem in Java
- Using Maven Behind a Proxy
- Various Logging Levels in Hibernate
- Object-Oriented-Programming Concepts in Java
- Java Default Parameters Using Method Overloading
- Cucumber Background
- Java Weekly, Issue 311
- Organizing Layers Using Hexagonal Architecture, DDD, and Spring
- Error Handling with Spring AMQP
- Runtime.getRuntime().halt() vs System.exit() in Java
- Adding Shutdown Hooks for JVM Applications
- Overview of Combinatorial Problems in Java
- How to Create a Maven Plugin
- Clean Coding in Java
- Check if Two Strings Are Anagrams in Java
- Prim’s Algorithm with a Java Implementation
- Java Weekly, Issue 310
- Fibonacci Series in Java
- How to Implement a Quarkus Extension
- Handling URL Encoded Form Data in Spring REST
- Circular Linked List Java Implementation
- A Quick Guide to Timeouts in OkHttp
- Introduction to Spark Graph Processing with GraphFrames
- Spring MVC Themes
- Intro to Apache Tapestry
November 2019
- Checking if Two Java Dates Are on the Same Day
- Hibernate @NotNull vs @Column(nullable = false)
- Overflow and Underflow in Java
- Writing Custom Spring Cloud Gateway Filters
- Why I’m Breaking Up My “Learn Spring Security” Course?
- Java Weekly, Issue 309
- JPA/Hibernate Persistence Context
- Basic Calculator in Java
- Guide to RejectedExecutionHandler
- Java Compiler Error: illegal start of expression
- Cucumber Data Tables
- WebSockets with the Play Framework and Akka
- Common Concurrency Pitfalls in Java
- Disable Spring Boot Banner at Startup
- The Caesar Cipher in Java
- Mockito and Fluent APIs
- Remote Debugging with IntelliJ IDEA
- Implementing A* Pathfinding in Java
- Spring Optional Path Variables
- Benchmark JDK Collections vs Eclipse Collections
- Guide to Eureka Self Preservation and Renewal
- Java Weekly, Issue 308
- Get the Current Date Prior to Java 8
- Is It a Bad Practice to Catch Throwable?
- What Is a Pojo Class?
- Determine the Execution Time of JUnit Tests
- Java Weekly, Issue 307
- The strictfp Keyword in Java
- Skipping Weekends While Adding Days to LocalDate in Java 8
- Guide to Flash Attributes in a Spring Web Application
- Using Lombok’s @Accessors Annotation
- Documenting a Spring REST API Using OpenAPI 3.0
- The Bridge Pattern in Java
- Debugging Java 8 Streams with IntelliJ
- Find the Smallest Missing Integer in an Array
- FetchMode in Hibernate
- How to Determine if a Binary Tree Is Balanced in Java
- Parsing Command-Line Parameters with JCommander
- Reading HttpServletRequest Multiple Times in Spring
- Java Weekly, Issue 306
- A Guide to Spring’s Open Session in View
- Hibernate Error “Not all named parameters have been set”
- Scanner nextLine() Method
- Guide to ParameterMessageInterpolator
- Practical Application of Test Pyramid in Spring-based Microservice
- Java Weekly, Issue 305
- Generating Random Dates in Java
- Causes and Avoidance of java.lang.VerifyError
October 2019
- Customizing the Result of JPA Queries with Aggregation Functions
- Defensive Copies for Collections Using AutoValue
- Java Scanner hasNext() vs. hasNextLine()
- Converting Java Date to OffsetDateTime
- Mapping a Single Entity to Multiple Tables in JPA
- Testing a Spring Batch Job
- File System Mocking with Jimfs
- Intro to Spring Data Geode
- Best Practices for REST API Error Handling
- How to Count Duplicate Elements in Arraylist
- Programmatic Transaction Management in Spring
- Java Weekly, Issue 304
- JPA Annotation for the PostgreSQL TEXT Type
- Knapsack Problem Implementation in Java
- Guide to Tomcat Manager Application
- Transaction Propagation and Isolation in Spring @Transactional
- Prototype Pattern in Java
- Fallback for Zuul Route
- Java ‘protected’ Access Modifier
- Adding an Element to a Java Array vs an ArrayList
- The Spring TestExecutionListener
- Spring @ComponentScan – Filter Types
- Transaction Support in Spring Integration
- Java Weekly, Issue 303
- Spring Path Variables with Thymeleaf
- Java Application Remote Debugging
- Design Patterns Series
- Unable to Find @SpringBootConfiguration with @DataJpaTest
- How to Set Up a WildFly Server
- Validations for Enum Types
- Breadth-First Search Algorithm in Java
- Digital Signatures in Java
- Simultaneous Spring WebClient Calls
- Jetty ReactiveStreams HTTP Client
- Configuring Skip Logic in Spring Batch
- Java Weekly, Issue 302
- Searching for a String in an ArrayList
- The State of Java in 2019
- Hibernate @WhereJoinTable Annotation
- The Java File Class
- Intro to the Java SecurityManager
- A Guide to Java HashMap
- A Quick Guide to @DirtiesContext
- Using Enums as Request Parameters in Spring
- Integrating Spring with AWS Kinesis
- Excluding URLs for a Filter in a Spring Web Application
- Java FileWriter
- Java Weekly, Issue 301
- Spring Security – Attacking OAuth
- Methods in Java
- System.out.println vs Loggers
- Flogger Fluent Logging
September 2019
- Mocking a WebClient in Spring
- Ignoring Unmapped Properties with MapStruct
- Threading Models in Java
- How to Change the Java Version in an IntelliJ Project
- Authentication with HttpUrlConnection
- Grouping Jakarta (Javax) Validation Constraints
- Using JaVers for Data Model Auditing in Spring Data
- Parsing an XML File Using SAX Parser
- Graceful Shutdown of a Spring Boot Application
- Self-Hosted Monitoring for Spring Boot Applications
- Using a Slash Character in Spring URLs
- Java Weekly, Issue 300
- Using Multiple Source Objects with MapStruct
- Spring Validation Message Interpolation
- Categories in Groovy
- Java Weekly, Issue 299
- Convert XML to HTML in Java
- Comparing Dates in Java
- Changing the Logging Level at the Runtime for a Spring Boot Application
- Using JDBI with Spring Boot
- Bucket Sort in Java
- Twelve-Factor Methodology in a Spring Boot Microservice
- Repositories with Multiple Spring Data Modules
- Logistic Regression in Java
- Unmarshalling Dates Using JAXB
- Create a File in a Specific Directory in Java
- Get Started with Java
- Java Weekly, Issue 298
- Radix Sort in Java
- OCP Certification – Advanced Java Class Design
- Difference between context:annotation-config vs context:component-scan
- Permissions-Based Access Control with Apache Shiro
- Custom Mapper with MapStruct
- How to Compress Requests Using the Spring RestTemplate
- Debugging the Spring MVC 404 “No mapping found for HTTP request” Error
- Spring Data Reactive Repositories with Couchbase
- Guide to System.gc()
- Java – “Could Not Find or Load Main Class” Error
- Finding the Difference Between Two Strings in Java
- Java Copy Constructor
- Generating Random Numbers in a Range in Java
- Listing Numbers Within a Range in Java
- A Guide to the Java FileReader Class
- Logging Spring WebClient Calls
- A Quick Guide to Working with Web Services in Groovy
- Removing an Element From an ArrayList
- Intro to DataStax Java Driver for Apache Cassandra
- Primitive Collections in Eclipse Collections
- How to Avoid the Java FileNotFoundException When Loading Resources
- Add a Header to a Jersey SSE Client Request
- Convert Character Array to String in Java
- Command-Line Arguments in Java
- A Guide to Spring Boot Configuration Metadata
- Implementing a Simple Blockchain in Java
- Java Weekly, Issue 297
- Java ‘private’ Access Modifier
- Java ‘public’ Access Modifier
- Counting Sort in Java
- Parsing an XML File Using StAX
August 2019
- Building Java Applications with Bazel
- Spring Cloud Tutorial
- Java Weekly, Issue 296
- The XOR Operator in Java
- Using a Mutex Object in Java
- FreeMarker Common Operations
- Machine Learning with Spark MLlib
- Checked and Unchecked Exceptions in Java
- A Guide to System.exit()
- An Intro to the Java Debug Interface (JDI)
- Logging HTTP Requests with Spring Boot Actuator HTTP Tracing
- Counting Words in a String with Java
- Isomorphic Application with React and Nashorn
- Run a Java main Method Using Gradle
- @Timed Annotation Using Metrics and AspectJ
- JPA Query Parameters Usage
- JHipster Authentication with an External Service
- Java Weekly, Issue 295
- Guide to JUnit 4 Rules
- Calling Default Serializer from Custom Serializer in Jackson
- Java Naming and Directory Interface Overview
- Validating Lists in a Spring Controller
- Finding the Least Common Multiple in Java
- Memento Design Pattern in Java
- Creating a Triangle with for Loops in Java
- Implementing the Oauth 2.0 Authorization Framework Using Jakarta EE
- Debugging with Eclipse
- Interpolation Search in Java
- A Guide to SirixDB
- Java String equalsIgnoreCase()
- Guide to In-Place Sorting Algorithm Works with a Java Implementation
- The K-Means Clustering Algorithm in Java
- Calculating Logarithms in Java
- MyBatis with Spring
- @TestInstance Annotation in JUnit 5
- Selection Sort in Java
- Java Weekly, Issue 294
- A Guide to Java GSS API
- Finding Greatest Common Divisor in Java
- Find the Number of Lines in a File Using Java
- Evaluation of Methods References in Java
- Thymeleaf lists Utility Object
- Java ‘Hello World’ Example
- Javax BigDecimal Validation
- Java Weekly, Issue 293
- Automatic Generation of the Builder Pattern with FreeBuilder
- An Introduction to Java SASL
- Running a Spring Boot App with Maven vs an Executable War/Jar
- Binary Numbers in Java
- Metaprogramming in Groovy
- A Guide to Increment and Decrement Unary Operators in Java
- Sorting Strings by Contained Numbers in Java
- The Basics of Java Security
- Convert String to Double in Java
- Modifying an XML Attribute in Java
- Interface Driven Controllers in Spring
- Spring WebClient Filters
- Composition, Aggregation, and Association in Java
- Depth First Search in Java
- Spring Security: Exploring JDBC Authentication
- Better Retries with Exponential Backoff and Jitter
- Guide to @SpringBootConfiguration in Spring Boot
- The Difference between getRequestURI and getPathInfo in HttpServletRequest
- Guide to StreamTokenizer
July 2019
- The Difference Between Failure and Error in JUnit
- Mapping Entity Class Names to SQL Table Names with JPA
- Java Weekly, Issue 292
- Reloading Properties Files in Spring
- Functional Controllers in Spring MVC
- A Guide to the sql2o JDBC Wrapper
- Changing the Thymeleaf Template Directory in Spring Boot
- Shell Sort in Java
- R2DBC – Reactive Relational Database Connectivity
- Creating the Java Builder for a Class in IntelliJ
- Spring Request Parameters with Thymeleaf
- String toLowerCase and toUpperCase Methods in Java
- Using a Spring Boot Application as a Dependency
- Checking if a URL Exists in Java
- Embedded Redis Server with Spring Boot Test
- Java Weekly, Issue 291
- Checking If an Array Is Sorted in Java
- Looping Diagonally Through a 2d Java Array
- Spring WebClient vs. RestTemplate
- @DynamicUpdate with Spring Data JPA
- Concatenate Strings with Groovy
- Transferring a File Through SFTP in Java
- Get the Current Working Directory in Java
- Mocking a Void Method with EasyMock
- Introduction to Morphia – Java ODM for MongoDB
- JUnit 5 TestWatcher API
- The Proxy Pattern in Java
- A Quick Look at R2DBC with Spring Data
- Java Weekly, Issue 290
- Lossy Conversion in Java
- Upload and Retrieve Files Using MongoDB and Spring Boot
- JUnit Custom Display Name Generator API
- Remote Code Execution with XStream
- Guide to Spring Cloud Stream with Kafka, Apache Avro and Confluent Schema Registry
- Quick Guide to EasyRandom in Java
- Compare Two JSON Objects with Jackson
- Adding Copyright License Header for Java Source Files in Eclipse
- Java Weekly, Issue 289
- Disable Spring Data Auto Configuration
- Matrix Multiplication in Java
- Guide to Java BiFunction Interface
- Removing an Element from an Array in Java
- Override Properties in Spring’s Tests
- The Spring @Qualifier Annotation
- How to Reverse a String in Java
- Working with Enums in Thymeleaf
- JWS + JWK in a Spring Security OAuth2 Application
- The Java SecureRandom Class
- Guide to MapDB
- A Guide to Apache Mesos
- A Guide to NanoHTTPD
- Setting the MySQL JDBC Timezone Using Spring Boot Configuration
- Why Choose Spring as Your Java Framework?
- Java Multi-line String
- Checking If a String Is a Repeated Substring
- Checking for Empty or Blank Strings in Java
- Key Value Store with Chronicle Map
- Check If a String Is a Valid Date in Java
- Java Weekly, Issue 288
- Breaking Out of Nested Loops
- Understanding getBean() in Spring
June 2019
- The Difference Between Collection.stream().forEach() and Collection.forEach()
- Guide to @EnableConfigurationProperties
- Spring Data MongoDB Tailable Cursors
- Handling Maven Invalid LOC Header Error
- Guide to Java Parallel Collectors Library
- Java 8 Stream skip() vs limit()
- Templating with Handlebars
- Java IntStream Conversions
- Converting Iterator to List
- How to Break from Java Stream forEach
- Java Weekly, Issue 287
- Raw Types in Java
- Checking If a List Is Sorted in Java
- Google AutoService
- Overview of JPA/Hibernate Cascade Types
- Understanding the JAR Manifest File
- Lazy Initialization in Spring Boot 2
- A Guide to the Folding Technique in Java
- Load a Resource as a String in Spring
- Ratpack with Groovy
- Java Weekly, Issue 286
- Download a Large File Through a Spring RestTemplate
- JUnit 5 Temporary Directory Support
- Converting JSON to CSV in Java
- Converting Iterable to Collection in Java
- Jest – Elasticsearch Java Client
- Determine File Creation Date in Java
- Checking if a Java Graph Has a Cycle
- Java Weekly, Issue 285
- Introduction to SPF4J
- Copying Sets in Java
- Integrating Groovy into Java Applications
- The Spring Boot Starter Parent
- Java Optional as Return Type
- Hibernate Validator Specific Constraints
- Working with XML in Groovy
- Spring Session with MongoDB
- Decode an OkHttp JSON Response
- Java Weekly, Issue 284
- A Guide to Crawler4j
- Using SpringJUnit4ClassRunner with Parameterized
- Java 8 Collectors toMap
- Guide to ApplicationContextRunner in Spring Boot
- Will an Error Be Caught by Catch Block in Java?
- Geospatial Support in MongoDB
- Refactoring in Eclipse
- Enabling Transaction Locks in Spring Data JPA
May 2019
- Java Weekly, Issue 283
- Double Dispatch in DDD
- Explore Jersey Request Parameters
- Composite Primary Keys in JPA
- Understanding the NumberFormatException in Java
- Java Weekly, Issue 282
- Codota – My First Experience Working with an AI Assistant in Java
- Intro to OData with Olingo
- RSocket Using Spring Boot
- Design Strategies for Decoupling Java Modules
- Spring Boot Embedded Tomcat Logs
- JPA/Hibernate Projections
- Guide to Java FileChannel
- Negate a Predicate Method Reference with Java 11
- How to Delay Code Execution in Java
- The Difference Between CDI and EJB Singleton
- Persisting Enums in JPA
- LIKE Queries in Spring JPA Repositories
- Removing Stopwords from a String in Java
- String API Updates in Java 12
- Difference Between a Java Keystore and a Truststore
- String Initialization in Java
- Java Weekly, Issue 281
- Converting Between Stream and Array in Java
- Template Engines in Groovy
- How to Find an Exception’s Root Cause in Java
- Derived Query Methods in Spring Data JPA Repositories
- OData Protocol Guide
- JPA @Basic Annotation
- Java Weekly, Issue 280
- Default Column Values in JPA
- Java Localization – Formatting Messages
- Authenticating with Amazon Cognito Using Spring Security
- Get the Path of the /src/test/resources Directory in JUnit
- Mockito Strict Stubbing and The UnnecessaryStubbingException
- Tagging and Filtering JUnit Tests
- Defining JPA Entities
- Create a Java Command Line Program with Picocli
- Skipping Tests with Maven
- Void Type in Java
- Guide to Quarkus
- Guide to Classgraph Library
- RestTemplate Post Request with JSON
- Run a Java Application from the Command Line
- Batch Insert/Update with Hibernate/JPA
- Multi-Module Maven Application with Java Modules
- Guide to FastUtil
- Writing Clojure Webapps with Ring
- Convert Time to Milliseconds in Java
- Guide to Maven Profiles
- Extending an Array’s Length
- Spring Data JPA and Named Entity Graphs
- Java Weekly, Issue 279
April 2019
- Spring WebClient Requests with Parameters
- Check If a String Contains a Substring
- Difference Between @Size, @Length, and @Column(length=value)
- Java 9 Migration Issues and Resolutions
- MongoDB BSON Guide
- Maps in Groovy
- Pattern Matching in Strings in Groovy
- How to Process YAML with Jackson
- Rendering Exceptions in JSON with Spring
- Introduction to SPNEGO/Kerberos Authentication in Spring
- REST Assured Authentication
- Set Operations in Java
- Guide to Google Tink
- Spring Data JPA Delete and Relationships
- Java Weekly, Issue 278
- Generic Constructors in Java
- Groovy def Keyword
- Spring Data JPA Repository Populators
- Types of SQL Joins
- Persisting Maps with Hibernate
- Anonymous Classes in Java
- Spring Data Web Support
- How to Configure Spring Boot Tomcat
- Spring Boot With H2 Database
- Setting the Log Level in Spring Boot When Testing
- Spring Data JPA and Null Parameters
- Guide to Guava Multiset
- Spring Data JPA Projections
- Jpa @Embedded and @Embeddable
- Java Weekly, Issue 277
- Introduction to Flowable
- JPA Join Types
- Guide to Spock Extensions
- Spring Security Kerberos Integration With MiniKdc
- Why Do Local Variables Used in Lambdas Have to Be Final or Effectively Final?
- A Quick Guide To Using Cloud Foundry UAA
- Copying a HashMap in Java
- Guide to Spring Cloud Kubernetes
- Compressed OOPs in the JVM
- Java Weekly, Issue 276
- REST vs WebSockets
- Spring Cloud Data Flow With Apache Spark
- Reversing a Binary Tree in Java
- BIRT Reporting with Spring Boot
- Avoid Check for Null Statement in Java
- Cannot Reference “X” Before Supertype Constructor Has Been Called
- How to Read HTTP Headers in Spring REST Controllers
- EnvironmentPostProcessor in Spring Boot
- Case Insensitive Queries with Spring Data Repository
- The Dependency Inversion Principle in Java
- A Guide to jBPM with Java
- Transforming an Empty String into an Empty Optional
- Types of JPA Queries
- SLF4J Warning: Class Path Contains Multiple SLF4J Bindings
- Find If Two Numbers Are Relatively Prime in Java
- An Introduction to Refactoring with IntelliJ IDEA
- The Exists Query in Spring Data
- REST-assured Support for Spring MockMvc
- Java Weekly, Issue 275
- The Mediator Pattern in Java
March 2019
- Creating New APIs and Views in JHipster
- Difference Between save() and saveAndFlush() in Spring Data JPA
- Differences Between JAR and WAR Packaging
- Map of Primitives in Java
- Java Weekly, Issue 274
- Spring Data JPA – Derived Delete Methods
- Read an InputStream using the Java Server Socket
- Finding Elements in Collections in Groovy
- Closures in Groovy
- Guide to jlink
- Converting Between LocalDate and XMLGregorianCalendar
- TransactionRequiredException Error
- Spring Boot Reactor Netty Configuration
- Spring Boot Consuming and Producing JSON
- Java Weekly, Issue 273
- Introduction to Project Amber
- How to Fix java.lang.UnsupportedClassVersionError
- Getting and Verifying Response Data with REST-assured
- Spring Boot with Hibernate
- Introduction to Tensorflow for Java
- A Java Web Application Without a web.xml
- RxJava Hooks
- Method Inlining in the JVM
- Using @Autowired in Abstract Classes
- Making a JSON POST Request With HttpURLConnection
- How to Return 404 with Spring WebFlux
- Java Weekly, Issue 272
- Currying in Java
- Spring Properties File Outside jar
- Mapping Multiple JSON Fields to a Single Java Field
- Programmatically Creating Sequences with Project Reactor
- Guide to java.lang.ProcessBuilder API
- Resolving “Failed to Configure a DataSource” Error
- Building a Web Application with Spring Boot and Angular
- Serializing and Deserializing a List with Gson
- Eclipse Error: web.xml is missing and failOnMissingWebXml is set to true
- Difference Between Stub, Mock, and Spy in the Spock Framework
- Using the @Singular Annotation with Lombok Builders
- Guide to the JDBC ResultSet Interface
- Introduction to Spring Cloud OpenFeign
- Adding a Copyright License Header for Java Source Files in IntelliJ IDEA
- Filtering a Java Collection by a List
- An Introduction to Epsilon GC: A No-Op Experimental Garbage Collector
- Combining JPA And/Or Criteria Predicates
- Introduction to the Null Object Pattern
- Guide to Stream.reduce()
- Lists in Groovy
- Converting a String to a Date in Groovy
- )
- Guide to I/O in Groovy
- Java’s Time-Based Releases
- Java Weekly, Issue 271
- Spring Data JPA Batch Inserts
- JDK Configuration for Maven Build in Eclipse
- Native Memory Tracking in JVM
- Static Content in Spring WebFlux
- Convert String to JsonObject with Gson
- JUnit 5 Conditional Test Execution with Annotations
February 2019
- A Guide to the Reflections Library
- Java Weekly, Issue 270
- How to Change Java Version in an Eclipse Project
- Maven Enforcer Plugin
- Ratpack with RxJava
- Spring Data JPA @Modifying Annotation
- Creating New Roles and Authorities in JHipster
- The Adapter Pattern in Java
- SQL Injection and How to Prevent It?
- Testing Web APIs with Postman Collections
- Iterating Over an Instance of org.json.JSONObject
- Java Weekly, Issue 269
- Validating RequestParams and PathVariables in Spring
- An Introduction to Traits in Groovy
- Guide to Apache Commons MultiValuedMap
- Using WireMock Scenarios
- Performance Comparison of Primitive Lists in Java
- A Quick Guide to Iterating a Map in Groovy
- Formatting JSON Dates in Spring Boot
- Introduction to Leiningen for Clojure
- Ahead of Time Compilation (AoT)
- Types of Strings in Groovy
- DB Integration Tests with Spring Boot and Testcontainers
- Multi-Release Jar Files
- Creating a Custom Annotation in Java
- Preventing Username Enumeration Attacks with Spring Security
- Java Valhalla Project
- Hibernate Query Plan Cache
- Java Weekly, Issue 268
- Working With Maps Using Streams
- Determine If All Elements Are the Same in a Java List
- Fixing 401s with CORS Preflights and Spring Security
- Hibernate Aggregate Functions
- Creating a SOAP Web Service with Spring
- How to Test the @Scheduled Annotation
- A Guide to the Problem Spring Web Library
- Handle Security in Zuul, with OAuth2 and JWT
- Defining a Char Stack in Java
- Filtering Jackson JSON Output Based on Spring Security Role
- Reading a File in Groovy
- An Introduction to ZGC: A Scalable and Experimental Low-Latency JVM Garbage Collector
- Guide to Creating and Running a Jar File in Java
- Marker Interfaces in Java
- Validation in Spring Boot
- Differences Between Oracle JDK and OpenJDK
- Guice vs Spring – Dependency Injection
- Announcing “Learn Spring”
- Java Weekly, Issue 267
- Accessing Spring MVC Model Objects in JavaScript
- Method References in Java
- A Solid Guide to SOLID Principles
- Java Classes and Objects
- Common String Operations in Java
- List of Primitive Integer Values in Java
January 2019
- Java Bitwise Operators
- List Files in a Directory in Java
- Java Weekly, Issue 266
- Notify User of Login From New Device or Location
- Spring Dependency Injection
- Spring Data JPA Query by Example
- Conditionally Enable Scheduled Jobs in Spring
- Check If a String Contains Multiple Keywords in Java
- OpenJDK Project Loom
- Introduction to Clojure
- Blade – A Complete Guidebook
- Configuring a DataSource Programmatically in Spring Boot
- Guide to XMPP Smack Client
- Convert a Float to a Byte Array in Java
- Delete the Contents of a File in Java
- Finding Leap Years in Java
- Guide to JUnit 5 Parameterized Tests
- Java Weekly, Issue 265
- Variable Scope in Java
- Counting Matches on a Stream Filter
- Implementing Simple State Machines with Java Enums
- Common Hibernate Exceptions
- Create a Directory in Java
- JPA 2.2 Support for Java 8 Date/Time Types
- Retrieve Fields from a Java Class Using Reflection
- Summing Numbers with Java Streams
- Spring Boot Ehcache Example
- Building a Data Pipeline with Kafka, Spark Streaming and Cassandra
- How to Write to a CSV File in Java
- Setting up Lombok with Eclipse and Intellij
- Spring PostConstruct and PreDestroy Annotations
- Java 8 Streams peek() API
- Deprecated Classes in Spring
- Map to String Conversion in Java
- Converting Between LocalDate and SQL Date
- Java Weekly, Issue 264
- How to Find JAVA_HOME
- Deserialize Immutable Objects with Jackson
- Enabling TLS v1.2 in Java 7
- Kafka Connect Example with MQTT and MongoDB
- Using Curl in Java
- Spring WebClient and OAuth2 Support
- Java instanceof Operator
- Intro to Derive4J
- Attaching Values to Java Enum
- Differences Between ZonedDateTime and OffsetDateTime
- What Is Thread-Safety and How to Achieve It?
- Guide to the Java Queue Interface
- Java toString() Method
- Spring Boot Interview Questions
- Java Interfaces
- Permutations of an Array in Java
- Monitoring Java Applications with Flight Recorder
- Java Weekly, Issue 263
- Check if a String Is a Pangram in Java
- Java ArrayList vs Vector
- Java Two Pointer Technique
- Java String Interview Questions and Answers
- Deploy a Spring Boot Application to AWS Beanstalk
- Exclude Auto-Configuration Classes in Spring Boot Tests
- Control Structures in Java
- Multi Dimensional ArrayList in Java
- Immutable Set in Java
- Java Weekly, Issue 262
- Java @SafeVarargs Annotation
- Java @Deprecated Annotation
- Java @SuppressWarnings Annotation
- Java @Override Annotation
- If-Else Statement in Java
- The Java Native Keyword and Methods
- Introduction to Basic Syntax in Java
- Java 11 Nest Based Access Control
December 2018
- INSERT Statement in JPA
- Integrating Spring Boot with HSQLDB
- Criteria Queries Using JPA Metamodel
- Convert a Comma Separated String to a List in Java
- Concatenating Strings in Java
- Java EE vs J2EE vs Jakarta EE
- Passing Parameters to Java Threads
- Hibernate 5 Bootstrapping API
- Differences Between HashMap and Hashtable in Java
- Introduction to Akka HTTP
- Verbose Garbage Collection in Java
- Replace a Character at a Specific Index in a String in Java
- Mapping a Dynamic JSON Object with Jackson
- Intersection of Two Lists in Java
- Java Weekly, Issue 261
- Introduction to JVM Code Cache
- Persist a JSON Object Using Hibernate
- Debugging Spring Applications
- Building a Basic UAA-Secured JHipster Microservice
- Testing Reactive Streams Using StepVerifier and TestPublisher
- Self-Healing Applications with Kubernetes and Spring Boot
- BufferedReader vs Console vs Scanner in Java
- Java EE 7 Batch Processing
- Java Weekly, Issue 260
- A Guide to Hibernate OGM
- Working with Primitive Values in Gson
- Sorting Arrays in Java
- Java 8 Predicate Chain
- Implementing a Custom Lombok Annotation
- IntelliJ Debugging Tricks
- Guide to Java Packages
- Java 11 String API Additions
- Calculate Factorial in Java
- Find Substrings That Are Palindromes in Java
- Pagination and Sorting using Spring Data JPA
- Guide to ShedLock with Spring
- Testing with Spring and Spock
- Introduction to RSocket
- Programmatically Restarting a Spring Boot Application
- Java 11 Local Variable Syntax for Lambda Parameters
- Introduction to Functional Java
- Using c3p0 with Hibernate
- Java 11 Single File Source Code
- Guide to the Hibernate EntityManager
- Java Stream Filter with Lambda Expression
- Spring MVC Interview Questions
- Comparing Two HashMaps in Java
- Escape JSON String in Java
- Java Weekly, Issue 259
- Converting Synchronous and Asynchronous APIs to Observables using RxJava2
- Connecting Through Proxy Servers in Core Java
- How to Start a Thread in Java
- How to Check if Java Is Installed
- Debugging Reactive Streams in Java
- Hibernate Named Query
- One-to-One Relationship in JPA
- Find the Longest Substring Without Repeating Characters
- Java Compound Operators
- Immutable Map Implementations in Java
- Spring Boot With SQLite
- Formatting Output with printf() in Java
- JPA Entity Graph
- Java Weekly, Issue 258
- Remove Leading and Trailing Characters from a String
- Customizing Authorization and Token Requests with Spring Security 5.1 Client
- Guide to Character Encoding
- Get All Data from a Table with Hibernate
- Auto-Generated Field for MongoDB using Spring Boot
November 2018
- Ways to Iterate Over a List in Java
- Java Weekly, Issue 257
- Spring Data with Reactive Cassandra
- Array to String Conversions
- Join Array of Primitives with Separator in Java
- Logging a Reactive Sequence
- Retrieving a Class Name in Java
- Graphs in Java
- Java equals() and hashCode() Contracts
- Java CyclicBarrier vs CountDownLatch
- Introduction to the Event Notification Model in CDI 2.0
- Abstract Factory Pattern in Java
- Sorting Query Results with Spring Data
- Introduction to RESTX
- Gatling vs JMeter vs The Grinder: Comparing Load Test Tools
- Removing Repeated Characters from a String
- Java Interview Questions
- Java Weekly, Issue 256
- The Difference Between JPA, Hibernate and EclipseLink
- The Decorator Pattern in Java
- A Guide to Constructors in Java
- Basic IntelliJ Configuration
- Remove or Replace Part of a String in Java
- A Guide to the Java Math Class
- Difference Between @JoinColumn and mappedBy
- Fixing the JPA error “java.lang.String cannot be cast to Ljava.lang.String;”
- Abstract Classes in Java
- Convert Between String and Timestamp
- Using Subflows in Spring Integration
- Java Compiler Error: “class, interface, or enum expected”
- Guide to ReflectionTestUtils for Unit Testing
- Criteria API – An Example of IN Expressions
- Adding a Newline Character to a String in Java
- Pad a String with Zeros or Spaces in Java
- Customizing HTTP Endpoints in Spring Data REST
- Spring @RequestParam Annotation
- Introduction to Kafka Connectors
- Deploy a Spring Boot Application to OpenShift
- Convert String to Byte Array and Reverse in Java
- Many-To-Many Relationship in JPA
- Java Weekly, Issue 255
- Persisting DDD Aggregates
- Intersection Between Two Integer Arrays
- Calculate the Area of a Circle in Java
- Mockito Tutorial
- ZonedDateTime with Spring Data MongoDB
- Limiting Query Results With JPA and Spring Data JPA
- Java Weekly, Issue 254
- How to Replace Many if Statements in Java
- Deep Dive Into the New Java JIT Compiler – Graal
- Installing Java on Ubuntu
- Generate a Secure Random Password in Java
- Convert Latitude and Longitude to a 2D Point in Java
- Guide to BufferedReader
- Spring Security OAuth Login with WebFlux
- Spring Null-Safety Annotations
- SSL Handshake Failures
- Array Operations in Java
- Mocking a RestTemplate in Spring
- Print Even and Odd Numbers Using 2 Threads
- Convert Between java.time.Instant and java.sql.Timestamp
- Rate Limiting in Spring Cloud Netflix Zuul
- Understanding Memory Leaks in Java
- Hibernate Field Naming with Spring Boot
- A Guide to EnumMap
October 2018
- Spring Boot CRUD Application with Thymeleaf
- Using indexOf to Find All Occurrences of a Word in a String
- Merging java.util.Properties Objects
- Lombok Builder with Custom Setter
- Arrays in Java: A Reference Guide
- Microservices with Oracle Helidon
- Java Weekly, Issue 253
- Get a Value by Key in a JSONArray
- Reading a CSV File into an Array
- Java Weekly, Issue 252
- Intro to Apache Storm
- Working with Date Parameters in Spring
- Lombok Builder with Default Value
- Removing Elements from Java Collections
- HTTPS using Self-Signed Certificate in Spring Boot
- Request Method Not Supported (405) in Spring
- Format ZonedDateTime to String
- Introduction to Apache Pulsar
- A Guide to SimpleDateFormat
- Converting a Collection to ArrayList in Java
- An Introduction to SuanShu
- Custom Types in Hibernate and the @Type Annotation
- A Guide to Spring Session Reactive Support: WebSession
- Convert JSON to a Map Using Gson
- Dockerizing Java Apps using Jib
- Java Weekly, Issue 251
- Heap Sort in Java
- Validation for Functional Endpoints in Spring 5
- Display Auto-Configuration Report in Spring Boot
- An Introduction to Synchronized Java Collections
- Concrete Class in Java
- Convert XML to JSON Using Jackson
- The Modulo Operator in Java
- Using JUnit 5 with Gradle
- Maven Error “JAVA_HOME should point to a JDK not a JRE”
- An Introduction to Spring Data Redis Reactive
- Exploring the Jersey Test Framework
- Multi-Module Project with Maven
- Guide to Ebean ORM
- Java 8 Streams: Find Items From One List Based on Values From Another List
- Combining Different Types of Collections in Java
- Converting Between Byte Arrays and Hexadecimal Strings in Java
- Setting the Java Version in Maven
- Write an org.w3.dom.Document to a File
- Guide to EnumSet
- Difference Between @NotNull, @NotEmpty, and @NotBlank Constraints in Bean Validation
- Guide to DateTimeFormatter
- Use the Latest Version of a Dependency in Maven
- Java Weekly, Issue 250
- How to Use if/else Logic in Java 8 Streams
- Insertion Sort in Java
- Guide to Java OutputStream
- Cache Eviction in Spring Boot
- Gradle: build.gradle vs. settings.gradle vs. gradle.properties
- Logging to Graylog with Spring Boot
- Maven Polyglot
- WildFly with Eclipse – Installation and Setup
- How to Check If a Key Exists in a Map
- Using Math.sin with Degrees
- Spring Data MongoDB Transactions
- Calculating the nth Root in Java
- Merging Two Maps with Java 8
- ETL with Spring Cloud Data Flow
- Java Weekly, Issue 249
- Proxy in Hibernate load() Method
- Combining RxJava Completables
- Quicksort Algorithm Implementation in Java
- CDI Portable Extension and Flyway
- A Quick Guide to Apache Geode
- Ternary Operator in Java
September 2018
- Calculate Percentage in Java
- Deploy a Spring Boot Application to Google App Engine
- Operating on and Removing an Item from Stream
- A Controller, Service and DAO Example with Spring Boot and JSF
- Merge Sort in Java
- Online Java Compilers
- Guide to Passay
- String Performance Hints
- Exactly Once Processing in Kafka with Java
- Maven Goals and Phases
- A Comparison Between Spring and Spring Boot
- What Is a Spring Bean?
- Java Weekly, Issue 248
- Guide to ScribeJava
- Introduction to Protonpack
- Java Switch Statement
- Finding the Highest Value in a Java Map
- Netflix Archaius with Various Database Configurations
- Spring Persistence Tutorial
- Warning: “The type MockitoJUnitRunner is deprecated”
- Sort a HashMap in Java
- Hashing a Password in Java
- Access the Same In-Memory H2 Database in Multiple Spring Boot Applications
- ZoneOffset in Java
- String Not Empty Test Assertions in Java
- How to Separate Double into Integer and Decimal Parts
- Java Weekly, Issue 247
- Find the Registered Spring Security Filters
- Different Ways to Capture Java Heap Dumps
- Hibernate 5 Naming Strategy Configuration
- A Quick Guide to @TestPropertySource
- Round Up to the Nearest Hundred in Java
- Unsatisfied Dependency in Spring
- Differences Between Collection.clear() and Collection.removeAll()
- Guide to AWS Aurora RDS with Java
- Mapping A Hibernate Query to a Custom Class
- Bean Validation in Jersey
- Guide to java.lang.Process API
- Serverless Functions with Spring Cloud Function
- Building a Data Pipeline with Flink and Kafka
- An Intro to Spring Cloud Vault
- Spring Data – CrudRepository save() Method
- Convert Double to String, Removing Decimal Places
- An Introduction to Apache Commons Lang 3
- Brief Introduction to Java Thread.yield()
- Java Weekly, Issue 246
- Get the Key for a Value from a Java Map
- A Guide to OptaPlanner
- Ratpack HTTP Client
- Spring Security – Whitelist IP Range
- Using Lombok’s @Getter for Boolean Fields
- OAuth2 – @EnableResourceServer vs @EnableOAuth2Sso
- Lombok @Builder with Inheritance
- Spring Vault
- Check if Two Rectangles Overlap in Java
- Guide to Jakarta EE JTA
- Spring WebSockets: Send Messages to a Specific User
- Permgen vs Metaspace in Java
- DDD Aggregates and @DomainEvents
- Server-Sent Events in Spring
- Convert java.util.Date to String
- How to Disable Console Logging in Spring Boot
- An Intro to Vault
- Java Weekly, Issue 245
- Calculate the Distance Between Two Points in Java
- Remove Emojis from a Java String
- Load Spring Boot Properties From a JSON File
- Synthetic Constructs in Java
- Spring Security for Spring Boot Integration Tests
- Time Complexity of Java Collections
- Add a Character to a String at a Given Position
- Set a Response Body in JAX-RS
- Check if a String Contains All the Letters of the Alphabet With Java
- Introduction to Spring Security Taglibs
- Find the Intersection of Two Lines in Java
- Configuring a Tomcat Connection Pool in Spring Boot
- Deploying a Spring Boot Application to Cloud Foundry
- Sorting a String Alphabetically in Java
- @JoinColumn Annotation Explained
August 2018
- Java Primitives Versus Objects
- A Guide to Apache Crunch
- Java Weekly, Issue 244
- Reactive JAX-RS Client API
- Working With Custom HTML Attributes in Thymeleaf
- JBoss Server – How to Start and Stop?
- Use Criteria Queries in a Spring Data Application
- Overview and Need for DelegatingFilterProxy in Spring
- Throw Exception in Optional in Java 8
- Spring Application Context Events
- Different Types of Flows in Mule
- Java 9 Platform Logging API
- Stream Ordering in Java
- ClassCastException: Arrays$ArrayList cannot be cast to ArrayList
- Guide to Lucene Analyzers
- Spring Autowiring of Generic Types
- Spring Security Login Page with Angular
- Java Check a String for Lowercase/Uppercase Letter, Special Character and Digit
- Java Weekly, Issue 243
- Difference Between Flatmap and Switchmap in RxJava
- Writing IntelliJ IDEA Plugins
- Save Data to a JSON File with Gson
- Iterate Through a Range of Dates in Java
- Difference Between Throw and Throws in Java
- Spring Integration Java DSL
- Integration Testing with Maven
- Configuring a Hikari Connection Pool with Spring Boot
- Spring Component Scanning
- Jetty Configuration in Eclipse
- Mock Static Method using JMockit
- Introduction to Chaos Monkey
- Introduction to Netflix Archaius with Spring Cloud
- Removing the First Element of an Array
- Hibernate Entity Lifecycle
- Spring Data Composable Repositories
- Java Constructors vs Static Factory Methods
- Tomcat Configuration in Eclipse
- Overview of JSON Pointer
- An Overview of Regular Expressions Performance in Java
- Java Weekly, Issue 242
- Deploy a WAR File in JBoss
- Java List Initialization in One Line
- Static and Dynamic Binding in Java
- Differences Between Final, Finally and Finalize in Java
- Performance of contains() in a HashSet vs ArrayList
- Running JUnit Tests in Parallel with Maven
- Maven Project with Multiple Source Directories
- Read a File into an ArrayList
- Change the Default Port in WildFly
- Increase Heap Memory for WildFly
- Initialize a HashMap in Java
- Testing an Abstract Class With JUnit
- State Design Pattern in Java
- Collections.emptyList() vs. New List Instance
- Introduction to Hazelcast Jet
- Jersey MVC Support
- Server-Sent Events (SSE) in JAX-RS
- Extracting Principal and Authorities using Spring Security OAuth
- Default Password Encoder in Spring Security 5
- Running JUnit Tests Programmatically, from a Java Application
- Why String Is Immutable in Java?
- Set the Time Zone of a Date in Java
- Concurrent Strategies using MDBs
- Java Weekly, Issue 241
- Custom Validation MessageSource in Spring Boot
- Thread Safe LIFO Data Structure Implementations
- Remove All Occurrences of a Specific Value from a List
- A Simple E-Commerce Implementation with Spring
- java.util.Date vs java.sql.Date
- Java Null-Safe Streams from Collections
- Sample Application with Spring Boot and Vaadin
- MQTT Client in Java
- Creating a Custom Log4j2 Appender
- Logging Exceptions Using SLF4J
- Java Weekly, Issue 240
- Spring MVC Streaming and SSE Request Processing
- A Simple Guide to Connection Pooling in Java
- A Guide to JavaFaker
July 2018
- Parsing YAML with SnakeYAML
- Display RSS Feed with Spring MVC
- How to Filter a Collection in Java
- Add Multiple Items to an Java ArrayList
- Auto-import Classes in IntelliJ
- Spring Session with JDBC
- Remove the First Element from a List
- Vue.js Frontend with a Spring Boot Backend
- Spring @Primary Annotation
- Comparing Embedded Servlet Containers in Spring Boot
- Overriding System Time for Testing in Java
- Java Weekly, Issue 239
- Mockito.mock() vs @Mock vs @MockBean
- A Guide to SqlResultSetMapping
- Guide to Java Instrumentation
- Query Entities by Dates and Times with Spring Data JPA
- How to Convert List to Map in Java
- Getting a File’s Mime Type in Java
- A Guide to Eclipse JNoSQL
- A Guide to Message Driven Beans in EJB
- How to Trigger and Stop a Scheduled Spring Batch Job
- Initializing HashSet at the Time of Construction
- Guide to Apache Avro
- Spring Webflux and CORS
- Build a Jar with Maven and Ignore the Test Results
- Test a REST API with curl
- Guide to JMapper
- Uploading MultipartFile with Spring RestTemplate
- Java Weekly, Issue 238
- Spring REST and HAL Browser
- Introduction to Micronaut Framework
- Common Java Exceptions
- Spring Security Custom AuthenticationFailureHandler
- Copy a List to Another List in Java
- Optimizing Spring Integration Tests
- Container Configuration in Spring Boot 2
- Handling Errors in Spring WebFlux
- Spring Security Login Page with React
- Guide to Spring 5 WebFlux
- @Component vs @Repository and @Service in Spring
- Increment Date in Java
- Add Hours to a Date in Java
- Java Weekly, Issue 237
- RxJava One Observable, Multiple Subscribers
- Stack Memory and Heap Space in Java
- Guide to java.util.GregorianCalendar
- Context and Servlet Initialization Parameters
- Image to Base64 String Conversion
- Java Global Exception Handler
- Building a Microservice with Apache Meecrowave
- Create a Symbolic Link with Java
- How to Set a Header on a Response with Spring 5
- Guide to Resilience4j
- Encrypting and Decrypting Files in Java
- Spring Boot Integration Testing with Embedded MongoDB
- Monitoring Disk Usage and Other Metrics in Java
- Introduction to AWS Serverless Application Model
- How to Get the Size of an Object in Java
- Java Weekly, Issue 236
- Exception Handling in Java
- Calculate Age in Java
- Read and Write User Input in Java
- Using AWS Lambda with API Gateway
- Logging in Spring Boot
- Introduction to GWT
- Quick Use of FilenameFilter
- Interpreter Design Pattern in Java
- Using Spring ResponseEntity to Manipulate the HTTP Response
- Using Spring @ResponseStatus to Set HTTP Status Code
- Iterating Backward Through a List
- Spring Boot with Multiple SQL Import Files
- Spring AMQP in Reactive Applications
- Create a Custom Exception in Java
- Spring Boot Console Application
June 2018
- Converting Between Roman and Arabic Numerals in Java
- Extracting Year, Month and Day from Date in Java
- How to Get the Start and the End of a Day using Java
- Spring with Thymeleaf Pagination for a List
- Java Weekly, Issue 235
- The DAO Pattern in Java
- Importance of Main Manifest Attribute in a Self-Executing JAR
- Guide to Maven Archetype
- Testing Callbacks with Mockito
- Get Date Without Time in Java
- Java with ANTLR
- An Introduction to CDI (Contexts and Dependency Injection) in Java
- Convert a String to Title Case
- How to Get the File Extension of a File in Java
- Java 8 Unsigned Arithmetic Support
- Immutable Objects in Java
- Introduction to JavaPoet
- Introduction to Joda-Time
- Docker Test Containers in Java Tests
- Get and Post Lists of Objects with RestTemplate
- Java System.getProperty vs System.getenv
- Spring 5
- Optimistic Locking in JPA
- Jakarta EE Servlet Exception Handling
- A Guide to DeltaSpike Data Module
- Working with Select and Option in Thymeleaf
- Java Weekly, Issue 234
- Warning: “The type WebMvcConfigurerAdapter is deprecated”
- Access a File from the Classpath in a Spring Application
- Implementing a FTP-Client in Java
- Front-End App with Spring Security OAuth – Authorization Code Flow
- Count with JsonPath
- Spring Shutdown Callbacks
- Convert String to Date in Java
- Find the Middle Element of a Linked List in Java
- Controlling Bean Creation Order with @DependsOn Annotation
- Multi-Module Project With Spring Boot
- Bootstrapping JPA Programmatically in Java
- Java Weekly, Issue 233
- Learn JUnit
- Thin JARs with Spring Boot
- Generalized Target-Type Inference in Java
- Guide to the java.util.Arrays Class
- Histograms with Apache Commons Frequency
- Jakarta EE 8 Security API
- Binding a List in Thymeleaf
- Learn Spring Boot
- Multi-Dimensional Arrays in Java
- REST Query Language Over Multiple Tables with Querydsl Web Support
- Spring Security OAuth 2 Guides
- Java Weekly, Issue 232
- JUnit5 Programmatic Extension Registration with @RegisterExtension
- Configure a RestTemplate with RestTemplateBuilder
- Java 9 java.lang.Module API
- Spring Core Annotations
- Mockito ArgumentMatchers
- Difference Between JVM, JRE, and JDK
- Spring – Injecting Collections
- Performance of Java Mapping Frameworks
- Method Parameter Reflection in Java
- The Thread.join() Method in Java
- Visitor Design Pattern in Java
- Spring Data Reactive Repositories with MongoDB
- Returning a JSON Response from a Servlet
- Guide to the super Java Keyword
- Guide to the this Java Keyword
- A Guide to Spring Data Key Value
- Spring Scheduling Annotations
- Spring Web Annotations
- Spring Boot Annotations
- Java Weekly, Issue 231
- Example of Downloading File in a Servlet
- Spring Data REST Events with @RepositoryEventHandler
- Exclude Fields from Serialization in Gson
May 2018
- Spring Data Annotations
- An Introduction to Java.util.Hashtable Class
- Deploy a Spring Boot App to Azure
- Introduction to Dagger 2
- Download a File From an URL in Java
- Array Over a String for Manipulating Passwords in Java?
- Context Hierarchy with the Spring Boot Fluent Builder API
- Working With Arrays in Thymeleaf
- Pessimistic Locking in JPA
- Spring RestTemplate Error Handling
- Using the Spring RestTemplate Interceptor
- Optional orElse Optional
- Getting the Size of an Iterable in Java
- Infinite Loops in Java
- Spring Boot Configuration with Jasypt
- Guide to JNI (Java Native Interface)
- Java main() Method Explained
- New Features in Java 10
- Java Weekly, Issue 230
- NaN in Java
- Introduction to Java Microservices with MSF4J
- Using Lombok’s @Builder Annotation
- Programmatic Configuration with Log4j 2
- Singleton Session Bean in Jakarta EE
- Access Modifiers in Java
- Uploading Files with Servlets and JSP
- Sending SMS in Java with Twilio
- Deploy a Spring Boot WAR into a Tomcat Server
- Variable and Method Hiding in Java
- Java Weekly, Issue 229
- Java Optional – orElse() vs orElseGet()
- Interoperability Between Java and Vavr
- Java 10 Performance Improvements
- Java 10 LocalVariable Type-Inference
- Guide to the Favicon in Spring Boot
- Working with XML Files in Java Using DOM Parsing
- Spring Boot Exit Codes
- Creating REST Microservices with Javalin
- Hamcrest Common Core Matchers
- Check If a String Is Numeric in Java
- Spring Custom Property Editor
- Composite Design Pattern in Java
- Guide to DeferredResult in Spring
- The Tomcat java.net.BindException: Address Already in Use Error in Java
- Java Weekly, Issue 228
- Lightweight Ethereum Clients Using Web3j
- Spring Web Contexts
- The Command Pattern in Java
- Pass-By-Value as a Parameter Passing Mechanism in Java
- A Guide To Logback
- Run an Ant Task with Maven
- Spring Cache – Creating a Custom KeyGenerator
- All About String in Java
- Java IO Tutorials
- Java Collections
- Java Concurrency
- Java Streams
- Managing Amazon SQS Queues in Java
- @Order in Spring
- Introduction to AutoFactory
- Guide to the Java Clock Class
- Java Service Provider Interface
- Java Weekly, Issue 227
- Java Streams vs Vavr Streams
- BeanNameAware and BeanFactoryAware Interfaces in Spring
- Spring Data JPA @Query
- Running Spring Boot Applications With Minikube
- Projections and Excerpts in Spring Data REST
- Using Java Assertions
- A Quick Example of Spring Websockets’ @SendToUser Annotation
- How to Change the Default Port in Spring Boot
April 2018
- How to Store Duplicate Keys in a Map in Java?
- Handling NoClassDefFoundError for JAXBException in Java 9
- Service Locator Pattern and Java Implementation
- How to Define a Spring Boot Filter?
- Sending Emails with Java
- Iteration in Thymeleaf
- Introduction to Primefaces
- How to Find an Element in a List with Java
- The State of Java in 2018
- A Quick Intro to the SpringBootServletInitializer
- Java Concurrency Utility with JCTools
- Java Weekly, Issue 226
- Spring MVC @PathVariable with a dot (.) gets truncated
- Working with Boolean in Thymeleaf
- Intro to Apache OpenNLP
- Spring WebFlux Filters
- Introduction to SSL in Java
- Java KeyStore API
- Wrapper Classes in Java
- Testing Netty with EmbeddedChannel
- Find All Pairs of Numbers in an Array That Add Up to a Given Sum in Java
- Spring Assert Statements
- Apache Ignite with Spring Data
- Double-Checked Locking with Singleton
- EasyMock Argument Matchers
- Measure Elapsed Time in Java
- Java Weekly, Issue 225
- Guide to the Core Maven Plugins
- The Maven Site Plugin
- The Maven Verifier Plugin
- The Maven Clean Plugin
- The Maven Deploy Plugin
- Quick Guide to the Maven Install Plugin
- The Maven Failsafe Plugin
- Quick Guide to the Maven Surefire Plugin
- Maven Compiler Plugin
- Maven Resources Plugin
- A Guide to Apache Ignite
- A Guide to Java 9 Modularity
- Using the JetS3t Java Client With Amazon S3
- Obtaining Auto-generated Keys in Spring JDBC
- Spring Boot: Configuring a Main Class
- Servlet Redirect vs Forward
- Facade Design Pattern in Java
- @Before vs @BeforeClass vs @BeforeEach vs @BeforeAll
- Spring Boot Change Context Path
- Working with Fragments in Thymeleaf
- Conditionals in Thymeleaf
- Java List UnsupportedOperationException
- An Overview of the JVM Languages
- Internationalization and Localization in Java 8
- Spring Boot: Customize Whitelabel Error Page
- @Lookup Annotation in Spring
- Assert an Exception Is Thrown in JUnit 4 and 5
- Quick Guide to java.lang.System
- Finding Min/Max in an Array with Java
- Java Weekly, Issue 224
- A Guide to the JSTL Library
- Introduction to Spring Boot CLI
- Spring Boot Gradle Plugin
- Inheritance and Composition (Is-a vs Has-a relationship) in Java
- Show Hibernate/JPA SQL Statements from Spring Boot
- Introduction to JavaFx
- Spring Security with Thymeleaf
- Class Loaders in Java
- Hamcrest Custom Matchers
- Filtering Observables in RxJava
- Introduction to EasyMock
- New Password Storage in Spring Security 5
- Java Weekly, Issue 223
- Introduction to Atlassian Fugue
- Creating and Deploying Smart Contracts with Solidity
- Shutdown a Spring Boot Application
- Handling Cookies and a Session in a Java Servlet
- Find Sum and Average in a Java Array
- Integration Testing with a Local DynamoDB Instance
- Publish and Receive Messages with Nats Java Client
- Command-Line Arguments in Spring Boot
- The Spring @Controller and @RestController Annotations
March 2018
- Combining Observables in RxJava
- Handling Daylight Savings Time in Java
- Java Weekly, Issue 222
- JSON Schema Validation with REST-assured
- Headers, Cookies and Parameters with REST-assured
- Java IO – Conversions
- The “final” Keyword in Java
- Introduction to CheckStyle
- Hamcrest Object Matchers
- A Simple Tagging Implementation with MongoDB
- Introduction to RxRelay for RxJava
- Build an MVC Web Application with Grails
- A Quick Guide to the Spring @Lazy Annotation
- Hamcrest Bean Matchers
- A Guide to Flips for Spring
- Java Weekly, Issue 221
- Getting Started with Java and Zookeeper
- Displaying Money Amounts in Words
- Using Guava CountingOutputStream
- How to Find and Open a Class with Eclipse
- Mapping LOB Data in Hibernate
- REST-assured with Groovy
- Java 8 Math New Methods
- Spring Data with Spring Security
- Multipart Uploads in Amazon S3 with Java
- Introduction to Akka Actors in Java
- How to Make a Deep Copy of an Object in Java
- Introduction to Apache Curator
- Session Attributes in Spring MVC
- Guide to the Externalizable Interface in Java
- Hamcrest File Matchers
- Hamcrest Text Matchers
- Java Weekly, Issue 220
- Chain of Responsibility Design Pattern in Java
- A Guide to Unirest
- Maven Dependency Scopes
- Assertions in JUnit 4 and JUnit 5
- A Guide to Jdbi
- Content Analysis with Apache Tika
- Working with JSON in Groovy
- Introduction to OpenCSV
- Injecting Prototype Beans into a Singleton Instance in Spring
- Using Hamcrest Number Matchers
- RxJava Maybe
- A Guide to the ResourceBundle
- An Advanced Tagging Implementation with JPA
- Managing EC2 Instances in Java
- Java Weekly, Issue 219
- Introduction to JSON-Java (org.json)
- A Custom Task in Gradle
- RxJava StringObservable
- ASCII Art in Java
- Security in Spring Integration
- Jersey Filters and Interceptors
- Multi-Swarm Optimization Algorithm in Java
- How to TDD a List Implementation in Java
- An Intro to Spring Cloud Contract
- Guide to Inheritance in Java
- An MVC Example with Servlets and JSP
- JDBC with Groovy
- Method Handles in Java
- The Checker Framework – Pluggable Type Systems for Java
- Java Weekly, Issue 218
February 2018
- Combining Publishers in Project Reactor
- How to Detect the OS Using Java
- An Intro to Spring Cloud Task
- Intro to Google Cloud Storage with Java
- A Practical Guide to DecimalFormat
- Code Analysis with SonarQube
- Object Type Casting in Java
- Method Overloading and Overriding in Java
- Building Microservices with Eclipse MicroProfile
- A Guide to Infinispan in Java
- Comparing Strings in Java
- A Simple Tagging Implementation with JPA
- RxJava 2 – Flowable
- Feature Flags with Spring
- Spring Boot Security Auto-Configuration
- Java Weekly, Issue 217
- Shuffling Collections in Java
- Spring Batch – Tasklets vs Chunks
- An Intro to Spring Cloud Security
- Spring ResponseStatusException
- Exploring jrecreate
- WebSockets with AsyncHttpClient
- Create a Sudoku Solver in Java
- Method Constraints with Bean Validation 3.0
- AssertJ Exception Assertions
- Introduction to ActiveJDBC
- Life Cycle of a Thread in Java
- A Custom Spring SecurityConfigurer
- Instance Profile Credentials using Spring Cloud
- Java Weekly, Issue 216
- A Maze Solver in Java
- Introduction to Smooks
- Check if a String Is a Palindrome in Java
- Introduction to ActiveWeb
- Reliable Messaging with JGroups
- Introduction to Jinq with Spring
- JPA Attribute Converters
- Using Conditions with AssertJ Assertions
- Priority-based Job Scheduling in Java
- Flyweight Pattern in Java
- The Observer Pattern in Java
- Asynchronous HTTP with async-http-client in Java
- Exploring the New HTTP Client in Java
- Java Weekly, Issue 215
- wait and notify() Methods in Java
- Custom Assertions with AssertJ
- Compiling Java *.class Files with javac
- A Simple Tagging Implementation with Elasticsearch
- Programmatically Create, Configure and Run a Tomcat Server
- Programmatic Transactions in the Spring TestContext Framework
- Java Weekly, Issue 214
- Using a Spring Cloud App Starter
- Introduction to Guava Memoizer
- Changing Tomcat HTTP Port to 80
January 2018
- Reactive WebSockets with Spring 5
- Get Log Output in JSON
- Introduction to Javadoc
- Introduction to Lettuce – the Java Redis Client
- Geospatial Support in ElasticSearch
- Introduction to Spliterator in Java
- How to Manually Authenticate User with Spring Security
- Java Weekly, Issue 213
- A Guide to the finalize Method in Java
- Extra Login Fields with Spring Security
- An Introduction to Kong
- An Example of Load Balancing with Zuul and Eureka
- Spring 5 and Servlet 4 – The PushBuilder
- Spring Security – Auto Login User After Registration
- Creating and Configuring Jetty 9 Server in Java
- The Trie Data Structure in Java
- Spring Boot Actuator
- Getting Started with Java RMI
- Spring MVC Tutorial
- Exceptions in Netty
- Using JWT with Spring Security OAuth
- A Guide to JavaLite – Building a RESTful CRUD application
- Introduction to Spring Method Security
- Java Weekly, Issue 212
- Writing a Jenkins Plugin
- Integration Guide for Spring and EJB
- Spring Security 5 – OAuth2 Login
- A Quick Guide to Maven Wrapper
- Spring Cloud AWS – Messaging Support
- Spring Cloud AWS – RDS
- Spring Cloud AWS – EC2
- Spring Cloud AWS – S3
- Java Weekly, Issue 211
- Introduction to Java Primitives
- Weak References in Java
- Phantom References in Java
- A Guide to Iterator in Java
- Introduction to Future in Vavr
- A Docker Guide for Java
- Introduction to VRaptor in Java
- Regex for Matching Date Pattern in Java
- How to Find the Kth Largest Element in Java
- Guide to CockroachDB in Java
- Java TreeMap vs HashMap
- Java 8 StringJoiner
- A Guide to Multitenancy in Hibernate 6
- Guide to ThreadLocalRandom in Java
- Bootstrapping Hibernate with Spring
- Java Weekly, Issue 210
- Spring Data Java 8 Support
- A Guide to TreeSet in Java
- Soft References in Java
December 2017
- Overview of Java Built-in Annotations
- Introduction to the OrientDB Java APIs
- A Guide to Flyway Callbacks
- Hibernate Interceptors
- Creating a Fat Jar in Gradle
- Implementing a Binary Tree in Java
- Using InfluxDB with Java
- Introduction to KafkaStreams in Java
- Java Weekly, Issue 209
- Quick Guide to BDDMockito
- Static and Default Methods in Interfaces in Java
- Guide to JSpec
- Fail-Safe Iterator vs Fail-Fast Iterator
- ExecutorService – Waiting for Threads to Finish
- A Guide to Creating Objects in Java
- Guide to the Cipher Class
- Intro to Performance Testing using JMeter
- Java 9 Variable Handles Demystified
- How to Reverse an Array in Java
- A Simple File Search with Lucene
- Recursion in Java
- Primitive Type Streams in Java 8
- Java Weekly, Issue 208
- Check if a Java Array Contains a Value
- JUnit 5 @Test Annotation
- A Guide to EclipseLink with Spring
- Efficient Word Frequency Calculator in Java
- Batch Processing in JDBC
- Polymorphism in Java
- Introduction to Apache Lucene
- Creating a Custom Logback Appender
- A Guide to Inner Interfaces in Java
- Introduction to Dubbo
- A Guide to Transactions Across Microservices
- Interact with Google Sheets from Java
- Java Weekly, Issue 207
- Spring and Apache FileUpload
- Introduction to Hibernate Spatial
- What’s New in Spring Boot 2?
- Send Operating System Data into Elastic Stack (ELK Stack)
- Introduction to Hibernate Search
- A Guide to HashSet in Java
- Spring Cloud Connectors and Heroku
- Getting Started With Mule ESB
- Java Weekly, Issue 206
- Introduction to Spring Security ACL
- A Quick Guide to Spring Cloud Consul
- Varargs in Java
- Creating a MS PowerPoint Presentation in Java
- A Guide to Java Loops
- Writing Custom Gradle Plugins
- Nested Classes in Java
- Introduction to the JDBC RowSet Interface in Java
- Comparator and Comparable in Java
- The SpringJUnitConfig and SpringJUnitWebConfig Annotations in Spring 5
November 2017
- Java Weekly, Issue 205
- Guide to java.util.Formatter
- Introduction to the JSON Binding API (JSR 367) in Java
- Convert Date to LocalDate or LocalDateTime and Back
- Implementing the Template Method Pattern in Java
- Introduction to the Java ArrayDeque
- Introduction to OSGi
- Java – Append Data to a File
- Hibernate Inheritance Mapping
- Mock Final Classes and Methods with Mockito
- The Order of Tests in JUnit
- How to Kill a Java Thread
- Quick Guide on Loading Initial Data with Spring Boot
- CAS SSO With Spring Security
- Send the Logs of a Java App to the Elastic Stack (ELK)
- Introduction to Gradle
- How to Copy a File with Java
- Java Weekly, Issue 204
- Display All Time Zones With GMT and UTC in Java
- Spring 5 Testing with @EnabledIf Annotation
- Introduction to Creational Design Patterns
- Introduction to Spring Cloud CLI
- A Guide to Spring AbstractRoutingDatasource
- Guide to Java String Pool
- Spring Security 5 for Reactive Applications
- A Guide to Google-Http-Client
- Introduction to Spring Cloud Stream
- An Example of Backward Chaining in Drools
- Apache Maven Standard Directory Layout
- Lazy Verification with Mockito 2
- The Java continue and break Keywords
- Java Weekly, Issue 203
- REST API Testing with Karate
- JMX Data to the Elastic Stack (ELK)
- Deploy Application at Tomcat Root
- Introduction to Spring REST Shell
- Web and Application Servers for Java
- Creating a Java Compiler Plugin
- Generating Prime Numbers in Java
- An Overview of Identifiers in Hibernate/JPA
- Java String.valueOf()
- Java String.trim()
- Java String.toUpperCase()
- Java String.toLowerCase()
- Java String.substring()
- Java String.subSequence()
- Java String.startsWith()
- Java String.split()
- Java String.replaceAll()
- Java String.replace()
- Java String.regionMatches()
- Java String.lastIndexOf()
- Java String.isEmpty()
- Java String.intern()
- Java String.indexOf()
- Java String.getBytes()
- Java String.format()
- Java String.endsWith()
- Java String.copyValueOf()
- Java String.contains()
- Java String.concat()
- Java String.codePointCount()
- Java String.String()
- Java Weekly, Issue 202
- XML-Based Injection in Spring
- A Quick Guide to Using Keycloak With Spring Boot
- Mocking of Private Methods Using PowerMock
- Groovy Bean Definitions
- Implementing a Runnable vs Extending a Thread
- Guide to Spring Type Conversions
- JUnit5 @RunWith
- Introduction to Spring AOP
- A Guide to Spring Boot Admin
- Hibernate – Mapping Date and Time
- Activiti with Spring Security
- Making Tomcat UTF-8-Ready
- HibernateException: No Hibernate Session Bound to Thread in Hibernate 3
- Java Weekly, Issue 201
- Java String.charAt()
- Java String.codePointAt()
October 2017
- Daemon Threads in Java
- Challenges in Java 8
- Dynamic Mapping with Hibernate
- Intro to JDO Queries
- Mockito and JUnit 5 – Using ExtendWith
- Mocking Void Methods with Mockito
- Introduction to Apache Spark
- Introduction to BouncyCastle with Java
- Initializing Arrays in Java
- Spring Data JPA – Adding a Method in All Repositories
- Quick Guide to Micrometer
- A Guide to the Static Keyword in Java
- Java Weekly, Issue 200
- How to Calculate Levenshtein Distance in Java?
- Mapping Nested Values with Jackson
- Mathematical and Aggregate Operators in RxJava
- A Guide to Java Bytecode Manipulation with ASM
- Spring MVC Guides
- Commits and NRT Search in SolrCloud
- Java Weekly, Issue 199
- Bubble Sort in Java
- Activiti Kickstart App and Activiti Rest Webapp
- Ant vs Maven vs Gradle
- Model, ModelMap, and ModelAndView in Spring MVC
- Introduction to Caffeine
- Advanced Querying in Apache Cayenne
- Introduction to StreamEx
- A Guide to Java Profilers
- Java Weekly, Issue 198
- ProcessEngine Configuration in Activiti
- Exploring the New Spring Cloud Gateway
- JIRA REST API Integration
- Comparing Spring AOP and AspectJ
- Introduction to ORMLite
- Introduction To Docx4J
- A Guide to Deeplearning4j
- Introduction to Conflict-Free Replicated Data Types
- Static Code Analysis in Java
- Mocking Exception Throwing using Mockito
- Java Weekly, Issue 197
- Introduction to Atomix
- Custom JUnit 4 Test Runners
- Validating Container Elements with Jakarta Bean Validation 3.0
- Introduction to JGraphT
September 2017
- Introduction to Animal Sniffer Maven Plugin
- Apache Commons Collections Bag
- Java Weekly, Issue 196
- Introduction to Apache Cayenne ORM
- Schedulers in RxJava
- Querying Couchbase with N1QL
- RxJava Tutorial
- Introduction to rxjava-jdbc
- Granted Authority Versus Role in Spring Security
- Collection Factory Methods for Vavr
- Proxy, Decorator, Adapter and Bridge Patterns
- Introduction to Jukito
- Guide to LinkRest
- Java Weekly, Issue 195
- Observable Utility Operators in RxJava
- Introduction to EthereumJ
- Introduction to GeoTools
- Guide to the Diamond Operator in Java
- Vavr Tutorial
- “Stream has already been operated upon or closed” Exception in Java
- Binary Search Algorithm in Java
- Guide to Mustache with Spring Boot
- Introduction to EGit
- Java Weekly, Issue 194
- Using Pairs in Java
- Apache Commons IO
- CrudRepository, JpaRepository, and PagingAndSortingRepository in Spring Data
- RxJava and Error Handling
- Compact Strings in Java 9
- Spring’s RequestBody and ResponseBody Annotations
- Generate Spring Boot REST Client with Swagger
- Introduction to Retrofit
- Introduction to RxJava
- Introduction to JCache
- Test a Linked List for Cyclicity
- Number of Digits in an Integer in Java
- Trampoline – Managing Spring Boot Applications Locally
- Example of Vertx and RxJava Integration
- Introduction to MBassador
- New in Spring Security OAuth2 – Verify Claims
- StringBuilder vs StringBuffer in Java
- Integrating Retrofit with RxJava
- How to Iterate Over a Stream With Indices
- Java Weekly, Issue 193
- Guide to JDeferred
- Guide to Collections API in Vavr
- OutOfMemoryError: GC Overhead Limit Exceeded
- “Sneaky Throws” in Java
- Delete a Directory Recursively in Java
- Introduction to Vavr’s Validation API
- Spring Yarg Integration
- Introduction to javax.measure
- Hibernate Many to Many Annotation Tutorial
- Singletons in Java
- Introduction to EJB JNDI Lookup on WildFly Application Server
August 2017
- Runnable vs. Callable in Java
- Difference Between Two Dates in Java
- Introduction to GraphQL
- Automatic Property Expansion with Spring Boot
- Java Weekly, Issue 192
- String Search Algorithms for Large Texts with Java
- List of Rules Engines in Java
- Spring 5 Functional Bean Registration
- CharSequence vs. String in Java
- Introduction to Apache Shiro
- Converting a List to String in Java
- Java Weekly, Issue 191
- Custom Login Page for Returning User
- Introduction to Reladomo
- Introduction to Apache Commons CSV
- DistinctBy in the Java Stream API
- Getting Started with GraphQL and Spring Boot
- Ratpack with Hystrix
- Log4j 2 and Lambda Expressions
- Java Web Weekly, Issue 174
- Introduction to Lambda Behave
- Introduction to JBoss Undertow
- Guide to Spring Data LDAP
- Guide to the Volatile Keyword in Java
- Java Weekly, Issue 190
- Broadcasting and Multicasting in Java
- Spring Boot Dependency Management with a Custom Parent
- Difference Between URL and URI
- Spring Batch using Partitioner
- Java 9 java.util.Objects Additions
- Introduction to Eclipse Collections
- Introduction to NoException
- Quick Guide to the Spring @Enable Annotations
- Inject Parameters into JUnit Jupiter Unit Tests
- Java Weekly, Issue 189
- Introduction to gRPC
- Using Spring @Value With Defaults
- Quick Guide to RSS with Rome
- Introduction to Bootique
- Securing Jakarta EE with Spring Security
- Collect a Java Stream to an Immutable Collection
- Java Weekly, Issue 188
- Guide to hashCode() in Java
- Apache Commons Chain
- Implementing Custom Operators in RxJava
- Introduction to Hoverfly in Java
- Template Engines for Spring
- Introduction to Neuroph
- Introduction to Activiti with Spring
- Introduction to PCollections
July 2017
- Introduction to MockServer
- Introduction to Spring’s StreamUtils
- Introduction To Kryo
- Migrating from Spring to Spring Boot
- Spring – Log Incoming Requests
- Guide to Apache Commons CircularFifoQueue
- Introduction to Jooby
- Generating a Book with Asciidoctor
- Ratpack Integration with Spring Boot
- Spring Cloud Bus
- Java Weekly, Issue 187
- A Guide to Activiti with Java
- Introduction to Vaadin
- Cucumber Java 8 Support
- Guide to PDFUnit
- Overview of the java.util.concurrent
- AWS S3 with Java
- Apache Camel with Spring Boot
- Java Static Analysis Tools in Eclipse and IntelliJ IDEA
- A Guide to Byte Buddy
- Microbenchmarking with Java
- Apache Commons Collections MapUtils
- An Introduction to Atomic Variables in Java
- Data Modeling in Cassandra
- Java Weekly, Issue 186
- Guide to the HyperLogLog Algorithm in Java
- Migrating from JUnit 4 to JUnit 5
- Introduction to Awaitility
- Introduction to Chronicle Queue
- Vavr Support in Spring Data
- Java Weekly, Issue 185
- Drools Spring Integration
- A Guide to JUnit 5 Extensions
- Introduction to Vavr’s Either
- Introduction to Minimax Algorithm with a Java Implementation
- A Guide to Apache Commons Collections CollectionUtils
- Intro to Security and WebSockets
- Spring Remoting with RMI
- A Guide to Apache Commons DbUtils
- TemporalAdjuster in Java
- Bloom Filter in Java using Guava
- Zipping Collections in Java
- Apache Commons Collections BidiMap
- Quick Guide to the Guava RateLimiter
- What Is the serialVersionUID?
- Consumer Driven Contracts with Pact
- Java Weekly, Issue 184
- Type Erasure in Java Explained
- Semaphores in Java
- OAuth2 Remember Me with Refresh Token (using the Spring Security OAuth legacy stack)
- Spring 5 WebClient
- Spring Framework Introduction
- Apache Commons BeanUtils
- BigDecimal and BigInteger in Java
- Introduction to Apache Commons Text
June 2017
- Java Weekly, Issue 183
- Apache Commons Collections OrderedMap
- Spring Cloud Series – The Gateway Pattern
- Introduction to Netflix Servo
- Apache Commons Collections SetUtils
- Exceptions in Lambda Expression Using Vavr
- The HttpMediaTypeNotAcceptableException in Spring MVC
- A Guide To Cron Expressions
- Introduction to Asciidoctor in Java
- CyclicBarrier in Java
- A Java Client for a WebSockets API
- Spring with Maven BOM
- Monte Carlo Tree Search for Tic-Tac-Toe Game in Java
- Iterate Over a Map in Java
- How to Warm Up the JVM
- Allow Authentication from Accepted Locations Only with Spring Security
- Java Weekly, Issue 182
- Spring YAML Configuration
- How to Get a Name of a Method Being Executed?
- Vert.x Spring Integration
- Exploring the Spring 5 WebFlux URL Matching
- Drools Using Rules from Excel Files
- Locality-Sensitive Hashing in Java Using Java-LSH
- Testing with Selenium/WebDriver and the Page Object Pattern
- Introduction to Quartz
- Changing the Order in a Sum Operation Can Produce Different Results?
- Converting String to Stream of chars
- Introduction to Liquibase Rollback
- Java Weekly, Issue 181
- How to Get All Spring-Managed Beans?
- How to Find All Getters Returning Null
- Top Spring Framework Interview Questions
- Spring Boot Tutorial – Bootstrap a Simple Application
- Example of Hill Climbing Algorithm in Java
- Java EE Session Beans
- How to Get All Dates Between Two Dates?
- Testing with JGoTesting
- Java Web Weekly, Issue 180
- Serenity BDD and Screenplay
- Introduction to Netty
- Changing Annotation Parameters at Runtime
- How to Inject a Property Value Into a Class Not Managed by Spring?
- Merging Streams in Java
- Guide to Akka Streams
- How to Round a Number to N Decimal Places in Java
- Java 9 Reactive Streams
- Intro to Structurizr
- The Difference Between map() and flatMap()
- Simple Single Sign-On with Spring Security OAuth2
- Java Web Weekly, Issue 179
- Java 9 Optional API Additions
- The Dining Philosophers Problem in Java
May 2017
- Guide to Escaping Characters in Java RegExps
- How to Get the Last Element of a Stream in Java?
- Guide to Dynamic Tests in Junit 5
- Guide to UUID in Java
- Introduction to Testing with Arquillian
- Introduction to JUnitParams
- Spring Cloud – Adding Angular 4
- Java Web Weekly, Issue 178
- ClassNotFoundException vs NoClassDefFoundError
- Testing with Google Truth
- Spring Remoting with JMS and ActiveMQ
- Iterating Over Enum Values in Java
- Serenity BDD with Spring and JBehave
- How to Add a Single Element to a Stream
- Multiple Authentication Providers in Spring Security
- Introduction to Mustache
- Comparing getPath(), getAbsolutePath(), and getCanonicalPath() in Java
- Guide to Spring Web Flow
- Introduction to HikariCP
- Software Transactional Memory in Java Using Multiverse
- Java Web Weekly, Issue 177
- Introduction to Drools
- Guide to the Synchronized Keyword in Java
- How to Remove the Last Character of a String?
- Guide to Mathematical Utilities in Guava
- Introduction to Java Serialization
- Split a String in Java
- Guide to Guava MinMaxPriorityQueue and EvictingQueue
- The StackOverflowError in Java
- Java Double Brace Initialization
- Count Occurrences of a Char in a String
- Guide to DelayQueue
- Custom Reporting with TestNG
- Guide to Guava ClassToInstanceMap
- Java Web Weekly, Issue 176
- A Guide to @RepeatedTest in Junit 5
- JHipster with a Microservice Architecture
- Guide to the Java Phaser
- Call Methods at Runtime Using Java Reflection
- Guide to Java Data Objects
- Converting a Stack Trace to a String in Java
- Period and Duration in Java
- Guide to CopyOnWriteArrayList
- Introduction to JDBC
- Java Web Weekly, Issue 175
- Quick Guide to Spring Roo
- Spring Boot and Togglz Aspect
- How to Copy an Array in Java
- Dynamic Proxies in Java
April 2017
- Using Java <em>MappedByteBuffer</em>
- Java Annotations Interview Questions (+ Answers)
- <em>LongAdder</em> and <em>LongAccumulator</em> in Java
- Difference Between Wait and Sleep in Java
- Do a Simple HTTP Request in Java
- Guide to the ConcurrentSkipListMap
- Guide to the Most Important JVM Parameters
- HashSet and TreeSet Comparison
- Introduction to Serenity BDD
- Introduction to JAX-WS
- An Intro to the Spring DispatcherServlet
- Guide to the Java TransferQueue
- Testing in Spring Boot
- Introduction to the Stripe API for Java
- An Intro to Spring Cloud Zookeeper
- Guide to @ConfigurationProperties in Spring Boot
- Logout in an OAuth Secured Application
- A Guide to Java SynchronousQueue
- Create a Custom Auto-Configuration with Spring Boot
- Spring Remoting with AMQP
- RabbitMQ Message Dispatching with Spring AMQP
- A Quick Guide to Spring @Value
- Introduction to Apache Commons Math
- A Guide to Java EE Web-Related Annotations
- Java Web Weekly, Issue 173
- Introduction to Groovy Language
- Creating a Custom Starter with Spring Boot
- Quick Guide to MyBatis
- JVM Garbage Collectors
- Guide to <em>sun.misc.Unsafe</em>
- Java Exceptions Interview Questions (+ Answers)
- Introduction to Apache Flink with Java
- JVM Log Forging
- An Introduction to ThreadLocal in Java
- Java Flow Control Interview Questions (+ Answers)
- Converters, Listeners and Validators in Java EE 7
- Dynamic DTO Validation Config Retrieved from the Database
- Using @JsonComponent in Spring Boot
- Java Web Weekly, Issue 172
- Introduction to Jenetics Library
- Embedded Jetty Server in Java
- REST Query Language – Implementing OR Operation
- Testing a REST API with JBehave
- Quick Guide to the Java StringTokenizer
- Configuring Separate Spring DataSource for Tests
- JasperReports with Spring
- Check If a Number Is Prime in Java
- Java in 2017 Survey Results
- Flattening Nested Collections in Java
- Cucumber and Scenario Outline
- Java Web Weekly, Issue 171
- Intro to JaVers
- Guide to Reactive Microservices Using Lagom Framework
- Custom Scope in Spring
- Custom Information in Spring Boot Info Endpoint
- Spring MVC Custom Validation
- A Guide to the Spring State Machine Project
- Hibernate Tips Book Excerpt: How to Map an Inheritance Hierarchy to One Table
- List of In-Memory Databases
- Create a Custom FailureAnalyzer with Spring Boot
- Introduction to Vert.x
- Ratpack Google Guice Integration
- Implementing a Custom Spring AOP Annotation
- A CLI with Spring Shell
- New in Guava 21 common.util.concurrent
- Map Serialization and Deserialization with Jackson
- Exploring the Spring Boot TestRestTemplate
March 2017
- A Guide to GemFire with Spring Data
- Java Web Weekly, Issue 170
- Guide to Java 8 Comparator.comparing()
- Introduction to the Functional Web Framework in Spring 5
- A Guide to the Java Web Start
- Converting Strings to Enums in Java
- Introduction to TestNG
- Validating Input with Finite Automata in Java
- CORS in JAX-RS
- Self-Contained Testing Using an In-Memory Database
- Java Generics Interview Questions (+Answers)
- Full-text Search with Solr
- Using Math.pow in Java
- HTTP PUT vs HTTP PATCH in a REST API
- Intro to Apache Kafka with Spring
- Intro to JHipster
- Download an Image or a File with Spring MVC
- Jackson Streaming API
- Introduction to Project Jigsaw
- Introduction to Testing with Spock and Groovy
- Java Web Weekly, Issue 169
- Introduction to JSONassert
- New Stream, Comparator and Collector in Guava 21
- Form Validation with AngularJS and Spring MVC
- Property Testing Example With Vavr
- Spring Boot Authentication Auditing Support
- Introduction to JiBX
- Guide to Internationalization in Spring Boot
- Testing an OAuth Secured API with Spring MVC (using the Spring Security OAuth legacy stack)
- Introduction to Ratpack
- Using Custom Banners in Spring Boot
- Java Web Weekly, Issue 168
- Introduction to Javassist
- Introduction to Javatuples
- Introduction to Google Protocol Buffer
- Overview of Spring Boot Dev Tools
- A Guide to the Java API for WebSocket
- Multiple Entry Points in Spring Security
- Guide to Google Guice
- A Guide to Redis with Redisson
- AssertJ 3.6.X – Interview with Joel Costigliola
- Java 9 CompletableFuture API Improvements
- Spring LDAP Overview
- @Immutable in Hibernate
- Introduction to Twitter4J
- Ant Colony Optimization with a Java Example
- A Guide to the Axon Framework
- Concurrent Test Execution in Spring 5
- Java Money and the Currency API
- Introduction to Java 9 StackWalking API
- Java Web Weekly, Issue 166
- Java Web Weekly, Issue 167
- String Processing with Apache Commons Lang 3
- Array Processing with Apache Commons Lang 3
- Spring Cloud – Tracing Services with Zipkin
- Spring Security and OpenID Connect
- Java Primitive Conversions
- HBase with Java
- Intro to Jasypt
- AngularJS CRUD Application with Spring Data REST
- Mockito’s Java 8 Features
- Guide to Guava’s Reflection Utilities
- Intro To Reactor Core
- How to Register a Servlet in Java
- Guide To Solr in Java With Apache SolrJ
- Java 9 Process API Improvements
- Spring Security – Redirect to the Previous URL After Login
- Java 9 – Exploring the REPL
February 2017
- Intro to Log4j2 – Appenders, Layouts and Filters
- Introducing nudge4j
- Working with Relationships in Spring Data REST
- Introduction to cglib
- Spring Remoting with Hessian and Burlap
- Guide to java.util.concurrent.Locks
- AWS Lambda Using DynamoDB With Java
- Introduction to RabbitMQ
- Introduction to Cobertura
- Introduction to jOOL
- Finding Max/Min of a List or Collection
- Java Web Weekly, Issue 165
- A Quick Struts 2 Intro
- Guide to Spring WebUtils and ServletRequestUtils
- Upload and Display Excel Files with Spring MVC
- Intro to Apache BVal
- A Quick JUnit vs TestNG Comparison
- Introduction to Apache Velocity
- Guide to Guava’s EventBus
- A Guide to Neo4J with Java
- Advanced Apache HttpClient Configuration
- Introduction to Guava CacheLoader
- String Operations with Java Streams
- The @ServletComponentScan Annotation in Spring Boot
- Spring Security – Customize the 403 Forbidden/Access Denied Page
- Custom Thread Pools in Java 8 Parallel Streams
- Java Web Weekly, Issue 164
- Using Optional with Jackson
- How to Test RxJava?
- Java 8 and Infinite Streams
- Two Login Pages with Spring Security
- Design a Genetic Algorithm in Java
- Quick Intro to Full-Text Search with ElasticSearch
- Java Web Weekly, Issue 163
- Strategy Design Pattern in Java 8
- Guide to WeakHashMap in Java
- Avoiding the ConcurrentModificationException in Java
- Hibernate One to Many Annotation Tutorial
- JAX-RS Client with Jersey
- Guide to Java 8 groupingBy Collector
- Working with Microsoft Excel in Java
- Spring Security – Cache Control Headers
- Spring @RequestMapping New Shortcut Annotations
- Guide to PriorityBlockingQueue in Java
- Dealing with Backpressure with RxJava
- Guide to Guava’s PreConditions
- Working with Apache Thrift
- Constructor Injection in Spring with Lombok
- REST API with Jersey and Spring
- A Guide to ConcurrentMap
- Java Web Weekly, Issue 162
- Guide to Guava’s Ordering
- Guide to Try in Vavr
- Java Convenience Factory Methods for Collections
- Building an API With the Spark Java Framework
- Guide to java.util.concurrent.Future
January 2017
- Guide to Guava Table
- A Guide to Spring Mobile
- Querying Couchbase with MapReduce Views
- CORS with Spring
- Memory Management in Java Interview Questions (+Answers)
- Apache Maven Tutorial
- Intro to Dropwizard Metrics
- Guide to java.util.concurrent.BlockingQueue
- MaxUploadSizeExceededException in Spring
- Spring Data MongoDB: Projections and Aggregations
- Chained Exceptions in Java
- New Stream Collectors in Java 9
- Java 8 Interview Questions(+ Answers)
- Guide to CountDownLatch in Java
- Java Web Weekly, Issue 161
- Intro to Spring Remoting with HTTP Invokers
- A Guide to TreeMap in Java
- Guide to Guava RangeMap
- Guide to EJB Set-up
- Guide to Guava RangeSet
- JSON Processing in Java EE 7
- Spring Cloud Sleuth in a Monolith Application
- Java 8 Stream findFirst() vs. findAny()
- A Guide to LinkedHashMap in Java
- Guide to Spring Handler Mappings
- Concurrency with LMAX Disruptor – An Introduction
- Iterable to Stream in Java
- Java Web Weekly, Issue 160
- Guide to the Guava BiMap
- Guide to Spring Retry
- JAX-RS is just an API!
- Exceptions in Java 8 Lambda Expressions
- Guide to Guava Multimap
- Messaging with Spring AMQP
- Guide to Spring Email
- Overview of AI Libraries in Java
- Guide to Pattern Matching in Vavr
- Creating PDF Files in Java
- A Guide to JGit
- A Guide to the Spring Task Scheduler
- Java Web Weekly, Issue 159
- Parsing HTML in Java with Jsoup
- HandlerAdapters in Spring MVC
- A Guide to MongoDB with Java
- Set JAVA_HOME on Windows 7, 8, 10, Mac OS X, Linux
- A Custom Data Binder in Spring MVC
- How to Work with Dates in Thymeleaf
- Introduction to Apache Tomcat
- Spring Performance Logging
- Introduction to PMD
- Introduction to Nashorn
- Introduction to Project Reactor Bus
- A Basic AWS Lambda Example With Java
- Dijkstra Shortest Path Algorithm in Java
- Java Web Weekly, Issue 158
- Servlet 3 Async Support with Spring MVC and Spring Security
- Basic Introduction to JMX
December 2016
- Spring Security Context Propagation with @Async
- A Custom Media Type for a Spring REST API
- Introduction to Vavr
- Java Web Weekly, Issue 157
- Guide to @JsonFormat in Jackson
- The Java HashMap Under the Hood
- Intro to Inversion of Control and Dependency Injection with Spring
- A Guide to Rolling File Appenders
- A Collaborative Filtering Recommendation System in Java
- Working with Images in Java
- Guide to JAXB
- Microsoft Word Processing in Java with Apache POI
- Differences Between the Java WatchService API and the Apache Commons IO Monitor Library
- Spring Cloud – Securing Services
- Integration Patterns With Apache Camel
- Java Web Weekly, Issue 156
- OAuth2.0 and Dynamic Client Registration (using the Spring Security OAuth legacy stack)
- How to Install Maven on Windows, Linux, and Mac
- The Traveling Salesman Problem in Java
- Java – Combine Multiple Collections
- Pattern Search with Grep in Java
- Java Logging with Nested Diagnostic Context (NDC)
- Designing a User Friendly Java Library
- Java Web Weekly, Issue 155
- Spring Security – @PreFilter and @PostFilter
- Introduction to Java Servlets
- Intro to the Spring ClassPathXmlApplicationContext
- Introduction to Spring Integration
- Join and Split Arrays and Collections in Java
- Guide to Java URL Encoding/Decoding
- File Size in Java
- Introduction to HtmlUnit
- The Basics of Java Generics
- Java Class Structure and Initialization Interview Questions
- Guide to Spring Session
- Create a Fat Jar App with Spring Boot
- Java Web Weekly, Issue 154
- Guide To Java 8 Optional
- Intro to AspectJ
- Deleting Objects with Hibernate
- A Guide To NIO2 Asynchronous File Channel
- A Guide to OkHttp
- Guide to Selenium with JUnit / TestNG
- A Guide to NIO2 Asynchronous Socket Channel
- A Guide To NIO2 FileVisitor
- A Guide To NIO2 File Attribute APIs
- How to Use the Spring FactoryBean?
- Java Web Weekly, Issue 153
- A Guide to WatchService in Java NIO2
- Guide to JavaServer Pages (JSP)
- Guide to Java NIO2 Asynchronous Channel APIs
November 2016
- Sorting in Java
- Guide to UriComponentsBuilder in Spring
- Intro to Code Quality Rules with FindBugs and PMD
- Java Web Weekly, Issue 152
- Geolocation by IP in Java
- Constructor Dependency Injection in Spring
- Spring Security OAuth2 – Simple Token Revocation (using the Spring Security OAuth legacy stack)
- Java Concurrency Interview Questions (+ Answers)
- Java Type System Interview Questions
- SHA-256 and SHA3-256 Hashing in Java
- Guide to the Spring BeanFactory
- A Guide to JUnit 5
- Introduction To Apache Camel
- Introduction to Spring Data Solr
- Java Web Weekly, Issue 151
- Introduction to Apache CXF Aegis Data Binding
- PDF Conversions in Java
- Getting Started with Java Properties
- Java String Conversions
- Improved Java Logging with Mapped Diagnostic Context (MDC)
- Custom Error Pages with Spring MVC
- org.springframework
- Java 9 Stream API Improvements
- Java Web Weekly, Issue 150
- Introduction to Spring Cloud Rest Client with Netflix Ribbon
- Guide to the Java 8 forEach
- A Guide to HTTP Cookies in Java
- A Guide to the Java URL
- A Secondary Facebook Login with Spring Social
- Java Collections Interview Questions
- Introduction to Intercepting Filter Pattern in Java
- Introduction to FindBugs
- Introduction to the Java NIO2 File API
- Working with Network Interfaces in Java
- Convert Hex to ASCII in Java
- Java NIO2 Path API
- Java Web Weekly, Issue 149
October 2016
- A Custom Filter in the Spring Security Filter Chain
- DynamoDB in a Spring Boot Application Using Spring Data
- How to Print Screen in Java
- Apache CXF Support for RESTful Web Services
- Custom AccessDecisionVoters in Spring Security
- Java Web Weekly, Issue 148
- A Guide to UDP In Java
- Guide to Hazelcast with Java
- Introduction To Ehcache
- How to Create an Executable JAR with Maven
- A Guide to Cassandra with Java
- Java Web Weekly, Issue 147
- A Guide to the Java LinkedList
- Spring Security: Authentication with a Database-backed UserDetailsService
- Quick Guide to MapStruct
- Getting Started with Spring JMS
- Introduction to WebJars
- Where Is the Maven Local Repository?
- Introduction to the Java NIO Selector
- Thymeleaf: Custom Layout Dialect
- Java Web Weekly, Issue 146
- Introduction to SLF4J
- REST API with Play Framework in Java
- New Features in Java 9
- Get the Current Date and Time in Java
- Introduction to the Wicket Framework
- Routing in Play Applications in Java
- Spring and Thymeleaf 3: Expressions
- Introduction to Play in Java
- A Guide To Java Regular Expressions API
- How to Read a File in Java
- FileNotFoundException in Java
- Java Web Weekly, Issue 145
- Java – Get Random Item/Element From a List
- Introduction to Java Config for Spring Security
- Spring MVC + Thymeleaf 3.0: New Features
- Generate equals() and hashCode() with Eclipse
- Apache Tiles Integration with Spring MVC
- A Guide to the Front Controller Pattern in Java
September 2016
- Java Annotation Processing and Creating a Builder
- Database Migrations with Flyway
- Java Web Weekly, Issue 144
- MD5 Hashing in Java
- Guide to Elasticsearch in Java
- Spring Boot Application as a Service
- Guide to Spring Data REST Validators
- Spring, Hibernate and a JNDI Datasource
- CSRF Protection with Spring MVC and Thymeleaf
- Using a Custom Spring MVC’s Handler Interceptor to Manage Sessions
- Spring Cloud – Bootstrapping
- Filtering a Stream of Optionals in Java
- Batch Processing with Spring Cloud Data Flow
- Intro to Feign
- Guide to the Java ArrayList
- Deploying Web Applications in Jetty
- Guide to Java Reflection
- web.xml vs Initializer with Spring
- Java Web Weekly, Issue 143
- Java Web Weekly, Issue 142
- Java Web Weekly, Issue 141
- A Guide to Spring Cloud Netflix – Hystrix
- Java Web Weekly, Issue 140
- How to Deploy a WAR File to Tomcat
- Getting Started with Stream Processing with Spring Cloud Data Flow
August 2016
- Convert String to int or Integer in Java
- Convert char to String in Java
- Hystrix Integration with Existing Spring Application
- Introduction to Spring Cloud Netflix – Eureka
- Cachable Static Assets with Spring MVC
- A Guide to Java Sockets
- Two Factor Auth with Spring Security
- Injecting Git Information Into Spring
- Functional Interfaces in Java 8
- X.509 Authentication in Spring Security
- Changing Spring Model Parameters with Handler Interceptor
- WebAppConfiguration in Spring Tests
- Introduction to Hystrix
- Java Web Weekly, Issue 139
- How to Run a Shell Command in Java
- Dockerizing a Spring Boot Application
- Eager/Lazy Loading in Hibernate
- Java Web Weekly, Issue 138
- Guide To Running Logic on Startup in Spring
- Integration Testing in Spring
- Pagination with Spring REST and AngularJS table
- CDI Interceptor vs Spring AspectJ
- Guide To CompletableFuture
- Hibernate Second-Level Cache
- Introduction to Spring MVC HandlerInterceptor
- Guide to JSF Expression Language 3.0
- Jackson vs Gson
- Registration with Spring – Integrate reCAPTCHA
- JPA Criteria Queries
- Guide to Spring NonTransientDataAccessException
- Java Web Weekly, Issue 137
- Introduction to Thread Pools in Java
- Introduction to JSONForms
- Asynchronous Batch Operations in Couchbase
- Mapping with Orika
- Cucumber Spring Integration
- Intro to JaCoCo
- Quick Intro to Spring Cloud Configuration
- Java Web Weekly, Issue 136
- A Guide to Mapping With Dozer
- JMockit Advanced Usage
- Quick Guide to Spring Controllers
- Spring JSON-P with Jackson
July 2016
- Introduction to Immutables
- A Custom Security Expression with Spring Security
- Introduction to AutoValue
- Introduction to Spring with Akka
- Java Web Weekly, Issue 135
- Quick Guide to Spring MVC with Velocity
- Intro to Spring Security Expressions
- Introduction To XMLUnit 2.x
- A Guide to FastJson
- A Guide to REST-assured
- Quick Guide to @RestClientTest in Spring Boot
- Java Web Weekly, Issue 134
- Circular Dependencies in Spring
- A Guide to JMockit Expectations
- Java Web Weekly, Issue 130
- Intro to the Jackson ObjectMapper
- Check if Two Lists Are Equal in Java
- Supercharge Java Authentication with JSON Web Tokens (JWTs)
- Guide to Java 8’s Collectors
- 3 Common Hibernate Performance Issues and How to Find Them in Your Log File
- A Guide to Apache CXF with Spring
- Java Web Weekly, Issue 133
- Mutation Testing with PITest
- What’s New in Spring 4.3?
- Intro to Spring Boot Starters
- Using Couchbase in a Spring Application
- Intro to Jedis – the Java Redis Client Library
- A Guide to Spring in Eclipse STS
- AssertJ’s Java 8 Features
- Binary Data Formats in a Spring REST API
- Minification of JS and CSS Assets with Maven
- Hibernate: save, persist, update, merge, saveOrUpdate
- Introduction to Apache CXF
- Introduction to JSF EL 2
- Introduction to Java Logging
- AssertJ for Guava
- Introduction to JSON Schema in Java
- Wiring in Spring: @Autowired, @Resource and @Inject
- Java Web Weekly, Issue 132
- Stored Procedures with Hibernate
- Intro to Querydsl
- JMockit 101
- Introduction to Couchbase SDK for Java
- Testing with Hamcrest
- Introduction to Spring Data Neo4j
- Introduction to the Java 8 Date/Time API
June 2016
- Java Web Weekly, Issue 131
- Keep Track of Logged in Users With Spring Security
- XML Libraries Support in Java
- Spring MVC and the @ModelAttribute Annotation
- Introduction to AssertJ
- Migrating to the New Java 8 Date Time API
- Spring REST API with Protocol Buffers
- Mockito vs EasyMock vs JMockit
- Guava Set + Function = Map
- Java Web Weekly, Issue 129
- A Quick Guide to Spring MVC Matrix Variables
- The Java 8 Stream API Tutorial
- The Market Share of Java IDEs in Q2 2016
- Scheduling in Jakarta EE
- Introduction to Project Lombok
- Load Testing Baeldung with Gatling
- Java Web Weekly, Issue 128
- A Guide to Java Enums
- Intro to XPath with Java
- Intro to Gatling
- Spring Boot Support for jOOQ
- Introduction to WireMock
- REST API Testing with Cucumber
- Guide to Spring @Autowired
- Multiple Buckets and Spatial View Queries in Spring Data Couchbase
- Quick Guide to Spring Bean Scopes
- JavaServer Faces (JSF) with Spring
- Java Web Weekly, Issue 127
May 2016
- New Features in Java 8
- Introduction to Java 8 Streams
- Purging Expired Tokens Generated by the Registration
- Java Web Weekly, Issue 126
- Introduction to Spring REST Docs
- XML Serialization and Deserialization with Jackson
- Java Web Weekly, Issue 125
- Spring Security – Run-As Authentication
- Returning Image/Media Data with Spring MVC
- Intro to WebSockets with Spring
- Java Web Weekly, Issue 124
- Spring HTTP/HTTPS Channel Security
- Java Web Weekly, Issue 123
- Mockito’s Mock Methods
April 2016
- Conferences in May
- Java Web Weekly, Issue 122
- Introduction to PowerMock
- Guide to the Fork/Join Framework in Java
- Java Web Weekly, Issue 121
- An Intro to Spring HATEOAS
- Spring Expression Language Guide
- Java Web Weekly, Issue 120
- XStream User Guide: JSON
- Entity Validation, Optimistic Locking, and Query Consistency in Spring Data Couchbase
- Java – Byte Array to Writer
- Java Web Weekly, Issue 119
- File Upload with Spring MVC
- Zipping and Unzipping in Java
- XStream User Guide: Converting XML to Objects
- Introduction to Jooq with Spring
- Java Web Weekly, Issue 118
March 2016
- XStream User Guide: Converting Objects to XML
- Java Web Weekly, Issue 117
- More Jackson Annotations
- Spring and Spring Boot Adoption in March 2016
- Elasticsearch Queries with Spring Data
- PubSub Messaging with Spring Data Redis
- Java Web Weekly, Issue 116
- Java 8 Adoption in March 2016
- Introduction to Spring Data REST
- Spring MVC Content Negotiation
- Intro to Spring Data Couchbase
- A Guide to Stored Procedures with JPA
- A Guide to Querydsl with JPA
- Inheritance with Jackson
- Java Web Weekly, Issue 115
- Exploring SpringMVC’s Form Tag Library
- The “Java and Spring in 2016” Survey
- OAuth2 for a Spring REST API – Handle the Refresh Token in Angular
- Java Web Weekly, Issue 114
- Introduction to JsonPath
February 2016
- Java Web Weekly, Issue 113
- A Guide to the Java ExecutorService
- Using Apache Camel with Spring
- RESTEasy Client API
- Java Web Weekly 112
- Define Custom RAML Properties Using Annotations
- All Spring Data Guides
- A Guide to RESTEasy
- Java Web Weekly, Issue 111
- Guava 19: What’s New?
- Introduction to Spring Data Elasticsearch
- Modular RAML Using Includes, Libraries, Overlays and Extensions
- Java Web Weekly 110
- Introduction to Spring Data Redis
- A Guide to the ViewResolver in Spring MVC
- Returning Custom Status Codes from Spring Controllers
January 2016
- Spring REST with a Zuul Proxy
- Java Web Weekly, Issue 109
- The Double Colon Operator in Java 8
- Working with Tree Model Nodes in Jackson
- A Guide to CSRF Protection in Spring Security
- Introduction to Using FreeMarker in Spring MVC
- Java Web Weekly, Issue 108
- Auditing with JPA, Hibernate, and Spring Data JPA
- Custom Error Message Handling for REST API
- Injecting Mockito Mocks into Spring Beans
- Eliminate Redundancies in RAML with Resource Types and Traits
- Java Web Weekly Issue 107
- Introduction to Using Thymeleaf in Spring
- Lambda Expressions and Functional Interfaces: Tips and Best Practices
- Java Web Weekly 2
- Hiring a Java/Spring Developer to Work With Me On Videos (not open)
- The REST With Spring Master Class Giveaway
- Java Web Weekly 1
December 2015
- Introduction to Spring Batch
- Intro to Spring Security LDAP
- Java – Try with Resources
- Java Web Weekly 52
- Guava 18: What’s New?
- Using the CassandraTemplate from Spring Data
- Java Web Weekly 51
- Introduction to Advice Types in Spring
- Introduction to Pointcut Expressions in Spring
- An Introduction to Grails 3 and GORM
- Java Web Weekly 50
- Simplify the DAO with Spring and Java Generics
- Introduction to Spring Data Cassandra
- Setting Up Swagger 2 with a Spring REST API Using Springfox
- A Guide to XML in Java
- Introduction to RAML – The RESTful API Modeling Language
- Java Web Weekly 49
November 2015
- Java Web Weekly 48
- Spring Data MongoDB Tutorial
- Java Web Weekly 47
- REST Query Language with Querydsl Web Support
- Spring REST API + OAuth2 + Angular
- JSON in Java
- Java Web Weekly 46
- Java Web Weekly 45
October 2015
- Sixth Round of Improvements to the Reddit Application
- Java Web Weekly 44
- Java Bean Validation Basics
- Spring Bean Annotations
- GridFS in Spring Data MongoDB
- Java Web Weekly 43
- A Spring Custom Annotation for a Better DAO
- Simple AngularJS Front-End for a REST API
- Java Web Weekly 42
- JSON API in a Spring Application
- Java Web Weekly 41
- Scheduling in Spring with Quartz
- Java Web Weekly 40
September 2015
- Fifth Round of Improvements to the Reddit Application
- Java Web Weekly 39
- The Guide to RestTemplate
- Java Web Weekly 38 (formerly the “Baeldung Weekly Review”)
- Baeldung Weekly Review 37
- Apply CQRS to a Spring REST API
- Fourth Round of Improvements to the Reddit Application
- Baeldung Weekly Review 36
August 2015
- Baeldung Weekly Review 35
- Preserve the History of Reddit Post Submissions
- Java Base64 Encoding and Decoding
- Custom Cascading in Spring Data MongoDB
- Spring Data MongoDB – Indexes, Annotations and Converters
- Baeldung Weekly Review 34
- Entity To DTO Conversion for a Spring REST API
- Baeldung Weekly Review 33
- A Guide to Queries in Spring Data MongoDB
- Use Liquibase to Safely Evolve Your Database Schema
- Baeldung Weekly Review 32
- Externalize Setup Data via CSV in a Spring Application
- Introduction to Spring Data MongoDB
July 2015
- Baeldung Weekly Review 31
- Third Round of Improvements to the Reddit Application
- Baeldung Weekly Review 30
- A Guide To Spring Redirects
- Adding Roles and Privileges To the Reddit App
- Baeldung Weekly Review 29
- Testing the API of the Reddit App
- Decoupling Registration from Login in the Reddit App
- Baeldung Weekly Review 28
- Baeldung Weekly Review 27
June 2015
- Displaying Dates in the Timezone of the User
- Baeldung Weekly Review 26
- A User Profile in the Reddit App
- Baeldung Weekly Review 25
- Second Round of Improvements to the Reddit Application
- Baeldung Weekly Review 24
- Jackson Annotation Examples
- Baeldung Weekly Review 23
- Configure a Spring Boot Web Application
May 2015
- Jackson – Decide What Fields Get Serialized/Deserialized
- Jackson – Working With Maps and Nulls
- Retry to Submit to Reddit a Post Without Enough Traction
- Make It Easy to Schedule to Reddit
- Survey Results – Java 8, Spring 4 and Spring Boot Adoption
- Baeldung Weekly Review 22
- Baeldung Weekly Review 21
- A Guide To Caching in Spring
- Rate Limiting Access to the Reddit API
- Baeldung Weekly Review 20
- First Round of Improvements to the Reddit Application
- Baeldung Weekly Review 19
- A Reddit Application with Spring
- CQRS and Event Sourcing Resources
- Baeldung Weekly Review 18
April 2015
- Baeldung Weekly Review 17
- Baeldung Weekly Review 16
- Jackson JSON Tutorial
- Apache HttpClient Tutorial
- Building a REST Query Language
- REST Query Language with RSQL
- Baeldung Weekly Review 15
- Updating Your Password
- Registration – Password Strength and Rules
- Baeldung Weekly Review 14
March 2015
- Metrics for Your Spring REST API
- Baeldung Weekly Review 13
- The Registration API becomes RESTful
- Schedule Post to Reddit with Spring
- Baeldung Weekly Review 12
- Baeldung Weekly Review 11
- Baeldung Weekly Review 10
- Post a Link to the Reddit API
February 2015
- Authenticating with Reddit OAuth2 and Spring Security
- Baeldung Weekly Review 9
- Spring Security Registration Tutorial
- Spring Security Registration – Resend Verification Email
- REST Query Language – Advanced Search Operations
- Baeldung Weekly Review 8
- Spring Security Authentication Tutorial
- Spring Security – Reset Your Password
- Prevent Brute Force Authentication Attempts with Spring Security
- Baeldung Weekly Review 7
- Baeldung Weekly Review 6
January 2015
- Spring JPA – Multiple Databases
- REST Query Language with Spring Data JPA and Querydsl
- Baeldung Weekly Review 5
- REST Query Language with Spring Data JPA Specifications
- REST Query Language with Spring and JPA Criteria
- Spring JDBC
- Baeldung Weekly Review 4
- Baeldung Weekly Review 3
- Spring Security – Roles and Privileges
- Baeldung Weekly Review 2
- Registration with Spring Security – Password Encoding
- My Weekly Reviews of 2014
- Baeldung Weekly Review 1
- Jackson – Bidirectional Relationships
December 2014
- Jackson Date
- Posting with Apache HttpClient
- Baeldung Weekly Review 51
- Top 10 Articles on Baeldung from 2014
- Jackson Exceptions – Problems and Solutions
- Transactions with Spring and JPA
- Baeldung Weekly Review 50
- Jackson JSON Views
- Baeldung Weekly Review 49
- How To Do @Async in Spring
- Baeldung Weekly Review 48
- Registration – Activate a New Account by Email
- Apache HttpAsyncClient Tutorial
November 2014
- Best Java Sites
- Baeldung Weekly Review 47
- Baeldung Weekly Review 46
- Java – Directory Size
- Guava CharMatcher
- Getting Started with Mockito @Mock, @Spy, @Captor and @InjectMocks
- Baeldung Weekly Review 45
- Spring Events
- Serve Static Resources with Spring
- Spring Profiles
- Baeldung Weekly Review 44
- Mockito – Using Spies
- Guava – Maps
- Build a REST API with Spring and Java Config
- Guava – Sets
- Guava – Lists
- Java Timer
October 2014
- Baeldung Weekly Review 43
- Guava – Write to File, Read from File
- Baeldung Weekly Review 42
- Guava – Join and Split Collections
- The @Scheduled Annotation in Spring
- Baeldung Weekly Review 41
- Filtering and Transforming Collections in Guava
- The Baeldung Weekly Review 40
- Guava Cache
- Java – Generate Random String
- The Baeldung Weekly Review 39
- Java – Write to File
September 2014
- The Registration Process With Spring Security
- The Baeldung Weekly Review 38
- Java “Back to Basics” Tutorial
- The Baeldung Weekly Review 37
- The Baeldung Weekly Review 36
- Gson Serialization Cookbook
- The Baeldung Weekly Review 35
August 2014
- The Baeldung Weekly Review 34
- Login for a Spring Web App – Error Handling and Localization
- Gson Deserialization Cookbook
- The Baeldung Weekly Review 33
- The Baeldung Weekly Review 32
- Getting Started with Forms in Spring MVC
- The Baeldung Weekly Review 31
- Java – Write a Reader to File
- The Baeldung Weekly Review 30
July 2014
- The Baeldung Weekly Review 29
- Java – Random Long, Float, Integer and Double
- The Baeldung Weekly Review 28
- Java – Reader to InputStream
- Java – InputStream to Reader
- Java – Reader to Byte Array
- Java – Reader to String
- The Baeldung Weekly Review 27
- Java – File to Reader
- Java – Byte Array to Reader
- Java – String to Reader
- Apache HttpClient Connection Management
- The Baeldung Weekly Review 26
June 2014
- Java – Delete a File
- Java – Create a File
- The Baeldung Weekly Review 25
- Java – Rename or Move a File
- Java – Write an InputStream to a File
- Java – Convert File to InputStream
- Java Byte Array to InputStream
- Java InputStream to Byte Array and ByteBuffer
- Java String to InputStream
- The Baeldung Weekly Review 24
- Project Configuration with Spring
- The Baeldung Weekly Review 23
- Removing All Duplicates From a List in Java
- Removing All Nulls From a List in Java
- Cookbooks
- The Baeldung Weekly Review 22
- Spring Security – Persistent Remember Me
- Convert a Map to an Array, List or Set in Java
May 2014
- Converting Between a List and a Set in Java
- Converting Between an Array and a Set in Java
- Converting Between an Array and a List in Java
- The Baeldung Weekly Review 21
- Introduction to Spring Data JPA
- Multipart Upload with Apache HttpClient
- The Baeldung Weekly Review 20
- The Baeldung Weekly Review 19
- The Baeldung Weekly Review 18
- Sorting with Hibernate
- The Baeldung Weekly Review 17
April 2014
- Sorting with JPA
- The Baeldung Weekly Review 16
- The Baeldung Weekly Review 15
- The Baeldung Weekly Review 14
- Hibernate Pagination
- JPA Pagination
- The Baeldung Weekly Review 13
March 2014
- The Baeldung Weekly Review 12
- The Baeldung Weekly Review 11
- The Baeldung Weekly Review 10
- The Baeldung Weekly Review 9
February 2014
- The Baeldung Weekly Review 8
- Basic Authentication with the RestTemplate
- The Baeldung Weekly Review 7
- The Baeldung Weekly Review 6
- The Baeldung Weekly Review 5
January 2014
- Apache HttpClient Basic Authentication
- The Baeldung Weekly Review 4
- Custom HTTP Header with the Apache HttpClient
- The Baeldung Weekly Review 3
- The Baeldung Weekly Review 2
- Getting Started with Custom Deserialization in Jackson
- Jackson – Custom Serializer
- Http Message Converters with the Spring Framework
- The Baeldung Weekly Review 1
- Java InputStream to String
December 2013
- Jackson Unmarshalling JSON with Unknown Properties
- Most Popular Articles of 2013
- Apache HttpClient – Follow Redirects for POST
- Apache HttpClient – Do Not Follow Redirects
- How to Read a Large File Efficiently with Java
- Java 8 – Powerful Comparison with Lambdas
- Jackson – JsonMappingException (No serializer found for class)
- Apache HttpClient – Send Custom Cookie
- How To Serialize and Deserialize Enums with Jackson
- Apache HttpClient – Get the Status Code
- Immutable ArrayList in Java
- Jackson – Marshall String to JsonNode
- Ignore Null Fields with Jackson
- Jackson – Unmarshall to Collection/Array
- Apache HttpClient – Cancel Request
- Custom User-Agent in Apache HttpClient
- Jackson – Change Name of Field
- Serialize Only Fields That Meet a Custom Criteria With Jackson
- Jackson Ignore Properties on Marshalling
- Partition a List in Java
- A Guide to JPA with Spring
November 2013
- Creating a Web Application with Spring 5
- Apache HttpClient Cookbook
- Mockito When/Then Cookbook
- Mockito Verify Cookbook
October 2013
- Guava Functional Cookbook
- Hamcrest Collections Cookbook
- Error Handling for REST with Spring
- Guava Ordering Cookbook
- Guava Collections Cookbook
- Properties with Spring and Spring Boot
August 2013
- The DAO with JPA and Spring
- Hibernate Mapping Exception – Unknown Entity
- Expand Shortened URLs with Apache HttpClient
- Apache HttpClient with SSL
- RestTemplate with Digest Authentication
- HttpSessionListener Example – Monitoring
- Spring Security Remember Me
July 2013
- Versioning a REST API
- Java Session Timeout
- Apache HttpClient Timeout
- Retrieve User Information in Spring Security
- Redirect to Different Pages After Login With Spring Security
- Unable to Locate Spring NamespaceHandler for XML Schema Namespace
- Spring Security Digest Authentication
- No Bean Named ‘springSecurityFilterChain’ is Defined
- Spring NoSuchBeanDefinitionException
- Control the Session with Spring Security
June 2013
May 2013
- Security with Spring
- Spring Exceptions Tutorial
- Spring BeanCreationException
- Spring Security Logout
- Spring Security – security none, filters none, access permitAll
- Spring Maven Repositories
- Spring DataIntegrityViolationException
- Spring RequestMapping
- Spring BeanDefinitionStoreException
- Maven Release to Nexus
- Hibernate 3 with Spring
- Tweeting StackExchange Questions with Spring Social
- Spring Security Form Login
April 2013
- Spring Security with Maven
- Maven Deploy to Nexus
- Spring with Maven
- Install Local Jar With Maven
- Spring Social Twitter Setup
- Multipart Upload on S3 with jclouds
- Upload on S3 With the jclouds Library
February 2013
January 2013
January 2012
December 2011
November 2011
- REST with Spring Tutorial
- Basic and Digest Authentication for a REST Service with Spring Security
- HATEOAS for a Spring REST Service
- REST API Discoverability and HATEOAS
October 2011
- Integration Testing With the Maven Cargo Plugin
- Test a REST API with Java
- Avoid Brittle Tests for the Service Layer
Attachments