Fix compilation errors and documentation inaccuracies in Java cookbook
recipes against the actual SDK API:
- MultipleSessions: Replace non-existent destroy() with close()
- AccessibilityReport: Replace non-existent McpServerConfig class with
Map<String, Object> (the actual type accepted by setMcpServers)
- error-handling.md: Replace non-existent session.addTool(),
ToolDefinition.builder(), and ToolResultObject with actual SDK APIs
(ToolDefinition.create(), SessionConfig.setTools(),
CompletableFuture<Object> return type)
All 7 recipes now compile successfully with jbang build.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add complete Java cookbook matching the pattern of existing .NET, Go,
Node.js, and Python cookbooks. All 7 recipes included:
- Ralph Loop: Autonomous AI task loops with JBang
- Error Handling: try-with-resources, ExecutionException, timeouts
- Multiple Sessions: Parallel sessions with CompletableFuture
- Managing Local Files: AI-powered file organization
- PR Visualization: Interactive PR age charts
- Persisting Sessions: Save/resume with custom IDs
- Accessibility Report: WCAG reports via Playwright MCP
Each recipe includes both markdown documentation and a standalone
JBang-runnable Java file in recipe/.
The parseWorkflowMetadata function requires both name and description
fields. Added name to relevance-check.md and relevance-summary.md so
they appear in the generated README.workflows.md.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Java 25 upgrade guide with best practices (Java 21 -> 25)
Added a description for the Java upgrade guide.
* Add Java Development Collection and Upgrade Guides
- Created a new collection for Java development, including prompts and instructions for Spring Boot, Quarkus, JPA, JUnit, and Javadoc.
- Added comprehensive markdown documentation for upgrading from Java 17 to Java 21, detailing new language features, API changes, and best practices.
- Introduced upgrade guide for transitioning from Java 21 to Java 25, highlighting new features, migration strategies, and performance considerations.
* Update upgrade guide headers and descriptions for Java 21 to 25
* Refactor Java Development Collection: Update Upgrade Guides with Descriptions
* Add Java 11 to Java 17 Upgrade Guide with best practices and migration patterns
* Rename files