Loading
Hello hello.HelloHome hello.Hello hello.HelloBean Stateless Container "> EJB Transaction Declaration Hello hello.HelloHome hello.Hello hello.HelloBean Stateless Container ">

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  How you declare a Transaction for a given Business Method in a given SessionBean ?


Ans)

<?xml version="1.0" encoding="UTF-8"?> 
<enterprise-beans> 
  <session> 
    <ejb-name>Hello</ejb-name> 
    <home>hello.HelloHome</home> 
    <remote>hello.Hello</remote> 
    <ejb-class>hello.HelloBean</ejb-class> 
    <session-type>Stateless</session-type> 
    <transaction-type>Container</transaction-type> 
  </session> 
</enterprise-beans>



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

EJB Transaction Declaration


EJB Transaction Declaration

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free