shan


{ City } dharwad
< Country > india
* Profession *
User No # 3954
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 7
Users Marked my Answers as Wrong # 2
Questions / { shan }
Questions Answers Category Views Company eMail




Answers / { shan }

Question { 10908 }

steps to connect with Oracle Databse using TYPE-2 Jdbc driver.


Answer

we can connect with oracle DB using Type-2(partial native
and partial Java)

use driver :
oracle.jdbc.driver.OracleDriver

use URL:
jdbc:oracle:ocis:@hostname:port no:global source name

Dependig on port name and localhost URL will look like
(jdbc:oracle:ocis:@localhost:1521:XE)
XE is global source name Oracle 10g

Is This Answer Correct ?    5 Yes 2 No

Question { IBM, 3969 }

Hi ,i convert contrller as jSp And presentation as
servlet ...will it do? if so what are advantage and
idsadvantages


Answer

If u use Servlet as presentation layer,then if u want to
modify ur program in future ,u have to shutdown the server
and class file has to be updated.

If ur usig JSP as presentation layer no need to
compile,update and shutdown the server.server container will
take care of it.

we can use JSP as controller but any one can view our code
but in servlet it is not possible.

Is This Answer Correct ?    2 Yes 0 No