用RAD开发EJB差不多一年多的时间了,但是对于RAD部署EJB的几个descriptor文件还是不甚了解,特别是ibm-ejb-jar-ext.xmi的作用,因为平时根本不会用到这个文件,被一个妹子问起这个文件的作用,一时竟然答不出来,好囧!
今天特别地搜了一下,才发现,好像也真没多大作用,但起码是一种了解,写在这里一下,提醒自己。
Deployment descriptors
A deployment descriptor contains configuration data that the runtime environment uses for an application. A deployment descriptor can include information about the following:
The structure and content (enterprise beans, for example) of the application.
References to internal and external dependencies.
For example, an enterprise bean in an EJB module can require another enterprise bean that is not bundled in the same module.
References to resource factory objects, such as URLs or JDBC data sources.
Security roles that the container uses when implementing the required access control for the application.
Transactional information about how (and whether) the container is to manage transactions for the
application.
Deployment descriptors are XML files packaged with the application's files in a Java archive file. An EJB deployment descriptor is called ejb-jar.xml and is located in the META-INF folder of an EJB project. A J2EE application contains one application-level deployment descriptor file, governing the application as a whole. It also contains several component-level deployment descriptors, one for each module in the application.
In addition to standard deployment descriptors, the workbench also includes information on WebSphere Application Server bindings and extensions. The bindings and extensions documents are specific to IBM. Both binding and extension descriptors are stored in XMI files, ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi, respectively.
Binding information maps a logical name of an external dependency or resource to an actual JNDI name. For example, the container uses binding information to locate a remote bean at installation.
Extensions are additions to the standard descriptors. The extensions enable older (legacy) systems to work in the WebSphere Application Server environment. They are also used to specify application behavior that is vendor-specific, undefined in a current specification, or expected to be included in a future specification.
分享到:
相关推荐
EJB中ejb-jar文件配置详解 EJB(Enterprise JavaBean)是一种Java技术,用于开发企业级应用程序。EJB容器提供了许多功能,如事务处理、安全认证、资源管理等,以便开发者更方便地开发企业级应用程序。在EJB中,ejb-...
《深入解析"agent-ejb-2.1.6.jar.zip"——Java企业级应用的关键组件》 在Java世界中,EJB(Enterprise JavaBeans)是用于构建可复用的、安全的、分布式的服务器端应用程序的重要组件。"agent-ejb-2.1.6.jar.zip"是...
在使用Hibernate3的时候,发现程序编译好了,在运行时总是抛出java.lang.NoClassDefFoundError: javax/persistence/EntityListeners异常,经查找是因为缺少ejb3-persistence.jar包。应该是这个~
Files contained in javax.ejb.jar: META-INF/MANIFEST.MF javax.ejb.AccessLocalException.class javax.ejb.AccessTimeout.class javax.ejb.ActivationConfigProperty.class javax.ejb.AfterBegin.class javax....
jboss-ejb3-client.jar
maven-ejb-plugin-2.1.jar
基于java的开发源码-EJB中JNDI的使用源码例子.zip 基于java的开发源码-EJB中JNDI的使用源码例子.zip 基于java的开发源码-EJB中JNDI的使用源码例子.zip 基于java的开发源码-EJB中JNDI的使用源码例子.zip 基于java的...
标签:agent-ejb-3.0-beta-1.jar,agent,ejb,3.0,beta,1,jar包下载,依赖包
spring-**cntext**-4.3.6.RELEASE.jar:spring提供了基础IOC功能上的扩展服务,提供了很多企业级服务的支持,如邮件服务,任务调度,JNDI定位,EJB集成,远程访问,缓存以及各种试图层框架的封装等。 spring-...
标签:agent-ejb-2.1.2.jar,agent,ejb,2.1.2,jar包下载,依赖包
ejb3-persistence-1.0.2.GA.jar
开发ejb时总是无法用@EJB 解决办法: javax.ejb.EJB 需要的jar___jboss-ejb3x.jar
标签:agent-ejb-3.0.0-sources.jar,agent,ejb,3.0.0,sources,jar包下载,依赖包
标题中的"javax.ejb-3.1.2.2.jar"是一个特定版本的EJB API的实现,它对应于EJB 3.1规范的2.2次小更新。这个jar文件是开发人员在EJB 3.1环境中开发、测试和部署企业级Java应用程序所必需的依赖库。EJB 3.1是EJB规范的...
javax.ejb.AccessLocalException.class javax.ejb.CreateException.class javax.ejb.DuplicateKeyException.class javax.ejb.EJBContext.class javax.ejb.EJBException.class javax.ejb.EJBHome.class javax.ejb....
ejb-jar元素是EJB发布描述器的根元素,它包含一个可选的EJB-JAR文件的描述,可选显示的名称,可选小图标的文件名,可选的大图标的文件名,必须的所有被包含的enterprise bean 的结构信息 ,可选的应用装配描述器,可选的...
中文版EXPERT-ONE-ON-ONE-J2EE-DEVELOPMENT-WITHOUT-EJB.part2.rar
标签:agent-ejb-3.0.1-sources.jar,agent,ejb,3.0.1,sources,jar包下载,依赖包
maven-ejb-plugin-2.3.jar
maven-ejb-plugin-2.2.jar