AEM Page Start-up issue: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Compilation errors in com.adobe.aem.spa.project.core.models.Page cannot be resolved to a type
Learn How to Unit Test Sling Models using JUnit 5 and AEMContext which provides a proper mock environment so that you don't have to user other mock frameworks like powermocks etc.
Unit tests is an essential practice for developers as it promotes early defect detection, higher code quality, increased confidence in changes, faster development cycles, and improved maintainability.
Java 8 stream api sample code to join a list of strings using another character alongwith a conditional flow and also to find distinct and sorted result
Learn how to do AEM 6.5 Local Development Environment setup with screenshots and explanation. Follow the Steps and get going in no time. Everything explained about maven archetype and boilerplate code generation.
Deadlocks, A Common Problem in Multithreaded Applications, How to prevent the Race Conditions with Synchronization that is Key to Safe and Efficient Multithreading.
Confused about Checked and Unchecked Exceptions? Do not be, Check out this article to understand when to use them and how to handle these exceptions and yes, unchecked exceptions are not the same as runtime exceptions.
What is the major difference between category and tags in WordPress? Both have their own objectives and benefits. Check out the detailed explanation with an example.
What is a Hashing technique in Java? How to implement using a hash table? Different types of hashing algorithms, Benefits and drawbacks, when and when not to use.
Learn all about proxy design pattern with examples. How and when to use and implement them. Also, learn the benefits and drawbacks of using proxy design patterns.
Learn about Java Multithreading in this tutorial with examples, best practices, performance, deadlocks, synchronization, concurrency, security, and debugging.
What is java exception handling, How to write custom exceptions in java with exception hierarchy using try-catch, throw and throws keyword, and finally block.
Wondering, how to start learning Python? Here is a quick overview about Python and its features and capabilities. It will help you to get started with programming.
Java generics are a powerful feature that can be used to improve the safety, readability, and maintainability of Java code. Generics can be used when working with collections, generic methods, and generic types. Use generics wisely and avoid using them in situations where they may not be appropriate.
Java annotations are metadata that can be used to provide information about code, control behavior, or be processed by tools. @ symbol is used to create and use annotations.
Learn all about Editable templates in AEM. How to create, edit and maintain. It will also help you in the AEM interviews at beginner, developer or expert level.
Java is considered as secure programming language because of its security apis, better memory management, type safety, sandboxing and bytecode verification.
Implement QueryHints annotations in Spring Data JPA by specifying a query hint with the name and value e.g. "javax.persistence.query.timeout" with value 10000.
Sling Dynamic Include (SDI) can be implemented with three Include types namely SSI, ESI, JSI ie. Server side Include, Edge Side Include & Javascript Include.
The Technology Stack of Adobe Experience Manager (AEM) consists of Java Content Repository (JCR), Apache Jackrabbit Oak, OSGi and Structure within the Repository.