Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 28 pages
Exam (elaborations)

SWE 645 – Software Engineering for the World Wide Web (SWE 645) Midterm Exam Study Guide Comprehensive Practice Questions with Answers..

Document preview thumbnail
Preview 3 out of 28 pages

This document contains a comprehensive collection of midterm practice questions and answers for SWE 645 Software Engineering for the World Wide Web. It covers JavaServer Faces (JSF), Enterprise JavaBeans (EJB), managed beans, bean scopes, validation techniques, Expression Language (EL), AJAX, PrimeFaces components, MVC architecture, software reuse, component-based development, and software engineering principles.

Content preview

How To Do Manual Validation


Give this one a try later!


1. Setter methods take strings only
2. Action controller checks values
3. Store error messages using FacesContext.addMessage
4. Return null to redisplay form




How To Create Error Messages


Give this one a try later!

, 1. FacesContext.getCurrentInstance();
2. new FacesMessage("some warning");
3.
// add a message to form as a whole
context.addMessage(null, facesMessage);


or

// add a message to specific element
context.addMessage("someId", facesMessage);




How To Do Implicit Automatic Validation


Give this one a try later!


1. Define bean properties to be simple standard types
2. System attempts to convert types automatically and redisplays form if
conversion error with error message (converterMessage)
3. Define required fields on form with required="true" (requiredMessage)




h:dataTable Implementation


Give this one a try later!

, <h:dataTable var="item" value="#{bean.collection}"
styleClass="tableStyle"
headerClass="headerStyle"
rowClasses="even, odd">
<h:column>
<f:facet name="header">Prop</f:facet>
#{item.prop}
</h:column>
</h:dataTable>




EJB JavaBean Types


Give this one a try later!


1. Sessions Beans
2. Java Persistence API (JPA)
3. Message Driven Beans




Good Software Characteristics


Give this one a try later!


1. Correct
2. Scalable
3. Available
4. Secure
5. Sound
6. Interoperable




Need for Validation

Document information

Uploaded on
July 28, 2026
Number of pages
28
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.50

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BestKey
4.3
(116)
Sold
278
Followers
108
Items
8363
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions