Deployment Descriptor not compliant to the EJB3.0 Specification
---------------------------------------------------------------

         Key: EJB-116
         URL: http://jira.andromda.org/browse/EJB-116
     Project: EJB Cartridge
        Type: Bug

    Versions: 3.3    
 Environment: Maven - 2.0.9
JDK - jdk150_06
OS - Microsoft Windows XP Professional Version 2002 Service Pack 2
    Reporter: Lithesh Anargha
 Assigned to: Vance Karimi 


The Deployment descriptor file ejb-jar.xml generated by androMDA is not 
compliant with EJB3.0 specification so i am unable to deploy the EAR in 
jboss-5.1.0.GA. Please fin the details of the file listed below.
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar
    xmlns="http://java.sun.com/xml/ns/javaee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                        http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd";
    version="3.0">

    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by AndroMDA EJB3 Cartridge</display-name>

    <enterprise-beans>

        <session>
            <description>
                <![CDATA[
                
                ]]>
            </description>
            <ejb-name>AttributeMaintServiceBean</ejb-name>
            
<remote>de.dl.angebot.attribute.service.AttributeMaintServiceRemote</remote>
            
<ejb-class>de.dl.angebot.attribute.service.AttributeMaintServiceBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
        </session>

        <session>
            <description>
                <![CDATA[
                
                ]]>
            </description>
            <ejb-name>AttributeDao</ejb-name>
            <local>de.dl.angebot.attribute.domain.AttributeDao</local>
            
<ejb-class>de.dl.angebot.attribute.domain.AttributeDaoImpl</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
        </session>

    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>

</ejb-jar>

Here AttributeDao is mentioned as session bean but in my design the sterio type 
applied to the same is Entity. And look at the tags generated it is not 
relevent with the EJB3.0 Specification (Seems to be compliabnt with EJB2.1 
Specification). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Reply via email to