What are the classes and interfaces for servlets?-

There are two packages in servlets and they are javax. servlet and In Core Java, servlets are part of the Java Enterprise Edition (Java EE) platform and are used for developing web applications. The key classes and interfaces for servlets are part of the javax.servlet package. Here are some important classes and interfaces related to … Read more

What is servlet?-

Servlets are modules that extend request/response-oriented servers, such as java-enabled web servers. For example, a servlet might be responsible for taking data in an HTML order-entry form and applying the business logic used to update a company’s order database. In the context of Core Java, a servlet refers to a Java programming language class that … Read more

How to create and call stored procedures

To create stored procedures: Create procedure procedurename (specify in, out and in out parameters) BEGIN Any multiple SQL statement; END; To call stored procedures: CallableStatement csmt = con. prepareCall(”{call procedure name(?,?)}”); csmt. registerOutParameter(column no. , data type); csmt. setInt(column no. , column name) csmt. execute(); What is servlet?– Servlets are modules that extend request/response- In … Read more

What is stored procedure?-

?– Stored procedure is a group of SQL statements that forms a logical unit and performs a particular task. Stored Procedures are used to encapsulate a set of operations or queries to execute on database. Stored procedures can be compiled and executed with different parameters and results and may have any combination of input/output parameters. … Read more

What type of driver did you use in project?-

JDBC-ODBC Bridge driver (is a driver that uses native(C language) libraries and makes calls to an existing ODBC driver to access a database engine). The type of JDBC (Java Database Connectivity) driver used in a project depends on the specific requirements and architecture of the project. There are four types of JDBC drivers: Type 1: … Read more