Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Exam 000-150 Preparation Questions

Exam 000-150 Preparation Questions

Ratings:

4.5

(2)
|Views: 201|Likes:
Published by obama123456
Aonetesting the leading source in certification preparation services, all certification guaranteed study material, question and answers, practice exams and many more at one place. This is a brand which fulfills all the requirements of certification preparation of exams. By Aonetesting 000-150 training kits get 100% results in any certification exams.
Aonetesting the leading source in certification preparation services, all certification guaranteed study material, question and answers, practice exams and many more at one place. This is a brand which fulfills all the requirements of certification preparation of exams. By Aonetesting 000-150 training kits get 100% results in any certification exams.

More info:

Published by: obama123456 on Aug 07, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

 
Made available by Aonetesting.com
 
 
J2EE v1.4 Web Developer
For Latest 000-150 Exam Questions and study guides- visit- http://www.Aonetesting.com/000-150.html
 
Question: 1
All of the following are a recommended use for servlet filters EXCEPT:A. AuthenticationB. EncryptionC. Protocol converter D. XSLT
Answer: CQuestion: 2
A Web application contains a single servlet that handles all types of requests. Within the Web applicationthere is an HTML page that contains a form that uses a POST type request. There are also hyperlinkswith query strings associated with them. The servlet must handle both HTML form and hyperlinkrequests. Which two methods of the HttpServlet class should beoverridden by the servlet programmer?A. doGet()B. doPut()C. doPost()D. doQuery()E. doForm()
Answer: A, CQuestion: 3
Which method would be used to call a registered servlet within the same Web application and with thefollowing attributes?Hostname = www.example.com Web Application Context Root = testApp Servlet URI = TestServletA. getServletConfig().getServletContext().getRequestDispatcher ("http://www.example.com/testApp/TestServlet").forward(req,res);B. getServletConfig().getServletContext().getRequestDispatcher ("/testApp/TestServlet").forward(req,res);C. getServletConfig().getServletContext().getRequestDispatcher("/TestServlet").forward(req,res);D. getServletConfig().getServletContext().getRequestDispatcher("TestServlet").forward(req,res);
Answer: CQuestion: 4
Which two of the following may be contained in a WAR file?A. Enterprise JavaBeansB. ServletsC. JSP pagesD. Client-side Java Applications
Answer: B, CQuestion: 5
What Struts class must be extended to hold the state of a form?A. StrutsHTMLFormB. HTMLFormC. ActionFormD. PageSubmit
Answer: CQuestion: 6
Which three of the following would be individually registered in a WAR file deployment descriptor?A. JavaBeans
For Latest 000-150 Exam Questions and study guides- visit- http://www.Aonetesting.com/000-150.html
 
B. Servlet event listenersC. Servlet filtersD. ServletsE. HTML pages
Answer: B, C, DQuestion: 7
Which two of the following JAX-RPC Web service client invocation styles require access to a WSDLdocument at development time?A. StubB. Dynamic ProxyC. Dynamic Invocation InterfaceD. Synchronous
Answer: A, BQuestion: 8
Refer to the exhibit.Consider the Products relation defined in the exhibit. What is the result of attempting to execute thefollowing Java code segment assuming con is a valid reference to an open Connection object?1 PreparedStatement ps = con.prepareStatement(2 "SELECT * FROM Products WHERE " +3 "Cost < ?");45 ps.setDouble(0, 10f);67 ResultSet rs = ps.executeUpdate();8 rs.next();9 System.out.print(rs.getString(1));10 System.out.println(rs.getString(2));A. The code segment displays "1001 Flyback Transformer"B. The code segment displays "Flyback Transformer 8.0"C. The code segment displays "ProductID Description"D. No output is displayed due to a runtime error.
Answer: DQuestion: 9
Given a JDBC DataSource named myDataSource, which of the following correctly returns a JDBCConnection?A. Connection con = new Connection(myDataSource);B. Connection con = myDataSource.getConnection();C. Connection con = ConnectionManager.getConnection(myDataSource);
For Latest 000-150 Exam Questions and study guides- visit- http://www.Aonetesting.com/000-150.html

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->