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
Questions / { niranjan }
Questions Answers Category Views Company eMail




Answers / { niranjan }

Question { 7523 }

what is current EJB version?


Answer

ejb2.0

Is This Answer Correct ?    1 Yes 11 No

Question { 4977 }

What transaction attributes does Java Bean containers
support?


Answer

1.notsupported
2.supports
3.requirednew
4.requires
5.mandatory
6.never

Is This Answer Correct ?    0 Yes 0 No


Question { 5158 }

Explain different ways of passing arguments to sub-routine?


Answer

an argument is passed to a sub-routine by 2 differen tways
1.pass by value
2.pass by reference

Is This Answer Correct ?    6 Yes 0 No

Question { 4087 }

absract methods in EntityBean ?


Answer

methodb in cmp are abstract

Is This Answer Correct ?    0 Yes 0 No

Question { CTS, 12815 }

How can we find size of the object ?


Answer

there is no sizeOf() in java to find the size of the object

Is This Answer Correct ?    8 Yes 4 No

Question { TCS, 22715 }

How to initialize an Applet ?


Answer

by init()

Is This Answer Correct ?    15 Yes 9 No

Question { 14972 }

Why does EJB needs two interfaces, Home and Remote
Interface?


Answer

Home Interface is the means to connect to the container
Remote Interface is your way to link to the bean

Is This Answer Correct ?    15 Yes 6 No

Question { Wipro, 6034 }

For which statements we use a label?


Answer

for switch statements

Is This Answer Correct ?    4 Yes 0 No

Question { Wipro, 6959 }

What is HTTP Tunneling?


Answer

HTTP Tunneling is the process of reading and writing the
operations of HTTP protocol.It extends the functionality of
HTTP protocol.

Is This Answer Correct ?    7 Yes 0 No

Question { Wipro, 19886 }

What is Generic Servlet and how it is different from Http
Servlet?


Answer

The diff is that inGeneracicServlet we had to implement the
service()method the GenericServlets service() method is
declared as abstract.But the Generic Servlet is not
implementing keeping the HttpSErvers in mind. Methods we
have in this class are
init()
log()
service()
While implementing the HTTP Servlet the service() method is
already implemented .service()method of HTTP sevlet is
declared as protected.the HTTPServlet is implementing
keeping the HttpSErvers in mind. Methods we have in this
class are
doGet(),doDelete(),doPost()

Is This Answer Correct ?    18 Yes 4 No

Question { Wipro, 46072 }

What is Single Threaded Model in Servlets? Explain this
with an example?


Answer

Single Thread Model ensures that servlet handles only one
request at a time.When YOUR CLASS IMPLEMENTS THIS INTERFACE
WE ARE GUARENTEED THAT no two threads run simultaneously in
service() method.
this is a marker interface which contains no methods on its
own.

Is This Answer Correct ?    53 Yes 3 No

Question { Wipro, 4407 }

How enterprise beans will handle concurrent and loopback
calls on entity beans?


Answer

through Re-entrant
we have to specify in the deployment descriptor whether
athey are re-entrant true/false

Is This Answer Correct ?    1 Yes 0 No

Question { Cognizant, 22963 }

How OOPS concept is achieved in Java?


Answer

by polymorphism,inheritance,abstraction,encapsulation

Is This Answer Correct ?    20 Yes 8 No

Question { 7639 }

How are Java source code files named?


Answer

A java source code file contains atmost one public class
or interface defined with in the file.Java source code
files takes the name of the public class or interface that
is defined with in the source code file.If no public class
or interface is defined with in the source code file then
file must take on a name that is different than its public
class or interface.

Is This Answer Correct ?    2 Yes 0 No

Question { 5135 }

How are commas used in the initialization and iteration
parts of a for statement?


Answer

Commas are used to separate the initialization and
iteration parts in the for statement.

Is This Answer Correct ?    2 Yes 1 No

 [1]   2   3   4   5   6   7   8    Next