cbjavaloader

Official

Load Java libraries without restarting the server

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dynamically load and manage Java JAR libraries in a running ColdBox application so developers can instantiate Java classes and use Java libraries without restarting the CFML server, while controlling reload behavior between development and production.

Core Features & Use Cases

  • Dynamic JAR loading with configurable load paths to keep libraries organized and versioned.
  • Classloader management and reloadOnEveryRequest toggling to enable fast development loops and safe production behavior.
  • WireBox-compatible injection for a singleton javaloader and simple creation/initialization of Java objects for common tasks.
  • Typical use cases include PDF processing with iText/OpenPDF, spreadsheet handling with Apache POI, image manipulation via Java imaging APIs, and using Apache HttpClient for advanced HTTP interactions.

Quick Start

Use cbjavaloader to load JARs from your project's lib folder, set reloadOnEveryRequest for development, inject the javaloader, and instantiate the Java class you need to perform processing.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cbjavaloader
Download link: https://github.com/ColdBox/skills/archive/main.zip#cbjavaloader

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.