API / Apache Wicket Interview questions
What is a bookmarkable page in Wicket?
A bookmarkable page is one that can be constructed directly from information in the URL itself — typically via a public constructor taking a PageParameters argument — so a user can bookmark, share, or reload that exact URL and land on a properly initialized page, even in a fresh session with no prior server-side state.
This contrasts with a purely stateful page reached only by clicking through the application, whose URL is often an internal, non-descriptive callback reference that doesn't reconstruct anything meaningful if visited cold. A search results page, for example, is a natural bookmarkable candidate: SearchResultsPage(PageParameters) reads a query term from the parameters and rebuilds the same results whether it's reached by clicking "search" or by pasting a saved link.
Wicket also supports mounting a bookmarkable page to a clean, readable URL pattern (e.g. /search/${term} instead of a default Wicket-generated path), which is typically done alongside making a page bookmarkable, though the two are technically separate concerns.
More Related questions...