Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Apache Wicket Interview Questions and Answers

Ques 1. What is Wicket Framework?

Ans. 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.

Is it helpful? Add Comment View Comments
Ques 2. What are Wicket Models?
Ans.
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
Is it helpful? Add Comment View Comments
Ques 3. What are the Ways to create a page in wicket?
Ans.
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 />
Is it helpful? Add Comment View Comments
Ques 4. What is about WebAppication in Wicket?
Ans. 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.
Is it helpful? Add Comment View Comments
Ques 5. What is Base class for HTML pages?
Ans. Base class for HTML pages: Webpage Class.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2017 WithoutBook