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

SUN 310-083 問題集

310-083

試験コード:310-083

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

最近更新時間:2024-05-02

問題と解答:全276問

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

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

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

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

質問 1:
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. The Simple tag model does NOT support a variable number of attributes.
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. 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
}
D. 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
}
E. 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
}
正解:B

質問 2:
A developer is designing a web application which extensively uses EJBs and JMS. The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides a solution for this problem?
A. Session Facade
B. Transfer Object
C. Data Access Object
D. Business Delegate
E. Command
F. Service Locator
正解:F

質問 3:
Which two are true about authentication? (Choose two.)
A. Form-based logins should NOT be used when sessions are maintained by cookies or
SSL session information.
B. J2EE compliant web containers are NOT required to support the HTTPS protocol.
C. Form-based logins should NOT be used with HTTPS.
D. When using Basic Authentication the target server is NOT authenticated.
E. Web containers are required to support unauthenticated access to unprotected web resources.
正解:D,E

質問 4:
What is true about Java EE authentication mechanisms?
A. If your deployment descriptor correctly declares an authentication type of
CLIENT_CERT, your users must have a certificate from an official source before they can use your application.
B. If your deployment descriptor correctly declares an authentication type of BASIC, the container automatically requests a user name and password whenever a user starts a new session.
C. If you want your web application to support the widest possible array of browsers, and you want to perform authentication, the best choice of Java EE authentication mechanisms is DIGEST.
D. To use Java EE FORM authentication, you must declare two HTML files in your deployment descriptor, and you must use a predefined action in the HTML file that handles your user's login.
正解:D

質問 5:
Which two are true regarding a web application class loader? (Choose two.)
A. A web application class loader may NOT override any classes in the java.* and javax.* namespaces.
B. A web application running in a J2EE product may override classes in the javax.* namespace.
C. A web application may override the web container's implementation classes.
D. Resources in the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2SE semantics of getResource.
E. Resources in the WAR class directory or in any of the JAR files within the library directory CANNOT be accessed using the J2SE semantics of getResource.
正解:A,D

質問 6:
Which security mechanism uses the concept of a realm?
A. authentication
B. authorization
C. data integrity
D. confidentiality
正解:A

質問 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. Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "File not found."
An error page has been configured for this JSP page.
Which option prevents the exception thrown by my:errorProne from invoking the error page mechanism, and outputs the message "File not found" in the response?

A) <c:try>
< my:errorProne />
< /c:try>
< c:catch var="ex" />
$ {ex.message}
B) <c:catch var="ex">
< my:errorProne />
< /c:catch>
$ {ex.message}
C) <c:try catch="ex">
< my:errorProne />
< /c:try>
$ {ex.message}
D) <c:try>
<my:errorProne />
<c:catch var="ex" />
${ex.message}
</c:try>
E) <my:errorProne>
< c:catch var="ex">
$ {ex.message}
< /c:catch>
< /my:errorProne>


2. Your web application views all have the same header, which includes the <title> tag in the
< head> element of the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put it into a single JSP called /WEB-INF/jsp/header.jsp.
However, the title of each page is unique, so you have decided to use a variable called pageTitle to parameterize this in the header JSP, like this:
10. <title>${param.pageTitle}<title>
Which JSP code snippet should you use in your main view JSPs to insert the header and pass the pageTitle variable?

A) <jsp:include page='/WEB-INF/jsp/header.jsp'>
$ {pageTitle='Welcome Page'}
< /jsp:include>
B) <jsp:include page='/WEB-INF/jsp/header.jsp'>
< jsp:param name='pageTitle' value='Welcome Page' />
< /jsp:include>
C) <jsp:include file='/WEB-INF/jsp/header.jsp'>
$ {pageTitle='Welcome Page'}
< /jsp:include>
D) <jsp:insert page='/WEB-INF/jsp/header.jsp'>
< jsp:param name='pageTitle' value='Welcome Page' />
< /jsp:insert>
E) <jsp:insert page='/WEB-INF/jsp/header.jsp'>
$ {pageTitle='Welcome Page'}
< /jsp:insert>


3. A developer is designing a web application which extensively uses EJBs and JMS. The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides a solution for this problem?

A) Session Facade
B) Transfer Object
C) Data Access Object
D) Business Delegate
E) Command
F) Service Locator


4. Click the Exhibit button.
A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a
JSP page. This attribute holds an instance of the com.example.Product class with a name property of "The Matrix" and price property of 39.95.
Given the JSP page code snippet:
1 . <jsp:useBean id='product' class='com.example.Product'>
2 . <jsp:setProperty name='product' property='price' value='49.95'/>
3 . </jsp:useBean>
4 . <%= product.getName() %> costs <%= product.getPrice() %>
What is the response output of this JSP page code snippet?

A) Default costs 49.95
B) Default costs 0.0
C) The Matrix costs 0.0
D) The Matrix costs 49.95
E) Default costs 39.95
F) The Matrix costs 39.95


5. You need to create a JSP that generates some JavaScript code to populate an array of strings used on the client-side. Which JSP code snippet will create this array?

A) MY_ARRAY = new Array();
< % for ( int i = 0; i < serverArray.length; i++ ) { %>
MY_ARRAY[${i}] = '${serverArray[i]}';
< % } %>
B) MY_ARRAY = new Array();
< % for ( int i = 0; i < serverArray.length; i++ ) { %>
MY_ARRAY[<%= i %>] = '<%= serverArray[i] %>';
< % } %>
C) MY_ARRAY = new Array();
< % for ( int i = 0; i < serverArray.length; i++ ) {
MY_ARRAY[${i}] = '${serverArray[i]}';
} %>
D) MY_ARRAY = new Array();
< % for ( int i = 0; i < serverArray.length; i++ ) {
MY_ARRAY[<%= i %>] = '<%= serverArray[i] %>';
} %>


質問と回答:

質問 # 1
正解: B
質問 # 2
正解: B
質問 # 3
正解: F
質問 # 4
正解: A
質問 # 5
正解: B

310-083 関連試験
310-082 - Sun Certified Web Component Developer for J2EE 1.4. Upgrade
310-081 - Sun Certified Web Component Developer for J2EE 1.4
連絡方法  
 [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は無料なサンプルを提供します。弊社の商品に疑問を持っているなら、無料サンプルを体験することができます。このサンプルの利用を通して、お客様は弊社の商品に自信を持って、安心で試験を準備することができます。