-
JCache
- Creating a store by reference cache
- Creating a store by value cache
- JCache AccessedExpiryPolicy Example
- JCache EternalExpiryPolicy Example
- Accessing cache provider’s Cache implementation
- Listening to Cache Entry Expired events
- Listening to Cache Entry Update events
- Listening to Cache Entry Removed events
- Listening to Cache Entry Created events
- JCache EntryProcessor Example
- Accessing cache provider’s CacheManager implementation
- Configuring cache non-programmatically
- Creating a custom expiry policy factory
- JCache TouchedExpiryPolicy
- Different ways to add entry in cache
- JCache ModifiedExpiryPolicy
- Different ways to remove cache entry
- JCache Expiry Policy Example
- Replacing cache entry’s value
- JCache simple example
-
JAXB
- Marshaling a property as xml attribute
- Preventing a property from being marshalled to xml file
- Listening to unmarshalling events
- Listening to marshaling events
- Programmatically generating schema for java classes
- Updating a particular element in JAXB generated xml
- Marshalling and Unmarshalling java class
-
JAX-RS
- Creating filters in JAX-RS
- BeanParam annotation example
- Mapping exceptions to Response in JAX-RS
- Retrieving url template parameters in JAX-RS annotated method
- Retrieving header parameters in JAX-RS annotated method
- Retrieving query parameters in JAX-RS annotated method
- Binding single http request type to multiple web resource methods in JAX-RS Application
- JAX-RS Simple Example
-
Apache Common Collections
- CollectionUtils retainAll method
- CollectionUtils removeAll method
- Permutations of collection elements
- Comparing two collections for equality
- CollectionUtils getCardinalityMap method
- CollectionUtils intersection method
- CollectionUtils containsAny method
- CollectionUtils collect method
- CollectionUtils containsAll method
- Map with Composite key
- MultiValuedMap Collection
- Partitioning a list
- Merging two sorted collections
- BidiMap Example
- Bag Collection
-
JMS
- JMSTimestamp Example
- JMSMessageID example
- Sending JMS messages in a Transaction
- Setting JMS message priority
- QueueBrowser Example
- Receiving JMS messages asynchronously
- Sending JMS messages asynchronously
- Creating a temporary queue or topic
- Sending and Receiving Map data as JMS message payload
- Setting/Accessing properties of JMS messages
- JMS 2.0 Simple Example
-
Jsoup
- Validating html documents against whitelist of html attributes
- Cloning an html document
- Getting all html elements in a document
- Clearing HTML content of invalid or blacklisted tags
- Validating html documents against whitelist of html tags
- Jsoup’s connect method
- Parsing an HTML fragment as a body of new html document
- Parsing an HTML document
-
Apache Pool
- PoolUtils synchronizedPooledFactory
- PoolUtils synchronizedPool
- ObjectPool getReturnedCount example
- ObjectPool getCreatedCount example
- ObjectPool getBorrowedCount example
- Clearing ObjectPool of Idle objects
- MaxWait duration property
- BlockWhenExhausted Pool Property
- Object Pools object retrieval strategy
- Object Pool addObject method example
- Configuring Generic Object Pool
- Creating a soft reference object pool
- Getting number of active and idle objects in object pool
- BaseKeyedPooledObjectFactory example
- KeyedPooledObjectFactory Example
- BasePooledObjectFactory class Example
- Creating Object Pool
-
JUnit 5
- @RepeatedTest annotation
- assertIterableEquals example
- assertThrows vs assertThrowsExactly example
- beforeAll and afterAll annotation
- assertArraysEquals example
- assumingThat example
- @TestInstance example
- AssertAll Example
- AssertInstanceOf Example
- AssertTimeout Example
- AssertSame Example
- AssertDoesNotThrow Example
- Assumptions in JUnit5
- Disabling the tests
- assertTrue and assertFalse with Supplier Interface
- BeforeEach and AfterEach annotations
- AssertThrows example
- Assertions using Supplier interface
- JUnit 5 Simple example
-
JJWT
- Creating and Parsing a asymmetric key signed JWT containing claims
- Creating and Parsing a asymmetric key signed JWT containing payload
- Asserting the presence of a custom claim in JWT
- Asserting the presence of a standard claim in JWT
- Creating and Parsing a secret key signed JWT containing payload
- Parsing simple unsigned JWT containing plaintext as payload
- Creating a simple unsecured JSON Web Token containing payload
- Creating and Parsing a secret key signed JWT containing claims
- Checking whether JWT is secured or not
- Parsing simple unsecured JWT containing claims
- Creating a simple unsecured JSON Web Token containing claims
-
JAX-RS Client
- Configuring the order of filters
- Registering Filters for all clients
- Registering Filters per JAX-RS client
- Registering Filters per WebTarget
- JAX-RS Client Connect Timeout
- JAX-RS Client Read Timeout
- Asynchronous REST api call using JAX-RS Client api (Part 2)
- Asynchronous REST api call using JAX-RS Client api (Part 1)
- Setting Cookies using JAX-RS client
- Setting ACCEPT header using JAX-RS client
- Setting headers in JAX-RS Client
- JAX-RS Client API using url template example
- JAX-RS Client API sending query parameters example
- Extending base URL with path segments
- JAX-RS Client API simple DELETE example
- JAX-RS Client API simple PUT example
- JAX-RS Client API simple POST example
- JAX-RS Client API Simple GET Example
-
DotEnv
- DotenvBuilder ignoreIfMalformed example
- DotenvBuilder systemProperties method example
- Retrieve environment values present in file
- Accessing an non existing environment key
- ignoreIfMissing method example
- Loading environment properties from custom .env file
- Loading .env file from a specific folder
- Accessing an environment variable
- Loading .env files
-
Branch 2
- Leaf 2.1
- Leaf 2.2