Facelets tutorial: Using composition components

In the previous Facelets Tutorial we have shown a simple facelet example that demonstrates the use of templates to promote code reuse. In this tutorial we will show how to create composition components to create extensible components. What is a Facelets Composite Component? A composite component is a special type of template that acts as … Read more

Facelets tutorial: Using Templates

What are Facelets ? In short, Facelets is a core component of Jakarta Faces specification and also the preferred presentation technology for building Jakarta Faces technology-based applications. In this sample article we will see a few simple example of this technology.

Read more

How to get the list of MBeans in WildFly

This article shows how to fetch the list of MBeans which are available in WildFly application server and check their properties Getting started with the JMXConnector As per JMX Specification, client applications can obtain MBeans through an MBean server connection, accessed by means of a JMX connector. In this article we will show how to … Read more

Solving “javax.naming.Reference cannot be cast to”

Java applications often leverage Java Naming and Directory Interface (JNDI) for naming and directory services. However, encountering the “javax.naming.Reference cannot be cast to” error can be a perplexing challenge for developers. This error typically indicates a casting issue when working with JNDI references. In this article, we will explore common causes of this error and provide solutions to help you resolve it effectively.

Read more

How to inject JPA resources with CDI

This tutorial shows how you can integrate Context Dependency Injection (CDI) to produce resources for JPA Applications. We will also learn how to handle multiple Database resources through CDI annotations.

Read more

Categories cdi