ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 


 

Company >> Bally Technologies >> Interview Questions >> EJB Interview Questions
 
  Puzzles Interview Questions (1)   EJB Interview Questions (2)   Core Java Interview Questions (8)
  Testing AllOther Interview Questions (1)   Manual Testing Interview Questions (3)   QTP Interview Questions (1)
  C Sharp Interview Questions (3)   VB Script Interview Questions (1)
 
Back to Questions Page
Question   Driver manager is a class/interface. Rank Answer Posted By  
 Interview Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
The JDBC  DriverManager is a clas....It loads the JDBC 
driver needed to access a particular data source, locates 
and logs on to the database and returns a Connection 
object.
 
0 Eswar
 
 
Answer
in JDBC except DriverManager ang SQLException remaaining 
all are interfaces.
 
0 Bvk
 
 
Answer
DriverManager is a Class as part of javax.sql.*; package.The
purpose of DriverManager is to register the JDBC Driver and
to get the Connection Object
--->DriverManager.registerDriver(new
Oracle.jdbc.driver.OracleDriver());
--->Connection
con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","scott","tiger");
 
0 Amarajagan
 
 
 
Answer
DriverManager is a class that present in java.sql package
which is used to connect the our application with database.
that is DriverManager containing getConnection() method 
that return Connection object
 
0 Tamilvanan
 
 
Answer
DriverManager is a class. By using the static method
(registerDriver) of this class you can register the 
different venders JDBC drivers. Also by using getConncetion 
method you can connect to the database which is registered, 
it returns the object ref of Connection interface.
 
0 Panku
 
 
Question   what is an ejb object? Rank Answer Posted By  
 Interview Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Ejb object is a server-side object,and it conatins business
methods,that is why we need to call ejb object as a business
component.
 
0 Amarajagan
 
 
Answer
Ejb objects are used to access the Business logic methods 
defined by the user in the bean. client gets the reference 
of the object using JNDI, and cast the object as the 
HomeObject and access the methods in the bean.
 
3 Vamsee
 
 
Answer
EjbObject is an object which implements our component 
interface.The container creats it when we call create 
method on home stub.It contains business methods.It is a 
beans body guard.
 
0 Siriganesh
 
 
Answer
EJB object implements Component Interface. It is created by 
the container when create() method is called by the Home 
interface. EJB object contains the business methods present 
in the bean class. Hence client request invokes the 
business method on bean via the EJB object.
 
0 Nisha
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com