KyaPoocha.com

Huge Collection of Interview Questions


Archive for October, 2006

Why SAP XI ? 

SAP Exchange Infrastructure (SAP XI) enables you to implement cross-system processes. It enables you to connect systems from different vendors (non-SAP and SAP)... Read more »

Why is XI called as “Integration Broker” ? 

SAP calls XI an integration broker because it mediates between entities with varying requirements in terms of connectivity, format, and protocols. According to SAP,... Read more »

What is SAP XI ? 

SAP Exchange Infrastructure (SAP XI) is SAP’s enterprise application integration (EAI) software, a component of the NetWeaver product group used to facilitate... Read more »

How do I find whether a parameter exists in the request object? 

boolean hasFoo = !(request.getParameter(”foo”) == null || request.getParameter(”foo”).equals(”")); or boolean hasParameter = request.getParameterMap().contains(theParameter);... Read more »

What is the difference between RequestDispatcher and sendRedirect? 

RequestDispatcher: server-side redirect with request and response objects. sendRedirect : Client-side redirect with new request and response objects.  Read more »

What is the difference between directive include and jsp include? 

: Used to include static resources during translation time. JSP include: Used to include dynamic content or static content during runtime.  Read more »

What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()? 

request.getRequestDispatcher(path): In order to create it we need to give the relative path of the resource, context.getRequestDispatcher(path): In order to create... Read more »

What is the difference between ServletContext and PageContext? 

ServletContext: Gives the information about the container. PageContext: Gives the information about the Request  Read more »

How many types of JDBC Drivers are present and what are they? 

There are 4 types of JDBC Drivers JDBC-ODBC Bridge Driver Native API Partly Java Driver Network protocol Driver JDBC Net pure Java Driver  Read more »

What is the query used to display all tables names in SQL Server (Query analyzer)? 

select * from information_schema.tables  Read more »

How do you call a stored procedure from JDBC? 

The first step is to create a CallableStatement object. As with Statement an and PreparedStatement objects, this is done with an open onnection object. A CallableStatement... Read more »

How can you use PreparedStatement? 

This special type of statement is derived from class Statement.If you need a Statement object to execute many times, it will normally make sense to use a PreparedStatement... Read more »

What are the different types of Statements? 

Regular statement (use createStatement method), prepared statement (use prepareStatement method) and callable statement (use prepareCall)  Read more »

How can you retrieve data from the ResultSet? 

JDBC returns results in a ResultSet object, so we need to declare an instance of the class ResultSet to hold our results. The following code demonstrates declaring... Read more »

How can you create JDBC statements and what are they? 

A Statement object is what sends your SQL statement to the DBMS. You simply create a Statement object and then execute it, supplying the appropriate execute method... Read more »

Page 1 of 512345»