Java MCQ Questions for Placement


Q.  Which can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. in JSP?

a. vs.Static HTML
b. vs.Server-Side Includes
c. vs.Pure Servlets
d. Vs.JavaScript


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  The performance of the application will be faster if you use PreparedStatement interface because query is compiled only once.
Category: Placement Tests,   Published by: teswesm
MCQs:  The sendRedirect() method of HttpServletResponse interface can be used to redirect response to another resource, it may be servlet, jsp or html file.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class provides stream to read binary data such as image etc. from the request object?
Category: Placement Tests,   Published by: teswesm
MCQs:  Using mail API we cannot send mail from a servlet.
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term OGNL?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which type of validation we must implement the Validateable interface (or extend ActionSupport class) and provide the implementation of validate method?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which validates the given string with the specified regular expression,it can be used in password, security key etc.?
Category: Placement Tests,   Published by: teswesm
MCQs:  Spring framework provides an difficult way to manage the dependency, It cannot be easily integrated with struts 2 framework.
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term JMS?
Category: Placement Tests,   Published by: teswesm
MCQs:  A message driven bean is like statefull session bean that encapsulates the business logic and doesn't maintain state.
Category: Placement Tests,   Published by: teswesm
MCQs:  EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence.
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term DGC?
Category: Placement Tests,   Published by: teswesm
MCQs:  An RMI Server is responsible for _______
Category: Placement Tests,   Published by: teswesm
MCQs:  Java supports RMI, RMI Stands for?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which Error Handling in Java handles runtime errors with exceptions, If an exception is not caught in your JSP or Servlet, Resin will use a special error page to send results back to the browser, Resin uses a default error page unless you explicitly provide an error page yourself?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which object of HttpSession can be used to view and manipulate information about a session?
Category: Placement Tests,   Published by: teswesm
MCQs:  Connection Pooling Class manages no of user requests for connections to improve the performance.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which case of a session bean obtains the UserTransaction object via the EJBContext using the getUserTransaction() method in EJB transaction management?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which services are provided to EJB components by the EJB container?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?
Category: Placement Tests,   Published by: teswesm