Самые популярные вопросы и ответы для интервью и онлайн-тесты
Образовательная платформа для подготовки к интервью, онлайн-тестов, учебных материалов и живой практики

Развивайте навыки с целевыми маршрутами обучения, пробными тестами и контентом для подготовки к интервью.

WithoutBook объединяет вопросы для интервью по предметам, онлайн-практику, учебные материалы и сравнительные руководства в одном удобном учебном пространстве.

Подготовка к интервью

Пробные экзамены

Сделать домашней страницей

Добавить страницу в закладки

Подписаться по адресу эл. почты

RichFaces вопросы и ответы для интервью

Вопрос 1. What is RichFaces?

RichFaces is a JSF component library that consists of two main parts: AJAX enabled JSF components and the CDK (Component Development Kit). RichFaces UI components are   divided into two tag libraries a4j: and rich:. Both tag libraries offer out-of-the-box AJAX enabled JSF components. The CDK is a facility for creating, generating and testing you own rich JSF components.

  • A full set of AJAX enabled components in two libraries
    • a4j: page centric AJAX controls
    • rich: self contained, ready to use components
  • Client-side validation, expanding JSR 303 Bean Validation all the way to the browser.
  • Advanced queueing to match the high performance requirements of real world enterprise applications.
  • Push component upgrades including JavaMessaging Service (JMS) integrations, and various transport mechanisms based on browser support.
  • Our own Component Development Kit (CDK).
  • Comprehensive documentation covering development best practices, and component details.
  • Detailed and automated testing facilities for components, actions, listeners, and pages.
  • Broad cross-browser support
  • Large and active community at its foundation!!

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 2. What is <a4j:support> tag?

Sends an AJAX request based on a DHTML event supported by the parent component.  In this example, the AJAX request will  be triggered after the user types a character in the text box:

<h:inputText value="#{document.docOrigtor}" id="docClaimOrigId" binding="#{handler.docOrig}">
  <a4j:support actionListener="#{handler.createDocumentName}" event="onkeyup" reRender="docId"/>
</h:inputText>
Here, on keyup event it will call handler.createDocumentName method with ajax call and rendering docId value.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 3. What are the basic configurations of web.xml for Rich Faces?

Configuration of web.xml while you are using RichFaces in your application:

    <context-param>
      <param-name>org.richfaces.CONTROL_SKINNING</param-name>
      <param-value>enable</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.LoadStyleStrategy</param-name>
        <param-value>ALL</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.LoadScriptStrategy</param-name>
        <param-value>ALL</param-value>
    </context-param>
    <filter>
        <display-name>RichFaces Filter</display-name>
        <filter-name>richfaces</filter-name>
        <filter-class>org.ajax4jsf.Filter</filter-class>
        <init-param>
            <param-name>maxRequestSize</param-name>
            <param-value>999999999</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>richfaces</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 4. How to control traffic in RichFaces?

Controlling traffic can be done using Queues mechanism.
Queues can be defined using <a4j:queue../>
3 types of queues are there: Named, Unnamed, and Global queue.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 5. How to keep a managed bean between requests?

 The bean class should be implemented by Serializable.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Самое полезное по оценкам пользователей:

Авторские права © 2026, WithoutBook.