Java: Writing your own listener for a web app
Example of implementing a ServletContextListener and configuring it in web.xml.
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 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 →SQL query example to list Oracle resource limits (processes, sessions) when not unlimited.
Read →How to locate your Maven installation path and configure it in IntelliJ Idea (Maven home directory).
Read →