Java / CDI: Injecting Controller into Controller
Example showing injection of SomeController into BaseController using @Inject in CDI.
Read →Blog
Practical reminders, fixes, and implementation notes collected while building Java, Spring, cloud, and developer-tooling systems.
Latest Posts
Newest articles first, keeping the existing Jekyll pagination and post archive behavior.
Example showing injection of SomeController into BaseController using @Inject in CDI.
Read →Use p:commandButton with ajax=”false” and action=”targetPage.xhtml?faces-redirect=true” for redirection.
Read →Example of implementing a ServletContextListener and configuring it in web.xml.
Read →How to restore the default terminal colors and prompt by copying /etc/skel/.bashrc to ~/.bashrc.
Read →Use @ViewAccessScoped to preserve view-specific state across reloads and multiple browser tabs.
Read →