Which is default transaction attribute for the business method
of a bean?

Answers were Sorted based on User's Feedback



Which is default transaction attribute for the business method of a bean?..

Answer / jaganath panda

REQUIRED
i.e
@TransactionAttribute(value=TransactionAttributeType.REQUIRED)

Is This Answer Correct ?    5 Yes 2 No

Which is default transaction attribute for the business method of a bean?..

Answer / jnj

no

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More EJB Interview Questions

In my project iam integrating telephone line using some bridge. To connect my project to that telephone line they have give some jar file. Using dat i connected with that.. To handle that event like call attented, call disposed and idle time they have give one event listener class.. I did every thing and this class is alsoo called when a particular event is fired. The only thing is i wanna call EJB from that event listener method.. But the EJB is not getting initated and exception is thrown. This below shownn error is occured only i try to call it from this event listener class. In other places EJB calling is working fine.. javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init> (InitialContext.java:197) at com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia lContext(ServiceLocator.java:82) at com.kgisl.etrac.commonUtils.EventListener.getAdministrationE JBRemote(EventListener.java:206) at com.kgisl.etrac.commonUtils.EventListener.CallDispositioned (EventListener.java:65) Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:654) ... 6 more javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init> (InitialContext.java:197) at com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia lContext(ServiceLocator.java:82) at com.kgisl.etrac.commonUtils.EventListener.getAdministrationE JBRemote(EventListener.java:206) at com.kgisl.etrac.commonUtils.EventListener.CallDispositioned (EventListener.java:65) Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:654) ... 6 more It would be more help full if i get the solution 10x in advance balaji

1 Answers  


What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?

0 Answers  


Can Container Managed Bean-Managed Transaction ?

3 Answers   Sony,


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?

0 Answers  


How do you implement the Local Interfaces ?

1 Answers   HCL,






Explain the concept of ejb ql?

0 Answers  


How Stateful Session bean will store its State ?

1 Answers  


Where is ejb used?

0 Answers  


How to import ejb project in eclipse?

0 Answers  


What is difference between ejb and spring?

0 Answers  


What is bean-managed transaction?

0 Answers  


Which services are provided to ejb components by the ejb container?

0 Answers  


Categories