热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

Apache Wicket 面试题与答案

问题 1. What is Wicket Framework?

Wicket is one of the most recent in a long line of Java web development frameworks.Wicket is a component-based framework, which puts it in stark contrast to some of the earlier solutions to the sometimes monotonous task of web programming.Wicket builds on top of Sun's servlet API. Wicket is mostly removed from the request/response nature that is inherent with the web and Servlets. Instead of building controllers that must service many users and threads simultaneously, taking in requests, returning responses, and never storing any state, the Wicket developer thinks in terms of stateful components. Instead of creating a controller or action class, he or she creates a page, places components on it, and defines how each component reacts to user input.

It is a lightweight component-based web application framework for the Java programming.

这有帮助吗? 添加评论 查看评论
 

问题 2. What are Wicket Models?

A Model holds a value for a component to display and/or edit :
  • Simple Models
  • Dynamic Models
  • Property Models
  • Compound Property Models
  • Wrapped Object Models
  • Resource Models
  • Detachable Models
  • Chaining models

这有帮助吗? 添加评论 查看评论
 

问题 3. What are the Ways to create a page in wicket?

There are 2 ways to Create New Wicket Page.
1. create a Page Extending "WebPage" Class.
2. create a Page Extending  "BasePage" ( BasePage Should Extend "WebPage").

IF you are using first Way you should Create Whole page with thier Header,Footer and other parts
and that HTML file's content may be large (complicated).This is an Unreliable way to create Page. suppose you have to change some content in Header part then you have to edit all pages that having Header Content 

If you are using second way, first Create your BasePage then you can extend these page to other while creating new page. in that page you have to add only Body part (Content that you want to show on that Page) Using <wicket:child />

这有帮助吗? 添加评论 查看评论
 

问题 4. What is about WebAppication in Wicket?

A web application is a subclass of Application which associates with an instance of WicketServlet to serve pages over the HTTP protocol. This class is intended to be subclassed by framework clients to define a web application.

这有帮助吗? 添加评论 查看评论
 

问题 5. What is Base class for HTML pages?

Base class for HTML pages: Webpage Class.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。