BalusC Faces Expert avatar

BalusC Faces Expert

Under maintenance

Pricing

from $100.00 / 1,000 price for reading a knowledge resources

Go to Apify Store
BalusC Faces Expert

BalusC Faces Expert

Under maintenance

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

Bauke Scholtz

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

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

ToolPurpose
diagnose_jsf_issueWalk 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_knowledgeFull-text search across the curated knowledge base of BalusC's answers. Filter by category.
recommend_scopeRecommend the appropriate bean scope (@ViewScoped, @SessionScoped, etc.) for a given use case.
explain_lifecycleExpert explanation of the 6 JSF lifecycle phases, or drill into a specific phase.
check_antipatternScan XHTML or Java code for common JSF anti-patterns (nested forms, business logic in getters, wrong scope imports, etc.).

Resources

URIDescription
knowledge://entriesList of all knowledge entries (titles + IDs)
knowledge://entry/{id}Full content of a single knowledge entry
knowledge://categoriesList of categories with entry counts

Prompts

PromptDescription
jsf_expert_consultationSets up the AI as a JSF expert with relevant knowledge base context for a given problem.
code_reviewReviews XHTML or Java code against JSF best practices and known problem patterns.

Knowledge Categories

The knowledge base entries are auto-categorized into:

CategoryDescription
lifecyclePhases, PhaseListener, execution order
scopingBean scopes (@ViewScoped, @SessionScoped, @RequestScoped, CDI)
componentsUICommand, UIInput, dataTable, form, selectOneMenu
ajaxf:ajax, execute/render, PrimeFaces process/update
navigationRedirects, viewAction, viewParam, URL patterns
conversion-validationConverters, validators, error messages
error-handlingViewExpiredException, error pages, exception handlers
elExpression Language, EL resolvers, EL functions, deferred/immediate evaluation
jstlJSTL core/fmt/fn tags, view build time vs render time, c:forEach vs ui:repeat
templatingFacelets, ui:include, ui:composition, resources
renderingCustom renderers, encodeBegin/End, decode
migrationJSF 1.x to 2.x, javax to jakarta, modernization
architectureMVC, backing beans, best practices, design patterns

Diagnostic Decision Trees

Built-in diagnostic trees for the most common JSF problems:

  1. Action not invoked - The 18-point checklist for h:commandButton/h:commandLink not firing
  2. Value not updated - Input processing failures, setter not called
  3. ViewExpiredException - Session/state management issues
  4. Target Unreachable - PropertyNotFoundException diagnostics
  5. Validation Error: Value is not valid - Converter/equals issues with select components
  6. Component not found for update/render - Client ID resolution in NamingContainers
  7. Scope selection - Which bean scope to use for which use case

Lead Architect: BalusC

License

Proprietary / All Rights Reserved (c) 2026 BalusC.