deploymentdescriptor.txt

来自「学习EJB的很好范例」· 文本 代码 · 共 42 行

TXT
42
字号
(SessionDescriptor
  beanHomeName                    HelloHome
 
  enterpriseBeanClassName         com.wiley.compBooks.roman.session.helloworld.HelloBean

  homeInterfaceClassName          com.wiley.compBooks.roman.session.helloworld.HelloHome

  remoteInterfaceClassName        com.wiley.compBooks.roman.session.helloworld.Hello

  isReentrant                     false 

  ; Session EJBean-specific properties:
  stateManagementType             STATELESS_SESSION
  sessionTimeout                  10; seconds
  ; end session EJBean-specific properties

  (accessControlEntries
;   DEFAULT                       [admin managers] 
  ); end accessControlEntries

  (controlDescriptors
    (DEFAULT
       isolationLevel             TRANSACTION_SERIALIZABLE
       transactionAttribute       TX_REQUIRED
       runAsMode                  CLIENT_IDENTITY
;      runAsIdentity              HelloBeanAdmin
    ); end DEFAULT
  ); end controlDescriptors

  (environmentProperties
    ; Application-specific environment properties
    ; end Application-specific environment properties

;   realmName                     "my.realm" 
;   homeClassName               
;   ejbObjectClassName
    maxBeansInFreePool            100
    maxBeansInCache               100
    idleTimeoutSeconds            60
  ); end environmentProperties
); end SessionDescriptor

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?