<openejb>
<Resource id="MyDataSource" type="DataSource">
JdbcDriver com.mysql.jdbc.Driver
JdbcUrl jdbc:mysql://localhost:3306/mydb
JtaManaged true
</Resource>
<TransactionManager id="MyTransactionManager">
Class com.example.MyTransactionManager
JndiName java:comp/TransactionManager
</TransactionManager>
<SecurityService id="MySecurityService">
Class com.example.MySecurityService
JndiName java:comp/SecurityService
</SecurityService>
<Container id="MyStatelessSessionBean" type="STATELESS">
EjbName MySessionBean
JndiName MySessionBeanLocal
...
</Container>
</openejb>