(SessionDescriptor 
  ; This file must start with SessionDescriptor or EntityDescriptor
  
  ;Indicate the name which the bean will be bound into the JNDI name as 
  beanHomeName                    demo.DemoHome 

  ; The enterprise Java Bean class (see step #4)
  enterpriseBeanClassName         ejb.demo.DemoBean
  
  homeInterfaceClassName          ejb.demo.DemoHome
  ; The home interface implemented by a class generated by the container
  ; provided tools see step #3
 
  remoteInterfaceClassName        ejb.demo.Demo
  ; See step #2

  isReentrant                     false 
  ; Always false for session beans 

  stateManagementType             STATELESS_SESSION
  ; Either STATELESS_SESSION or STATEFUL_SESSION.
  ; DemoBean is a stateless session bean

  sessionTimeout                  5; seconds

  (controlDescriptors
  ; This section decides the run-time properties when a method is called.
  ; The DEFAULT sub-section applies to all methods, but can be overridden
  ; on a per-method basis, similar to the "accessControlEntries" above.
    (DEFAULT
       isolationLevel             TRANSACTION_SERIALIZABLE

       transactionAttribute       TX_REQUIRED


       runAsMode                  CLIENT_IDENTITY
    ); end isolationLevel

  ); end controlDescriptors

  (environmentProperties

    maxBeansInFreePool            100

  ); end environmentProperties
); end SessionDescriptor

