According to the market research, we have found that a lot of people preparing for the 310-083 exam want to gain the newest information about the exam. In order to meet all candidates requirement, we compiled such high quality study materials to help you. It is believed that our products will be very convenient for you, and you will not find the better study materials than our 310-083 exam question. If you willing spend few hours to learn our study materials, you will pass the exam in a short time. Now we are going to introduce our 310-083 test questions to you.
Printable format of the PDF version
Maybe most of people prefer to use the computer when they are study, but we have to admit that many people want to learn buy the paper, because they think that studying on the computer too much does harm to their eyes. 310-083 test questions have the function of supporting printing in order to meet the need of customers. You can print our 310-083 exam question on papers after you have downloaded it successfully. It not only can help you protect your eyes, but also it will be very convenient for you to make notes. We believe that you will like our 310-083 exam prep.
We can promise 365 days free updates
In order to meet the needs of all customers that pass their exam and get related certification, the experts of our company have designed the updating system for all customers. Our 310-083 exam question will be constantly updated every day. The IT experts of our company will be responsible for checking whether our 310-083 exam prep is updated or not. Once our 310-083 test questions are updated, our system will send the message to our customers immediately. If you use our 310-083 exam prep, you will have the opportunity to enjoy our updating system. You will get the newest information about your exam in the shortest time. You do not need to worry about that you will miss the important information, more importantly, the updating system is free for you, so hurry to buy our 310-083 exam question, you will find it is a best choice for you.
We provide practice offline in anytime
People are very busy nowadays, so they want to make good use of their lunch time for preparing for their 310-083 exam. As is known to us, if there are many people who are plugged into the internet, it will lead to unstable state of the whole network, and you will not use your study materials in your lunch time. If you choice our 310-083 exam question as your study tool, you will not meet the problem. Because the app of our 310-083 exam prep supports practice offline in anytime. If you buy our products, you can also continue your study when you are in an offline state. You will not be affected by the unable state of the whole network. You can choose to use our 310-083 exam prep in anytime and anywhere.
SUN 310-083 Exam Syllabus Topics:
| Section | Weight | Objectives |
|---|---|---|
| Topic 1: Web Container Model | 14% | - Servlet context attributes - Container architecture and responsibilities - Request dispatching |
| Topic 2: JSP Standard Actions and Custom Tags | 13% | - Standard actions - Simple and Classic tag handlers - Tag Library Descriptor |
| Topic 3: JSP Expression Language | 10% | - Implicit variables and scope resolution - EL syntax and operators - Functions and reserved words |
| Topic 4: JSP Technology Model | 13% | - JSP lifecycle and translation - Implicit objects - JSP elements and syntax |
| Topic 5: Session Management | 12% | - Session attributes and listeners - URL rewriting, cookies, SSL - Session lifecycle and tracking |
| Topic 6: Web Application Structure and Deployment | 12% | - Deployment descriptor (web.xml) - WAR file structure - Context parameters and initialization |
| Topic 7: Servlet Technology Model | 15% | - Servlet lifecycle - Servlet interface and methods - Request and response handling |
| Topic 8: Web Application Security | 11% | - Transport security - Authentication and authorization - Declarative and programmatic security |
SUN Sun Certified Web Component Developer for J2EE 5 Sample Questions:
1. Given:
1 1. <% java.util.Map map = new java.util.HashMap();
1 2. request.setAttribute("map", map);
1 3. map.put("a", "b");
1 4. map.put("b", "c");
1 5. map.put("c", "d"); %>
1 6. <%-- insert code here --%>
Which three EL expressions, inserted at line 16, are valid and evaluate to "d"? (Choose three.)
A) ${map[map.b]}
B) ${map.c}
C) ${map.(map.b)}
D) ${map[c]}
E) ${map.map.b}
F) ${map["c"]}
2. The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. While reviewing the application, a developer realizes that in multiple places within the current application, nearly duplicate code exists that finds enterprise beans.
Which pattern should be used to eliminate this duplicate code?
A) Model-View-Controller
B) Front Controller
C) Transfer Object
D) Intercepting Filter
E) Service Locator
F) Business Delegate
3. You have created a servlet that generates weather maps. The data for these maps is calculated by a remote host. The IP address of this host is usually stable, but occasionally does have to change as the corporate network grows and changes. This IP address used to be hard coded, but after the fifth change to the IP address in two years, you have decided that this value should be declared in the deployment descriptor so you do NOT have the recompile the web application every time the IP address changes. Which deployment descriptor snippet accomplishes this goal?
A) <serlvet-param>
< param-name>WeatherServlet.hostIP</param-name>
< param-value>127.0.4.20</param-value>
< /servlet-param>
B) <serlvet-param>
< name>WeatherServlet.hostIP</name>
< value>127.0.4.20</value>
< /servlet-param>
C) <servlet>
< !-- servlet definition here -->
< param-name>WeatherServlet.hostIP</param-name>
< param-value>127.0.4.20</param-value>
< /servlet>
D) <init-param>
< param-name>WeatherServlet.hostIP</param-name>
< param-value>127.0.4.20</param-value>
< /init-param>
E) <init-param>
< name>WeatherServlet.hostIP</name>
< value>127.0.4.20</value>
< /init-param>
4. One of the use cases in your web application uses many session-scoped attributes. At the end of the use case, you want to clear out this set of attributes from the session object.
Assume that this static variable holds this set of attribute names:
2 01. private static final Set<String> USE_CASE_ATTRS;
2 02. static {
2 03. USE_CASE_ATTRS.add("customerOID");
2 04. USE_CASE_ATTRS.add("custMgrBean");
2 05. USE_CASE_ATTRS.add("orderOID");
2 06. USE_CASE_ATTRS.add("orderMgrBean");
207. }
Which code snippet deletes these attributes from the session object?
A) session.deleteAllAttributes(USE_CASE_ATTRS);
B) for ( String attr : USE_CASE_ATTRS ) {
session.removeAttribute(attr);
}
C) session.removeAll(USE_CASE_ATTRS);
D) for ( String attr : USE_CASE_ATTRS ) {
session.deleteAttribute(attr);
}
E) for ( String attr : USE_CASE_ATTRS ) {
session.remove(attr);
}
5. 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 Administrator.
B) If line 24 executes, the user's role will be Admin.
C) The deployment descriptor is NOT valid.
D) If line 24 executes the user's role will NOT be predictable.
E) Line 24 can never be reached.
Solutions:
| Question # 1 Answer: A,B,F | Question # 2 Answer: E | Question # 3 Answer: D | Question # 4 Answer: B | Question # 5 Answer: A |

977 Customer Reviews
