Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-627 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-627 Summary: customizing COMP_NAME Type: New Feature Status: Assigned Priority: Trivial Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2 Beta 3 Assignee: xdoclet-devel (Use for new issues) Reporter: Michal Straczynski Created: Thu, 4 Sep 2003 7:23 AM Updated: Thu, 4 Sep 2003 7:23 AM Description: Having LoggerBean.java Xdoclet template class containing: (...) * @ejb.bean * type="CMP" * cmp-version="2.x" * name="Logger" * schema="Logger" * local-jndi-name="logadm/ejb/LoggerLocalHome" * view-type="local" * @ejb.util generate="logical" (...) Xdoclet generates file LoggerLocalHome.java class containing: (...) public static final String COMP_NAME="java:comp/env/ejb/LoggerLocal"; public static final String JNDI_NAME="logadm/ejb/LoggerLocalHome"; (...) I think it would be nice to let user decide what should be put into COMP_NAME (as it is in JNDI_NAME case). The reason for this issue is that if I don't want to modify COMP_NAME in generated LoggerLocalHome.java than I have to use "ejb/LoggerLocal" as <ejb-ref-name> when referencing this EJB. Personally I have found this behaviour misleading because declaring local-jndi-name="logadm/ejb/LoggerLocalHome" I expected to use this value in <ejb-ref-name> elements. Regards, Michal --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
