GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Computer Associates  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 5 of 23    Print  
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)

  
Total Answers and Comments: 1 Last Update: December 16, 2005   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ram
 
b

Above answer was rated as good by the following members:
nishantroamer
April 21, 2005 05:08:14   #1  
ram        

RE: Why DB connections are not written directly in JSPs ?(a) Response is slow (b) Not a standard J2EE a...
b
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

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) 

Why beans are used in J2EE architecture in stead of writing all the code in JSPs ?(a) Allows separation of roles between web developers and application developers (b) Allows integration with Content Management tools
(a) 

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)

The time between Command Execution and Response is called ______(a) Granularity (b) Latency (c) Lag time
(c)EXPLANATION:Latency: Latency is a measure of the temporal delay. Typically, in xDSL, latency refers to the delay in time between the sending of a unit of data at the originating end of a connection 

Which of the following can not be used as the scope when using a JavaBean with JSP? (a) session (b) application (c) request (d) response
(d)  

What is Temporary Servlet ? (a) Servlet that is destroyed at run time (b) Servlet that exists for a session (c) Servlet that is started and stopped for each request
(c) EXPLANATION: A temporary servlet is started when a request arrives and shut down after the response is generated. A permanent servlet is loaded when the server is started and lives until the  


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Taking Advantage of Standard Internet Protocols

Taking Advantage of Standard Internet Protocols As mentioned Oracle XML DB provides native support for standard internet protocols such as S WebDAV and Continuing with the preceding sample you might for example upload another employee XML document into the XML repository with one of the above prot
 

N-Tier Architecture: Data Access Layer

N Tier Architecture Data Access Layer In an N Tier architecture the data access layer consists of components that aid one in the process of accessing the database When it is used correctly the data access layer serves as an abstract level for the structures of the database Simple changes that are ma
 

N-Tier Architecture: The Business Rules Layer

N Tier Architecture The Business Rules Layer Business Rules Layer in N Tier Architectures The Business Rules Layer in an N Tier architecture is that layer that contains the Business logic and or Business rules of the application Reserving a separate layer strictly for Business logic in an N Tier arc
 

N-Tier Architecture Presentation Logic Layer

N Tier Architecture Presentation Logic Layer Composition of the Presentation Layer The Presentation Layer in an N Tier structure is commonly referred to as the client” layer It consists of parts that are used to present data to an end user Examples of components on the Presentation Layer
 

SOA and Business Architecture

SOA and Business Architecture Businesses are now having to think a lot more seriously about how to best assemble their systems out of common parts Service Oriented Architecture has caused this change in the way such systems are thought of It requires a lot more planning and investment at the outset
 

SOA and Network Management Architecture

SOA and Network Management Architecture In recent years the field of Network Management has been absorbing the principles of Service Oriented Architecture Examples of service oriented Network Management architectures include the TS 188 001 NGN Management OSS Architecture from ETSA as well as the mor
 

SOA Architecture

SOA Architecture It is essential for the Businesses to think a lot more seriously about how best to assemble their systems out of common parts It requires a lot more planning and investment at the outset but it also enables Businesses to build faster systems in the long run as the inventory of reusa
 

C++ Standard Input Output Stream

C Standard Input Output Stream In this C tutorial you will learn about standard input stream and standard output stream explained along with syntax and examples C programming language uses the concept of streams to perform input and output operations using the keyboard and to display information on
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

Related Categories
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape