deploymentdescriptor.txt

来自「EJB_原代码多例-好好东西啊」· 文本 代码 · 共 52 行

TXT
52
字号
(EntityDescriptor
  beanHomeName                    AccountHome
  enterpriseBeanClassName         com.wiley.compBooks.roman.entity.account.AccountBean
  homeInterfaceClassName          com.wiley.compBooks.roman.entity.account.AccountHome
  remoteInterfaceClassName        com.wiley.compBooks.roman.entity.account.Account
  isReentrant                     false
  (accessControlEntries
;   DEFAULT                       [admin manager]
  ); end accessControlEntries

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

;application-specific properties
  (environmentProperties
; for WebLogic to pool connections, use the following properties.  Note that
; WebLogic must be initialized in the bean beforehand, and this is non-
; portable.  JDBC 2.0 fixes this by providing portable connection pooling.
; Note that you must define your JDBC driver for your database in
; weblogic.properties.
;	jdbc.drivers		  "weblogic.jdbc.jts.Driver"
;	JDBC_URL		  "jdbc:weblogic:jts:ejbPool"

; for JDBC-Cloudscape (no pooling):
	jdbc.drivers		  "com.cloudscape.core.JDBCDriver"
	JDBC_URL		  "jdbc:cloudscape:ejbdatabase"

; for JDBC-ODBC (no pooling):
;	jdbc.drivers		  "sun.jdbc.odbc.JdbcOdbcDriver"
;	JDBC_URL		  "jdbc:odbc:ejbdatabase"

;   realmName                     "my.realm"
;   homeClassName
;   ejbObjectClassName
    maxBeansInFreePool            20
    maxBeansInCache               1000
    idleTimeoutSeconds            5
    isModifiedMethodName          isModified
  ); end environmentProperties

  ; Entity EJBean-specific properties:
  primaryKeyClassName              com.wiley.compBooks.roman.entity.account.AccountPK
  ; end entity EJBean-specific properties.

); end EntityDescriptor

⌨️ 快捷键说明

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