jahia-dev-java

Guide Java module development for Jahia 8.2 with OSGi and CND.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Jahia/formidable --skill jahia-dev-java
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jahia-dev-java
Source: https://github.com/Jahia/formidable/tree/main/.agents/skills/jahia-dev-java
Command: npx skills add https://github.com/Jahia/formidable --skill jahia-dev-java

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Jahia 8.2 Java module development involves coordinating OSGi modules, defining content types with CND, crafting JSP views, implementing backend logic (rules, actions, queries), and extending Jahia UI extensions. It helps teams streamline module creation, ensure correct deployment, and troubleshoot integration points across the Jahia stack.

Core Features & Use Cases

  • OSGi-based module scaffolding and deployment for Jahia 8.2
  • CND content type definitions and mixins integration for site data models
  • JSP rendering views and UI extensions for Content Editor and jContent
  • Backend logic development: Drools rules, JCR queries, actions, and providers
  • Deployment workflows and debugging across local Jahia instances

Quick Start

Create a new Jahia module project, implement a sample CND content type, add a simple JSP view, and deploy to a local Jahia server to verify the workflow.

Frequently Asked Questions about jahia-dev-java

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Java module for Jahia 8.2?

You build a Jahia 8.2 module by scaffolding an OSGi project, defining CND content types, crafting JSP rendering views, and implementing backend logic like actions and queries before deployment.

How do I define content types with CND in Jahia?

Defining CND content types in Jahia involves creating node type definitions and mixins to structure site data models, which are then integrated with JSP views for rendering content.

Does Jahia module development require OSGi Declarative Services?

Jahia module development uses OSGi Declarative Services for dependency management and modular project structure, ensuring reliable and scalable Jahia extensions across the stack.

What is the best way to troubleshoot Jahia module deployment issues?

Troubleshooting Jahia module deployment involves verifying OSGi dependencies, checking Declarative Services usage, and debugging integration points across local, staging, and production environments.

Can I extend the Content Editor and jContent UI in Jahia?

You can extend the Jahia Content Editor and jContent UI by developing custom JSP rendering views and UI extensions within your Java module project structure.

Why is my OSGi module not deploying correctly on a Jahia server?

OSGi module deployment failures on Jahia usually stem from incorrect dependency management, missing Declarative Services annotations, or unresolved integration points within the modular project structure.