HACKER SAFEにより証明されたサイトは、99.9%以上のハッカー犯罪を防ぎます。
カート(0

SUN 310-083 問題集

310-083

試験コード:310-083

試験名称:Sun Certified Web Component Developer for J2EE 5

最近更新時間:2025-05-03

問題と解答:全276問

310-083 無料でデモをダウンロード:

PDF版 Demo ソフト版 Demo オンライン版 Demo

追加した商品:"PDF版"
価格: ¥6599 

無料問題集310-083 資格取得

質問 1:
A developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, the application needs to find, in a transparent manner, the heterogeneous business components used to service the client's requests. Which design patterns, working together, address these issues?
A. Business Delegate and Transfer Object
B. Model-View-Controller and Intercepting Filter
C. Intercepting Filter and Transfer Object
D. Business Delegate and Service Locator
E. Front Controller and Business Delegate
正解:D

質問 2:
Given a portion of a valid Java EE web application's directory structure:
MyApp
|
|-- Directory1
| |-- File1.html
|
|-- META-INF
| |-- File2.html
|
|-- WEB-INF
|-- File3.html
You want to know whether File1.html, File2.html, and/or File3.html is protected from direct access by your web client's browsers.
What statement is true?
A. Only File1.html is directly accessible.
B. Only File3.html is directly accessible.
C. All three files are directly accessible.
D. Only File1.html and File2.html are directly accessible.
E. Only File2.html and File3.html are directly accessible.
F. Only File2.html is directly accessible.
G. Only File1.html and File3.html are directly accessible.
正解:A

質問 3:
You are building a web application with a scheduling component. On the JSP, you need to show the current date, the date of the previous week, and the date of the next week. To help you present this information, you have created the following EL functions in the 'd' namespace:
name: curDate; signature: java.util.Date currentDate()
name: addWeek; signature: java.util.Date addWeek(java.util.Date, int)
name: dateString; signature: java.util.String getDateString(java.util.Date)
Which EL code snippet will generate the string for the previous week?
A. ${d:dateString[addWeek[curDate[], -1]]}
B. ${d:dateString(addWeek(curDate(), -1))}
C. ${d:dateString(d:addWeek(d:curDate(), -1))}
D. ${d:dateString[d:addWeek[d:curDate[], -1]]}
正解:C

質問 4:
Click the Exhibit button.
Assuming the tag library in the exhibit is imported with the prefix forum, which custom tag invocation produces a translation error in a JSP page?

A. <forum:message from="My Name" subject="My Subject">
< %= request.getParameter( "body" ) %>
< /forum:message>
B. <forum:message from="My Name"
subject="<%= request.getParameter( "subject" ) %>">
My message body.
< /forum:message>
C. <forum:message from="My Name" subject="My Subject" />
D. <forum:message subject="My Subject">
My message body.
< /forum:message>
E. <forum:message from="My Name" subject="${param.subject}">
${param.body}
< /forum:message>
正解:A

質問 5:
Which two statements are true about using the isUserInRole method to implement security in a Java EE application? (Choose two.)
A. Can return "true" even when its argument is NOT defined as a valid role name in the deployment descriptor.
B. It can be used independently of the getRemoteUser method.
C. It can be invoked only from the doGet or doPost methods.
D. Using the isUserInRole method overrides any declarative authorization related to the method in which it is invoked.
E. Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.
正解:A,B

質問 6:
A web component accesses a local EJB session bean with a component interface of com.example.Account with a home interface of com.example.AccountHome and a JNDI reference of ejb/Account. Which makes the local EJB component accessible to the web components in the web application deployment descriptor?
A. <ejb-remote-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /ejb-remote-ref>
B. <resource-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /resource-ref>
C. <env-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /env-ref>
D. <ejb-local-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /ejb-local-ref>
正解:D

質問 7:
Your web application uses a simple architecture in which servlets handle requests and then forward to a JSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation. This information must NOT be accessible to any other servlet, JSP or session in the webapp. Which two techniques can you use to accomplish this goal? (Choose two.)
A. Add parameters to the JSP's URL when generating the request dispatcher.
B. Add attributes to the session object.
C. Use the pageContext object to add request attributes.
D. Add attributes on the request object.
E. Add parameters to the request object.
正解:A,D

弊社のSUN 310-083を利用すれば試験に合格できます

弊社のSUN 310-083は専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社は310-083問題集の質問と答えが間違いないのを保証いたします。

310-083無料ダウンロード

この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のSUN 310-083を利用すれば、君は一回で試験に合格できます。

TopExamは君に310-083の問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。

弊社は失敗したら全額で返金することを承諾します

我々は弊社の310-083問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のSUN 310-083を利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。

一年間の無料更新サービスを提供します

君が弊社のSUN 310-083をご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたSUN 310-083をお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のSUN 310-083を持っていることを保証します。

安全的な支払方式を利用しています

Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社の310-083問題集は全部Credit Cardで支払われることができます。

領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。

弊社は無料SUN 310-083サンプルを提供します

お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料310-083サンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこの310-083問題集は自分に適するかどうか判断して購入を決めることができます。

310-083試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。

SUN Sun Certified Web Component Developer for J2EE 5 認定 310-083 試験問題:

1. A developer for the company web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?

A) The developer must add the string ?id=<sessionid> to the end of every URL to ensure that the conversation with the browser can continue.
B) The developer must ensure that every URL is properly encoded using the appropriate
URL rewriting APIs.
C) The developer must provide an alternate mechanism for managing sessions and abandon the HttpSession mechanism entirely.
D) The developer can ignore this issue. Web containers are required to support automatic
URL rewriting when cookies are not supported.


