| Back to Questions Page |
| |
| Question |
what is mean by port ?
Please answer me.
Advance thanks. |
Rank |
Answer Posted By |
|
Question Submitted By :: Manojkumar |
| This Interview Question Asked @ Excel |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | A port is of two types which will send or receive the
network calls inside the server.For example the mail
server's smtp will respond on port 25  |
| Ravikiran |
| |
| |
| Question |
what is mean by RMI ?
Please answer me.
Advance thanks.
|
Rank |
Answer Posted By |
|
Question Submitted By :: Manojkumar |
| This Interview Question Asked @ Excel |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | RMI is remote method invocation.
When ever i am making a call to the remote bean,then the
representation of the bean as a stub is stored inside the
client side as a stub,which is local to the client,and which
minimizes the hectic network calls.And on the server side it
will be a skeleton which works like the same way  |
| Ravikiran |
| |
| |
| Answer | The Java Remote Method Invocation (RMI) system
allows an object running in one Java virtual machine
to invoke methods on an object running
in another Java virtual machine.
RMI provides for remote communication between programs
written in the Java programming language.  |
| Abdu_006 |
| |
| |
|
|
| |
| Question |
how can we decide a session bean as stateless or stateful
without seeing jar file? i.e. by seeing the class file. |
Rank |
Answer Posted By |
|
Question Submitted By :: Bhararth |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Session beans are non-persistent enterprise beans. They can
be stateful or stateless. A stateful session bean acts on
behalf of a single client and maintains client-specific
session information (called conversational state) across
multiple method calls and transactions. It exists for the
duration of a single client/server session. A stateless
session bean, by comparison, does not maintain any
conversational state. Stateless session beans are pooled by
their container to handle multiple requests from multiple
clients.  |
| Hemalatha |
| |
| |
| Answer | A bean is stateful or stateless can be inferred from its
deployment descriptor.
i.e
ejb-jar.xml
<session-type>Stateless</session-type>  |
| King |
| |
| |
| Question |
java doesnot support multiple inhetance. but a interface can
support.how the ambiguities are rectified in interfaces? |
Rank |
Answer Posted By |
|
Question Submitted By :: Shivakrishna |
| This Interview Question Asked @ CGI |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | In java interfaces are used instead of multiple inheritance
to overcome the problem of ambiguity. Ambiguity dont arise
due to interfaces because interfaces contain only abstract
methods that is juat declarations.  |
| Anshu Aggarwal |
| |
| |
| Question |
java doesnot support multiple inhetance. but a interface can
support.how the ambiguities are rectified in interfaces? |
Rank |
Answer Posted By |
|
Question Submitted By :: Shivakrishna |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | since java doesn,t support multiple inheritance,
to overcome the disadvntage of multiple inheritance
interfaces are came.
multiple inheritance means,many sub classes can share
the properties of base class
interfaces are also providing the same feature
but,the class which is implemented the interface
that should give the definition for all the methods present
in the interface.
so,one interface can be implemented by no of classes
by this,the ambiguities are rectified in interfaces  |
| Padmaja |
| |
| |
| Answer | sorry Padmaja,
Multiple inheritance is way of accessing one sub(child) class from multiple base(parent) classes.
in java is possible through interfaces but not through classes.  |
| Krishna [Aizza] |
| |
| |
| Question |
ejb session beans and entity beans? |
Rank |
Answer Posted By |
|
Question Submitted By :: Balakrishna |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | session beans are function beans.two types of session beans
are stateless & stateful.It is not persitent on three cases
1. server crash
2. server shutdown
3. time out
where as entity beans are value beans. it contains only
setter and getter methods.it is persistent bean.it
maintains database, for storing objects. two types of
entity bean are
bean managed persistance & container managed persistance  |
| Thomas |
| |
| |
| Question |
Can Container Managed Bean-Managed Transaction ? |
Rank |
Answer Posted By |
|
Question Submitted By :: Guest |
| This Interview Question Asked @ Sony |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Yes, Sure..............  |
| Neelamadhab Mallick |
| |
| |
| Answer | yes container can manage the transaction,security and
persistence  |
| Vamshi Krishna |
| |
| |
| Answer | yes  |
| Bhuvana |
| |
| |
|
| |
|
Back to Questions Page |