ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories >> Software >> Java-Related >> Java-J2EE >> EJB
 
 


 

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
 
0
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
 
0
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. 
 
0
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.
 
0
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>
 
0
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.
 
0
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
 
0
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.
 
0
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
 
0
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..............
 
0
Neelamadhab Mallick
 
 
Answer
yes container can manage the transaction,security and
persistence
 
0
Vamshi Krishna
 
 
Answer
yes
 
0
Bhuvana
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com