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
Explain the different Transaction Attributes and Isolation Levels with reference to a scenario?
How is the passivation of Entity beans Managed?
How do I automatically generate primary keys?
How do you implement callbacks in EJB?
Which fields in beans should be public?
What happens when two users access an Entity Bean concurrently?
Can beans use stored procedures in a database?
What's an .ear file?
What is an EJB primary key? How is it implemented when the database doesn't have a primary key?
What classes does a client application need to access EJB?
How does EJB support polymorphism?
Why are beans not allowed to create their own threads?
Can I use Threads in a enterprise bean?
How should complex find operations be implemented?
Does the EJB programming model support inheritance?
While deploying CMP entity beans, which fields in the bean are container-managed and how are they identified?
What makes a Java class an enterprise bean?
How do enterprise beans access native libraries?
Is entity data persisted at the end of a transaction or at any time?
What are the constraints or drawbacks of container managed EJB's?
How does an entity bean obtain a JTA UserTransaction object?
Is it possible for a stateless session bean to employ a JTA UserTransaction object?
How does an enterprise bean that uses container-managed transactions obtain a JTA UserTransaction object?
How does a session bean obtain a JTA UserTransaction object?
Do JTS implementations support nested transactions?
How does a client application create a transaction object?
How does passivation work in stateful session beans?
Are Enterprise JavaBeans and JavaBeans the same thing?
What is an enterprise bean?
How many development roles are involved in J2EE application?
What is Enterprise JavaBeans?
What's different in Enterprise JavaBeans 1.1?
When should I adopt BMP and when I should use CMP?
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)?
What is clustering?
How to implement an entity bean which the PrimaryKey is an auto numeric field?
Can a Session Bean be defined without ejbCreate() method?
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?
Static variables in EJB should not be relied upon as they may break in clusters. Why?
Why are ejbActivate() and ejbPassivate() included for stateless session bean even though they are never required as it is a no conversational bean?
Why an onMessage call in Message-driven bean is always a separate transaction?
Can I develop an Entity Bean without implementing the create() method in the home interface?
What is the need of Remote and Home interface. Why can't it be in one?
What is the advantage of putting an Entity Bean instance from the Ready State to Pooled State?
What is a Message Driven Bean, what functions does a message driven bean have and how do they work in collaboration with JMS?
For Entity Beans, What happens to an instance field not mapped to any persistent storage, when the bean is passivated?
How is persistence implemented in enterprise beans?
What is the difference between a Server, a Container, and a Connector?
Why do we have a remove method in both EJBHome and EJBObject?
Why is ejbFindByPrimaryKey mandatory?
Is there any default cache management system with Entity beans?
What is the difference between session and entity beans? When should I use one or the other?
What is the default transaction attribute for an EJB?
Is it possible to stop the execution of a method before completion in a SessionBean?
Is it legal to have static initializer blocks in EJB?
Is it possible for an EJB client to marshal an object of class java.lang.Class to an EJB?
What is an EJB Context?
What is the difference between Message Driven Beans and Stateless Session beans?
What happens if remove( ) is never invoked on a session bean?
What are the special design cares that must be taken when you work with local interfaces?
Brief description about local interfaces?
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?
Can you control when passivation occurs?
Can the primary key in the entity bean be a Java primitive type such as int?
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?
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?
How EJB Invocation happens?
What are Entity Bean and Session Bean?
What is message-driven bean?
What are the key benefits of the EJB technology?
What are the key features of the EJB technology?
What is session Facade?
What is EJB?
2022 www.slightbook.com | All Rights Reserved