EJB interview Questions -Java

EJB interview Questions -Java
Does each stateless session bean have its own EJB object?
What are the call back methods in Session bean
When should we use session bean/entity bean?
What is the main use of using interface?
How to insert new row and link like Edit and Delete
Can we use session beans & entity beans in single application?
What is lazy loading ?
Why don't stateful session beans have a pool?
What is the difference between CMP 1.1 and CMP 2.0
How many EJB Objects are created for a Bean?
What is the difference between CMP and BMP?
Why we are not keeping EJB class file in war
Already we have http session in servlets.
Which deployment descriptor used in struts?
What is deployment descriptor
What are the different algorithms used for clustering?
What is EJB Query Language?
Is stateful session beans are scalable?
What is abstract schema ?
Is Decorator an EJB design pattern
What is the life cycle of Stateless session bean?
Does Stateful Session bean support instance pooling?
Can I map more than one table in a CMP?
Can a Session Bean be defined without EJB Create() method?
What is the difference between sendRedirect() and
What is an EJB Context?
What is EJB architecture (components)
What is the difference between EJB and J2EE ?
What is the difference between normal Java object and EJB?
When you will chose Stateful session bean and Stateless session bean?
What is difference between Servlet and JSP ?
What is CMR ?
What is the lifecycle of Entity Bean?
What are simple rules that a Primary key class has to follow?
Without home and remote interfaces cant we implement ejb?
What is the difference between EJB Create() and EJB PostCreate()
What are advantages and disadvantages of CMP and BMP
How do I know what the developer named the bean?
What is the life cycle of MDB
What is IIOP ?
What is the importance of the Narrow class in RMI?
What is the difference between local interface and remote interface
When we use abstract class and interface ?
What is the difference between ejbStore() and ejbLoad()
How we deploy in weblogic?
What are the optional clauses in EJB QL?
What is the difference between session context
How to invoke Servlet from EJB components?
How to achieve clustering and connection pooling in ejb
What is the difference between interface and abstract class?
Why java is system independent?
What is deployment descriptor?
How do you check whether the session is active in
What is Entity Bean. What are the various types of Entity Bean
Who makes the EJB Object class?
What are the call back methods in Entity bean?
What is default state of session bean in a ejbjar.xml
What is Message Driven Bean
What is business delicate ? Use ? and what is session
What is the need of two Objects i.e EJB Home object
Is stateless Session bean create() method contains
Can I use session beans and hibernate (instead of entity beans)
What is the difference synchronized block and normal block?
What is session synchronization in EJB
What is Message Driven Bean?
What is the difference between EAR, JAR and WAR file?
What is the difference between sessioncontext and entitycontext
What is local interface. How values will be passed?
What is the use of using session facade design pattern in EJB'S?
Is instance pooling necessary for entity beans?
What is the default transaction attribute in transactions ?
Can we use instance variables in Stateless session beans
What are the various transaction attributes and differences
How Non Java Client access EJB.
Which are features in EJB 2.0 ? and which are features in EJB 3.0?
What is request dispatcher?
What is the difference between EJB Store() and EJB Load()?
What are web services?
Can undefined primary keys are possible with Entity beans
What happens when an interface extends another interface?
How many EJB Objects are created for a Bean
What is Entity Bean. What are the various types of Entity Bean?
Can I develop an Entity Bean without implementing the create
What is the life cycle of Stateful session bean
What is the difference between optimistic locking and pessimistic locking
Give a scenario where you have used stateless session beans
What is return type of create method of an entity bean
What is the use of activate, passivate methods in EJB?
What is the difference between Java Bean and EJB?
what is the difference between HTTP Session and Stateful
Can I invoke Runtime.gc() in an EJB?
Can I develop an Entity Bean without implementing the create
When two entity beans are said to be identical
How to configure the jdbc driver in welogic server
What is design pattern ? use ?
How do J2EE application servers in general and the Weblogic
What is the difference between distributed transactions
How will you propagate exception thrown inside session
What are the services provided by container?
What are the file used in hibernate?
What is ejbdoc? Difference between connector, server, container?
What is meant by Serialization and Externalization?
If i throw a custom Application Exception from a business method
What is the difference between EJB and RMI
How can we call CMP ?
What is the difference between find and select methods in EJB?
What is Session Bean. What are the various types of Session Bean
Is it possible to share an Http Session between a JSP and EJB
What are the various isolation levels in a transaction
What is the difference between JNDI context
What is difference between EJB 1.1 and EJB 2.0
What are the call back methods in Entity bean
How Non Java Client access EJB.
What is static block?
What kind of bean (entity/session) will you use if there
How to transfer a bulk amount of tabular data from a JSP page
Without using entity beans can we do database transactions?
With EJB 1.1 specs, why is unsetSessionContext
If session has thrown Application Exception would
Why are ejbActivate() and ejb Passivate() included
What is local interface
How EJBQL are implemented when it is necessary?
How stateful session bean remembers it's client state
Why we need the transactions?
What is difference between EJB 1.1 and EJB 2.0?
What is the difference between Stateful session bean and Stateless session bean?
Why does EJB needs two interfaces (Home and Remote Interface)
What are simple rules that a Primary key class has to follow ?
What is the difference between EAR, JAR and WAR file ?
What is ACID?
How is Stateful Session bean maintain their states with client?
What is the difference between ejbCreate() and ejbPostCreate
What is Instance pooling ?
How garbage collector works
Why an Message call in Message-driven bean is always a seperate transaction?
Is it possible to invoke multiple Session beans from one Session
When you will chose CMP and BMP?
What is handle in EJB?
How to implement an entity bean which the Primary Key is an auto numeric?
What is Instance pooling?
Does stateless Session bean create() method contain any parameters?
What is parent class of Hashtable?
What is EJB ?

No comments:

 
Top Blogs