Pages Tagged with "Java"

How NOT to Generate HTML

Learn how a better way of generating HTML than generating HTML in Java classes.

/posts/2014/02/how-not-to-generate-html.html
Apache Sling JVM Performance Comparison

A comparison of the performance of top Java Virtual Machine implementations in running Apache Sling.

/posts/2020/08/apache-sling-jvm-performance-comparison.html
Apache Sling JVM Performance Followup

Follow up on my initial performance comparison of Java Virtual Machine implementations in running Apache Sling using more iterations to get better data

/posts/2020/08/apache-sling-jvm-performance-followup.html
2 Common Concurrency Pitfalls in AEM and How to Avoid Them

Concurrency issues are challenging to identify, but knowing these 2 common AEM concurrency issues gives you a starting place to look to make sure your code is not affected by concurrency bugs.

/posts/2017/12/avoiding-concurrency-pitfalls-aem.html
Lambda, Optional and Streams with Apache Sling

Tips on using Java's Lambda Expressions, Streams and Optionals with Apache Sling

/posts/2021/05/slinging-optionally.html
Lucky #11: Sling 11 and Java 11 Support

The Apache Sling project just released the latest version of the Apache Sling Starter, version 11. This artifact is an aggregator of the modules making up Apache Sling and is used by many downstream applications as a basis for the "stable" version of the Apache Sling codebase.

/posts/2018/10/lucky-num-11-sling-11-java-11-support.html
Resource Streams in Apache Sling

This new Resource Filter API allows AEM / Sling developers to be significantly more succinct and readable and how they perform common repository traversals. It's not a pure replacement of JCR queries, but for simple content structures you can do a lot more with a lot less code.

/posts/2018/10/resource-streams-apache-sling.html