niranjan


{ City } vijayawada
< Country > india
* Profession * student
User No # 1362
Total Questions Posted # 0
Total Answers Posted # 113

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

Users Marked my Answers as Correct # 1381
Users Marked my Answers as Wrong # 347
Answers / { niranjan }

Question { 5707 }

How variables can be accessed across the sessions?


Answer

through session context interface

Is This Answer Correct ?    0 Yes 1 No

Question { 5746 }

How to debug a servlet?


Answer

through servletloginfo()

Is This Answer Correct ?    2 Yes 1 No


Question { 4652 }

How do you create connections for number of users, if you
want to improve performance?


Answer

connection pooloing

Is This Answer Correct ?    3 Yes 0 No

Question { 6179 }

Explain in detail about applet to servlet communication?


Answer

an applet to serv;let communication takes place in
following ways
1.HTTP Communication
2.Socket Communication
3.RMI Communiocation

Is This Answer Correct ?    12 Yes 2 No

Question { CTS, 14470 }

How are Sessions are more advantage than using of Cookies
or URLReWriting?


Answer

Sessions are more secure and fast than Cookies
andURLReWriting as they are stored on the server side,

Is This Answer Correct ?    4 Yes 7 No

Question { 18237 }

What are the classes and interfaces for servlets?


Answer

The Classes and interfaces in javax.Servlet interface are
Interface----------------------------------Classes
Servlet.................................GenericServlet

ServletRequest.....................UnAvailableException
ServletResponse......................ServletException
SingleThreadModel
the classes and Interfaces in javax.servlet.httpservlet are
classes---------------------------Interfaces
HttpServlet.......................HttpServletRequest
HttpUtils........................HttpSession

Is This Answer Correct ?    16 Yes 8 No

Question { 28757 }

What are the methods in HttpServlet?


Answer

doGet(),doPost(),doDelete(),doTrace()

Is This Answer Correct ?    40 Yes 9 No

Question { 10248 }

What are the methods in HttpSession and their use?


Answer

getId()
getLastAccessedTime()
getCreationTime()
putValue()
getAttribute()
setAttribute()

Is This Answer Correct ?    10 Yes 2 No

Question { 4749 }

What are setComment and getComment methods in Cookies?


Answer

thay are used to get and the comments in cookies.

Is This Answer Correct ?    0 Yes 0 No

Question { 4790 }

What is use of parseQueryString?


Answer

It parses a query string and builds a hash-table of key-
value pairs where values are arrays of string

Is This Answer Correct ?    1 Yes 0 No

Question { 5337 }

What is with the javax.servlet package naming?


Answer

This is one of the package we have in Servlets.The classes
we have in this in package are
GenericServlet,ServletInputStream,ServletOutStream,UnAvailab
leException,ServletException.
The Interfaces are
Servlet,ServletRequest,ServletResponse,SingleThreadModel,Ser
vletContext,ServletConfig

Is This Answer Correct ?    2 Yes 0 No

Question { IBM, 6344 }

when deploying an EJB, does it possible to specify multiple
JNDI names?


Answer

no,it is not possible.If you want to specify multiple JNDI
names
we have to deploy ejb multiple times each specifying
different JNDI names

Is This Answer Correct ?    7 Yes 0 No

Question { 3366 }

Is it possible to write two EJBs that have different bean
classes, but they share same Remote interface and Home
interfaces?


Answer

yes

Is This Answer Correct ?    2 Yes 0 No

Question { 4345 }

What are the properties in Beans?


Answer

indexed,constraint,bounded,simple,boolean

Is This Answer Correct ?    4 Yes 2 No

Question { 3298 }

What are the various methods of an Entity Bean?


Answer

setEntityContext()
unsetEntityContext()
ejbCreate()
ejbRemove()
ejbActivate()
ejbPassivate()
ejbLoad()
ejbStore()
ejbFind()
ejbHome()

Is This Answer Correct ?    0 Yes 0 No

Prev    1   2   3   4   5   6    [7]   8    Next