SUN 310-083 Exam Overview:
| Certification Vendor: | Sun Microsystems |
| Exam Name: | Sun Certified Web Component Developer for J2EE 5 |
| Exam Number: | 310-083 |
| Related Certifications: | Sun Certified Web Component Developer for J2EE 5 |
| Available Languages: | English |
| Sample Questions: | SUN 310-083 Sample Questions |
| Exam Way: | Pearson VUE authorized testing center (onsite; historical Sun certification delivery). |
| Pre Condition: | Candidate must be a Sun Certified Programmer (any edition). |
| Official Syllabus URL: | https://docs.oracle.com/cd/E19316-01/819-3669/bncnr/index.html |
SUN 310-083 Exam Syllabus Topics:
| Section | Objectives |
|---|---|
| The Structure and Deployment of Web Applications | - Getting Started with Web Applications |
| The Web Container Model | - Getting Started with Web Applications - Java Servlet Technology |
| Building JSP Pages Using Standard Actions | - JavaServer Pages Technology |
| Building a Custom Tag Library | - Custom Tags in JSP Pages |
| The Servlet Technology Model | - Java Servlet Technology |
| Building JSP Pages Using Tag Libraries | - JavaServer Pages Standard Tag Library |
| The JavaServer Pages (JSP) Technology Model | - JavaServer Pages Technology |
| Session Management | - JavaServer Pages Technology - Getting Started with Web Applications - Java Servlet Technology |
| Web Application Security | - Securing Web Applications |
SUN Sun Certified Web Component Developer for J2EE 5 Sample Questions:
1. Which mechanism requires the client to provide its public key certificate?
A) HTTPS Client Authentication
B) Form Based Authentication
C) HTTP Digest Authentication
D) HTTP Basic Authentication
2. Which two are valid values for the <transport-guarantee> element inside a <security- constraint> element of a web application deployment descriptor? (Choose two.)
A) CONFIDENTIAL
B) SECURE
C) INTEGRAL
D) ENCRYPTED
E) NULL
3. For which three events can web application event listeners be registered? (Choose three.)
A) when a session is created
B) after a servlet is destroyed
C) when a session attribute value is changed
D) when a session has timed out
E) when a cookie has been created
F) when a servlet has forwarded a request
4. Which EL expression evaluates to the request URI?
A) ${request.getURI}
B) ${request.URI}
C) ${request.requestURI}
D) ${requestURI}
E) ${requestScope.requestURI}
F) ${requestScope.request.requestURI}
G) ${pageContext.request.requestURI}
5. You are building a web application that will be used throughout the European Union; therefore, it has significant internationalization requirements. You have been tasked to create a custom tag that generates a message using the java.text.MessageFormat class.
The tag will take the resourceKey attribute and a variable number of argument attributes with the format, arg<N>. Here is an example use of this tag and its output:
< t:message resourceKey='diskFileMsg' arg0='MyDisk' arg1='1247' />
generates:
The disk "MyDisk" contains 1247 file(s).
Which Simple tag class definition accomplishes this goal of handling a variable number of tag attributes?
A) public class MessageTag extends SimpleTagSupport
implements VariableAttributes {
private Map attributes = new HashMap();
public void setVariableAttribute(String uri,
String name, Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
B) public class MessageTag extends SimpleTagSupport
implements DynamicAttributes {
private Map attributes = new HashMap();
public void setDynamicAttribute(String uri, String name,
Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
C) The Simple tag model does NOT support a variable number of attributes.
D) public class MessageTag extends SimpleTagSupport
implements VariableAttributes {
private Map attributes = new HashMap();
public void putAttribute(String name, Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
E) public class MessageTag extends SimpleTagSupport
implements DynamicAttributes {
private Map attributes = new HashMap();
public void putAttribute(String name, Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
Solutions:
| Question # 1 Answer: A | Question # 2 Answer: A,C | Question # 3 Answer: A,C,D | Question # 4 Answer: G | Question # 5 Answer: B |

We're so confident of our products that we provide no hassle product exchange.


By Xavier