2. Given that a web application consists of two HttpServlet classes, ServletA and ServletB, and the ServletA.service method:
20. String key = "com.example.data";
21. session.setAttribute(key, "Hello");
22. Object value = session.getAttribute(key);
23.
Assume session is an HttpSession, and is not referenced anywhere else in ServletA.
Which two changes, taken together, ensure that value is equal to "Hello" on line 23?
(Choose two.)

A) ensure that the ServletA.service method is synchronized
B) ensure that ServletB synchronizes on the session object when setting session attributes
C) enclose lines 21-22 in a synchronized block:
synchronized(this) {
session.setAttribute(key, "Hello");
value = session.getAttribute(key);
}
D) enclose lines 21-22 in a synchronized block:
synchronized(session) {
session.setAttribute(key, "Hello");
value = session.getAttribute(key);
}
E) ensure that the ServletB.service method is synchronized


3. Assume a JavaBean com.example.GradedTestBean exists and has two attributes. The attribute name is of type java.lang.String and the attribute score is of type java.lang.Integer.
An array of com.example.GradedTestBean objects is exposed to the page in a request- scoped attribute called results. Additionally, an empty java.util.HashMap called resultMap is placed in the page scope.
A JSP page needs to add the first entry in results to resultMap, storing the name attribute of the bean as the key and the score attribute of the bean as the value.
Which code snippet of JSTL code satisfies this requirement?

A) <c:set var="resultMap" property="${results[0].name}"
value="${results[0].score}" />
B) <c:set target="${resultMap}" property="${results[0].name}"
value="${results[0].score}" />
C) ${resultMap[results[0].name] = results[0].score}
D) <c:set var="${resultMap}" key="${results[0].name}"
value="${results[0].score}" />
E) <c:set var="resultMap" property="${results[0].name}">
$ {results[0].value}
< /c:set>


4. Which two from the web application deployment descriptor are valid? (Choose two.)

A) <error-page>
< exception-type>java.lang.Error</exception-type>
< location>/error.html</location>
< /error-page>
B) <error-page>
< exception-type>*</exception-type>
< location>/error.html</location>
< /error-page>
C) <error-page>
< exception-type>java.io.IOException</exception-type>
< location>/error.html</location>
< /error-page>
D) <error-page>
< exception-type>NullPointerException</exception-type>
< location>/error.html</location>
< /error-page>
E) <error-page>
< exception-type>java.lang.Throwable</exception-type>
< location>/error.html</location>
< /error-page>


5. A web component accesses a local EJB session bean with a component interface of com.example.Account with a home interface of com.example.AccountHome and a JNDI reference of ejb/Account. Which makes the local EJB component accessible to the web components in the web application deployment descriptor?

A) <ejb-remote-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /ejb-remote-ref>
B) <resource-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /resource-ref>
C) <env-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /env-ref>
D) <ejb-local-ref>
< ejb-ref-name>ejb/Account</ejb-ref-name>
< ejb-ref-type>Session</ejb-ref-type>
< local-home>com.example.AccountHome</local-home>
< local>com.example.Account</local>
< /ejb-local-ref>


質問と回答:

質問 # 1
正解: B
質問 # 2
正解: B、D
質問 # 3
正解: B
質問 # 4
正解: C、E
質問 # 5
正解: D

310-083 関連試験
310-081 - Sun Certified Web Component Developer for J2EE 1.4
310-082 - Sun Certified Web Component Developer for J2EE 1.4. Upgrade
連絡方法  
 [email protected] サポート

試用版をダウンロード

人気のベンダー
Apple
Avaya
CIW
FileMaker
Lotus
Lpi
OMG
SNIA
Symantec
XML Master
Zend-Technologies
The Open Group
H3C
3COM
ACI
すべてのベンダー
TopExam問題集を選ぶ理由は何でしょうか?
 品質保証TopExamは我々の専門家たちの努力によって、過去の試験のデータが分析されて、数年以来の研究を通して開発されて、多年の研究への整理で、的中率が高くて99%の通過率を保証することができます。
 一年間の無料アップデートTopExamは弊社の商品をご購入になったお客様に一年間の無料更新サービスを提供することができ、行き届いたアフターサービスを提供します。弊社は毎日更新の情況を検査していて、もし商品が更新されたら、お客様に最新版をお送りいたします。お客様はその一年でずっと最新版を持っているのを保証します。
 全額返金弊社の商品に自信を持っているから、失敗したら全額で返金することを保証します。弊社の商品でお客様は試験に合格できると信じていますとはいえ、不幸で試験に失敗する場合には、弊社はお客様の支払ったお金を全額で返金するのを承諾します。(全額返金)
 ご購入の前の試用TopExamは無料なサンプルを提供します。弊社の商品に疑問を持っているなら、無料サンプルを体験することができます。このサンプルの利用を通して、お客様は弊社の商品に自信を持って、安心で試験を準備することができます。