ejb.properties


# BeanType
#
# Specify one of session or entity as well as the relevant
# properties below.  Properties in this file for the "other" type
# of bean will be ignored.
#
# { SESSION, ENTITY }
BeanType=SESSION
 

# GUID (type:STRING)
#
GUID={04F71510-50DE-11D3-BCE1-00104BEC5BF6}

#######################################################################
# DeploymentDescriptors
#

# VersionNumber (type:DWORD)
VersionNumber=1

# BeanHomeName
#
# This is the name used to register the bean in JNDI.  The name is
# always relative; the JNDI root prefix is specified elsewhere.
#
BeanHomeName=cybercash

# EnterpriseBeanClassName
# HomeInterfaceClassName
# RemoteInterfaceClassName
#
# In order to boostrap from this file, the user must specify these 3
# mandatory classfiles.  Use the java class name format, i.e
# "hello.HelloImpl"
#
EnterpriseBeanClassName= creditcard.ejb.CreditCardImpl
HomeInterfaceClassName=creditcard.ejb.ICreditCardHome
RemoteInterfaceClassName=creditcard.ejb.ICreditCardRemote
 

#######################################################################
# SessionDescriptor
#

# SessionTimeout  (type:DWORD, units: milliseconds)

SessionTimeout = 0

# StateManagementType
#
# { STATEFUL_SESSION, STATELESS_SESSION }
#
StateManagementType=STATEFUL_SESSION
 

#######################################################################
# ControlDescriptor
#

# The MethodName must always be specified, and should be the
# special string "DEFAULT" to indicate that the control
# descriptor changes apply to all methods.
#
# Multiple control descriptors can be specified by
# increasing the index, i.e. ControlDescriptor.1.MethodName=foobar
# Indicies cannot be skipped.
#
ControlDescriptor.0.MethodName=DEFAULT

# IsolationLevel
#
# { TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED,
#   TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE }
#
ControlDescriptor.0.IsolationLevel=TRANSACTION_SERIALIZABLE

# RunAsMode
#
# { CLIENT_IDENTITY, SPECIFIED_IDENTITY, SYSTEM_IDENTITY }
#
ControlDescriptor.0.RunAsMode=CLIENT_IDENTITY

# TransactionAttribute
#
# { TX_BEAN_MANAGED, TX_MANDATORY, TX_NOT_SUPPORTED,
#   TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS }
#
ControlDescriptor.0.TransactionAttribute=TX_REQUIRED