📄 ejb-jar.xml
字号:
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<!--
For each message-driven bean that is located in an
ejb-jar file, you have to define a <message-driven> entry
in the deployment descriptor.
-->
<message-driven>
<!-- The nickname for the bean (could be used later in DD -->
<ejb-name>Log</ejb-name>
<!-- The fully qualified package name of the bean class -->
<ejb-class>examples.LogBean</ejb-class>
<!-- The type of transaction supported (see Chapter 10) -->
<transaction-type>Container</transaction-type>
<!-- Whether I'm listening to a topic or a queue -->
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
</ejb-jar>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -