BalusC Faces Expert
Pricing
from $100.00 / 1,000 price for reading a knowledge resources
BalusC Faces Expert
The Definitive Jakarta Faces (JSF) Architectural Knowledge Layer for AI Agents.
Pricing
from $100.00 / 1,000 price for reading a knowledge resources
Rating
0.0
(0)
Developer

Bauke Scholtz
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Share
BalusC Faces Expert MCP
The Definitive Jakarta Faces (JSF) Architectural Knowledge Layer for AI Agents.
Overview
Generic LLMs frequently struggle with the complex, stateful nature of the Jakarta Faces (formerly JSF) lifecycle.
They often suggest "solutions" that lead to ViewExpiredException, broken component state, or inefficient backing bean management.
BalusC Faces Expert MCP is a Model Context Protocol (MCP) server that provides AI agents (like Claude, Cursor, and Copilot) with deterministic architectural guidance. It packages BalusC's top StackOverflow answers into a structured knowledge base with diagnostic decision trees, accessible via the Model Context Protocol.
Available MCP Tools
| Tool | Purpose |
|---|---|
diagnose_jsf_issue | Walk a decision tree for a given symptom (e.g. "action not invoked", "ViewExpiredException"). Returns an ordered checklist of causes and fixes. Falls back to knowledge base search. |
search_knowledge | Full-text search across the curated knowledge base of BalusC's answers. Filter by category. |
recommend_scope | Recommend the appropriate bean scope (@ViewScoped, @SessionScoped, etc.) for a given use case. |
explain_lifecycle | Expert explanation of the 6 JSF lifecycle phases, or drill into a specific phase. |
check_antipattern | Scan XHTML or Java code for common JSF anti-patterns (nested forms, business logic in getters, wrong scope imports, etc.). |
Resources
| URI | Description |
|---|---|
knowledge://entries | List of all knowledge entries (titles + IDs) |
knowledge://entry/{id} | Full content of a single knowledge entry |
knowledge://categories | List of categories with entry counts |
Prompts
| Prompt | Description |
|---|---|
jsf_expert_consultation | Sets up the AI as a JSF expert with relevant knowledge base context for a given problem. |
code_review | Reviews XHTML or Java code against JSF best practices and known problem patterns. |
Knowledge Categories
The knowledge base entries are auto-categorized into:
| Category | Description |
|---|---|
lifecycle | Phases, PhaseListener, execution order |
scoping | Bean scopes (@ViewScoped, @SessionScoped, @RequestScoped, CDI) |
components | UICommand, UIInput, dataTable, form, selectOneMenu |
ajax | f:ajax, execute/render, PrimeFaces process/update |
navigation | Redirects, viewAction, viewParam, URL patterns |
conversion-validation | Converters, validators, error messages |
error-handling | ViewExpiredException, error pages, exception handlers |
el | Expression Language, EL resolvers, EL functions, deferred/immediate evaluation |
jstl | JSTL core/fmt/fn tags, view build time vs render time, c:forEach vs ui:repeat |
templating | Facelets, ui:include, ui:composition, resources |
rendering | Custom renderers, encodeBegin/End, decode |
migration | JSF 1.x to 2.x, javax to jakarta, modernization |
architecture | MVC, backing beans, best practices, design patterns |
Diagnostic Decision Trees
Built-in diagnostic trees for the most common JSF problems:
- Action not invoked - The 18-point checklist for
h:commandButton/h:commandLinknot firing - Value not updated - Input processing failures, setter not called
- ViewExpiredException - Session/state management issues
- Target Unreachable - PropertyNotFoundException diagnostics
- Validation Error: Value is not valid - Converter/equals issues with select components
- Component not found for update/render - Client ID resolution in NamingContainers
- Scope selection - Which bean scope to use for which use case
Lead Architect: BalusC
License
Proprietary / All Rights Reserved (c) 2026 BalusC.


