SUN 310-083 Exam Overview:
| Certification Vendor: | Sun Microsystems (Oracle) |
|---|---|
| Exam Name: | Sun Certified Web Component Developer for J2EE 5 (Exam 310-083) |
| Exam Number: | 310-083 |
| Related Certifications: | Sun Certified Programmer for Java (SCJP) |
| Exam Format: | Multiple Choice, Scenario-based Questions |
| Available Languages: | English |
| Real Exam Qty: | 60-70 (varies by version) |
| Exam Duration: | 175 minutes |
| Passing Score: | 70% |
| Exam Price: | USD 150-200 (historical pricing, may vary by region) |
| Certificate Validity Period: | No fixed expiration (legacy Sun certification policy) |
| Recommended Training: | Oracle Java Web Component Training |
| Exam Registration: | Oracle Certification Registration |
| Sample Questions: | SUN 310-083 Sample Questions |
| Exam Way: | Proctored exam at authorized test centers or online proctored (historical availability) |
| Pre Condition: | Recommended: Sun Certified Programmer for Java (SCJP) or equivalent Java SE knowledge |
| Official Syllabus URL: | https://www.oracle.com/education/certification/ |
SUN 310-083 Exam Syllabus Topics:
| Section | Objectives |
|---|---|
| Topic 1: Servlet Technology | - Request and response handling - Filters and listeners - Session management - Servlet lifecycle and API |
| Topic 2: JavaServer Pages (JSP) | - Custom tags and tag libraries - JSP lifecycle - JSP standard actions - Expression Language (EL) |
| Topic 3: Web Application Design and Architecture | - Security considerations - MVC design pattern - Request dispatching |
| Topic 4: Deployment Descriptor and Configuration | - web.xml configuration - Context initialization parameters - Servlet and filter mapping |
| Topic 5: JavaServer Pages Standard Tag Library (JSTL) | - Core tags - Formatting and functions libraries |
SUN Sun Certified Web Component Developer for J2EE 5 Sample Questions:
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
Correct Answer: A,C,D 🗳️
Given this fragment in a servlet:
2 3. if(req.isUserInRole("Admin")) {
2 4. // do stuff
2 5. }
And the following fragment from the related Java EE deployment descriptor:
8 12. <security-role-ref>
8 13. <role-name>Admin</role-name>
8 14. <role-link>Administrator</role-link>
8 15. </security-role-ref>
9 00. <security-role>
9 01. <role-name>Admin</role-name>
9 02. <role-name>Administrator</role-name>
9 03. </security-role>
What is the result?
- A. If line 24 executes, the user's role will be Admin.
- B. If line 24 executes, the user's role will be Administrator.
- C. The deployment descriptor is NOT valid.
- D. Line 24 can never be reached.
- E. If line 24 executes the user's role will NOT be predictable.
Correct Answer: B 🗳️
Which element of the web application deployment descriptor defines the servlet class associated with a servlet instance?
- A. <codebase>
- B. <servlet-class>
- C. <servlet>
- D. <webapp>
- E. <servlet-mapping>
- F. <class>
Correct Answer: B 🗳️
You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to an ArrayList object. Which two JSP code snippets can you use to import these list types? (Choose two.)
- A. <%@ import types='java.util.List'
types='java.util.ArrayList' %> - B. <%@ page import='java.util.List,java.util.ArrayList' %>
- C. <%@ page import='java.util.List'
import='java.util.ArrayList' %> - D. <%! import java.util.List;
import java.util.ArrayList; %> - E. <%@ import types='java.util.List,java.util.ArrayList' %>
- F. <%! import java.util.*; %>
Correct Answer: B,C 🗳️
Given:
3 . class MyServlet extends HttpServlet {
4 . public void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException, IOException {
5. // servlet code here
...
2 6. }
2 7. }
If the DD contains a single security constraint associated with MyServlet and its only <http- method> tags and <auth-constraint> tags are:
< http-method>GET</http-method>
< http-method>PUT</http-method>
< auth-constraint>Admin</auth-constraint>
Which four requests would be allowed by the container? (Choose four.)
- A. A user whose role is Member can perform a POST.
- B. A user whose role is Admin can perform a PUT.
- C. A user whose role is Member can perform a PUT.
- D. A user whose role is Admin can perform a GET.
- E. A user whose role is Member can perform a GET.
- F. A user whose role is Admin can perform a POST.
Correct Answer: A,B,D,F 🗳️
Viewing page 1 out of 56 pages.
Viewing questions 1-5 out of 276 questions.

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


By Diana


