GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

Computer Associates Java


Computer Associates Java

Questions: 23
Comments: 19
 Showing Questions 1-10 of 23 Questions
[1] 2 3 Next >>
 Sponsored Links

 
 Computer Associates Java
Sorting Options :  

View Question | Asked by : Ravi Kumar Reddy

Write a program to sort an given array and remove duplicates in it with out using java API and print the sort order and the number of occurrence of duplicates.
Read Answers (2) | Asked by : krishna

Why DB connections are not written directly in JSPs ?(a) Response is slow (b) Not a standard J2EE architecture (c) Load Balancing is not possible (d) All the above (e) Both (b) and (c)

What exception is thrown when Servlet initialization fails ?(a) IOException (b) ServletException (c) RemoteException
(b) 

EJB class should implement (a) javax.ejb.EntityBean (b) javax.ejb.rmi (c) javax.ejb.EJBHome (d) javax.ejb.EJBObject

At what stage, the life cycle of a CMP bean can be assumed to be started ?(a) before ejbCreate() method is executed (b) after ejbCreate() method is executed (c) in postCreate() method (d) after executing ejbStore()

Although it is not commonly done, what will you do if you want to have multiple instances of Servlet in memory and if they have to share the execution of a user request ? (a) Defnie Single Thread model (b) Cannot be done

Which of the following is true ?(a) Unlimited data transfer can be done using POST method (b) Data is visible in Browser URL when using POST method (c) When large amounts of data transfer is to be done, GET method is used.
(a) 

How can a Servlet call a JSP error page ?(a) This capability is not supported. (b) When the servlet throws the exception, it will automatically be caught by the calling JSP page. (c) The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named "javax.servlet.jsp.jspException". (d) The servlet needs to redirect the response to the specific error page, saving the exception off in a cookie.
(c) 

What is the key difference between using a and HttpServletResponse.sendRedirect()?(a) forward executes on the client while sendRedirect() executes on the server. (b) forward executes on the server while sendRedirect() executes on the client. (c) The two methods perform identically.
(b) 

View page [1] 2 3 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape