Bugs item #529243, was opened at 2002-03-13 13:32
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=529243&group_id=31602
Category: ejbdoclet
Group: v1.1
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Stephen Coy (scoy)
Assigned to: Vincent Harcq (vharcq)
Summary: ejb examples use illegal ejb-names
Initial Comment:
The EJB sample source files specify @ejb:bean
tags in many places with a 'name' attribute such
as "bank/Customer".
This generates an <ejb-name> in ejb-jar.xml that
is "bank/Customer", which is invalid.
According to the J2EE spec, "The ejb-name must
be a valid Java identifier and must be unique
within the ejb-jar file."
Source files include (but are not limited to):
CustomerBean.java
CustomerBMPBean.java
SecurityOfficerBean.java
TellerBean.java
----------------------------------------------------------------------
>Comment By: Stephen Coy (scoy)
Date: 2002-03-15 10:27
Message:
Logged In: YES
user_id=463096
No. They all have a problem.
I've just done a build from CVS, including the samples.
The generated ejb-jar.xml contains:
<session >
<description><![CDATA[This is a teller bean.]]></
description>
<ejb-name>bank/Teller</ejb-name>
and
<!-- Entity Beans -->
<entity >
<description><![CDATA[This is an account
bean.]]></description>
<ejb-name>bank/Account</ejb-name>
etc.
These <ejb-name> names are not legal according to
the spec. ie. there can be no '/' character. They must be
a valid Java identifier.
----------------------------------------------------------------------
Comment By: Vincent Harcq (vharcq)
Date: 2002-03-15 09:46
Message:
Logged In: YES
user_id=125677
There was only SecurityOfficerBean that has the problem.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=529243&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel