judo-runtime:module-setup

Configure JUDO applications with Google Guice modules and database options.

Updated May 5, 2022
One-click install
npx skills add https://github.com/BlackBeltTechnology/judo-runtime-core --skill judo-runtime-module-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: judo-runtime:module-setup
Source: https://github.com/BlackBeltTechnology/judo-runtime-core/tree/main/judo-runtime-core-guice/src/main/resources/claude/plugins/judo-guice/skills/module-setup
Command: npx skills add https://github.com/BlackBeltTechnology/judo-runtime-core --skill judo-runtime-module-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex process of setting up and configuring JUDO applications using Google Guice, ensuring all necessary components are correctly wired for runtime operation.

Core Features & Use Cases

  • Dependency Injection Setup: Provides core Guice modules (JudoDefaultModule, ComponentScanModule) for application bootstrapping.
  • Model Loading: Facilitates loading of JUDO metamodels (ASM, RDBMS, Expression, etc.) from various sources like classpaths or directories.
  • Configuration Management: Offers JudoDefaultModuleConfiguration for fine-tuning runtime behavior, including validation, security, and performance options.
  • Use Case: When starting a new JUDO project, use this Skill to quickly establish the foundational Guice modules and configure the runtime environment for database integration and component scanning.

Quick Start

Use the judo-runtime:module-setup skill to create a Guice injector for a new JUDO application using HSQLDB and scanning for singleton components in the 'com.myapp' package.

Frequently Asked Questions about judo-runtime:module-setup

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

FAQPage Schema
How do I bootstrap a JUDO application using Google Guice for dependency injection?

To bootstrap a JUDO application with Google Guice, configure core modules like JudoDefaultModule and ComponentScanModule to wire necessary components for runtime operation. This setup ensures application bootstrapping and component discovery are correctly initialized.

How do I load JUDO metamodels from a classpath or directory?

Loading JUDO metamodels like ASM, RDBMS, and Expression involves using JudoModelLoader to retrieve them from various sources. You can configure this model loading process to fetch metamodels directly from classpaths or specific directories during setup.

Can I configure HSQLDB or PostgreSQL database integration for JUDO runtime?

Yes, you can configure HSQLDB or PostgreSQL database integration for JUDO runtime. Using JudoDefaultModuleConfiguration, you can fine-tune runtime behavior and specify database integration options to match your application's data persistence requirements.

What is the best way to handle component scanning for singletons in a JUDO Guice application?

The best way to handle component scanning for singletons in a JUDO Guice application is using the ComponentScanModule. It facilitates component discovery by scanning specified packages, allowing you to automatically detect and wire singleton components during application bootstrapping.

How do I fine-tune JUDO runtime parameters for validation and security?

You fine-tune JUDO runtime parameters for validation and security using JudoDefaultModuleConfiguration. This configuration mechanism provides options to adjust runtime behavior, allowing you to enable or disable specific validation and security settings during the Guice module setup.