File management in Unix
Process Model and IPC
Automation testing QTP with ISTQB Exam modal papers
Automation testing QTP with VB Script functions
Automation testing QTP with ISTQB Exam modal papers
EJB Interview questions
Total available count: 73
Subject - Java Technologies
Subsubject - EJB
What is EJB?
What is session Facade?
What are the key features of the EJB technology?
What are the key benefits of the EJB technology?
What is message-driven bean?
What are Entity Bean and Session Bean?
How EJB Invocation happens?
Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?
The EJB container implements the EJBHome and EJBObject classes. For every request from a unique client, does the container create a separate instance of the generated EJBHome and EJBObject classes?
Can the primary key in the entity bean be a Java primitive type such as int?
Can you control when passivation occurs?
What is the advantage of using Entity bean for database operations, over directly using JDBC API to do database operations? When would I use one over the other?
Brief description about local interfaces?
What are the special design cares that must be taken when you work with local interfaces?
What happens if remove( ) is never invoked on a session bean?
What is the difference between Message Driven Beans and Stateless Session beans?
What is an EJB Context?
Is it possible for an EJB client to marshal an object of class java.lang.Class to an EJB?
Is it legal to have static initializer blocks in EJB?
Is it possible to stop the execution of a method before completion in a SessionBean?
What is the default transaction attribute for an EJB?
What is the difference between session and entity beans? When should I use one or the other?
Is there any default cache management system with Entity beans?
Why is ejbFindByPrimaryKey mandatory?
Why do we have a remove method in both EJBHome and EJBObject?
What is the difference between a Server, a Container, and a Connector?
How is persistence implemented in enterprise beans?
For Entity Beans, What happens to an instance field not mapped to any persistent storage, when the bean is passivated?
What is a Message Driven Bean, what functions does a message driven bean have and how do they work in collaboration with JMS?
What is the advantage of putting an Entity Bean instance from the Ready State to Pooled State?
What is the need of Remote and Home interface. Why can't it be in one?
Can I develop an Entity Bean without implementing the create() method in the home interface?
Why an onMessage call in Message-driven bean is always a separate transaction?
Why are ejbActivate() and ejbPassivate() included for stateless session bean even though they are never required as it is a no conversational bean?
Static variables in EJB should not be relied upon as they may break in clusters. Why?
If I throw a custom ApplicationException from a business method in Entity bean which is participating in a transaction, would the transaction be rolled back by container?
Can a Session Bean be defined without ejbCreate() method?
How to implement an entity bean which the PrimaryKey is an auto numeric field?
What is clustering?
If my session bean with single method insert record into 2 entity beans, how can know that the process is done in same transaction (the attributes for these beans are Required)?
When should I adopt BMP and when I should use CMP?
What's different in Enterprise JavaBeans 1.1?
What is Enterprise JavaBeans?
How many development roles are involved in J2EE application?
What is an enterprise bean?
Are Enterprise JavaBeans and JavaBeans the same thing?
How does passivation work in stateful session beans?
How does a client application create a transaction object?
Do JTS implementations support nested transactions?
How does a session bean obtain a JTA UserTransaction object?
How does an enterprise bean that uses container-managed transactions obtain a JTA UserTransaction object?
Is it possible for a stateless session bean to employ a JTA UserTransaction object?
How does an entity bean obtain a JTA UserTransaction object?
What are the constraints or drawbacks of container managed EJB's?
Is entity data persisted at the end of a transaction or at any time?
How do enterprise beans access native libraries?
What makes a Java class an enterprise bean?
While deploying CMP entity beans, which fields in the bean are container-managed and how are they identified?
Does the EJB programming model support inheritance?
How should complex find operations be implemented?
Can I use Threads in a enterprise bean?
Why are beans not allowed to create their own threads?
How does EJB support polymorphism?
What classes does a client application need to access EJB?
What is an EJB primary key? How is it implemented when the database doesn't have a primary key?
What's an .ear file?
Can beans use stored procedures in a database?
What happens when two users access an Entity Bean concurrently?
Which fields in beans should be public?
How do you implement callbacks in EJB?
How do I automatically generate primary keys?
How is the passivation of Entity beans Managed?
Explain the different Transaction Attributes and Isolation Levels with reference to a scenario?
2021 www.slightbook.com | All Rights Reserved