Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-631


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-631
    Summary: B3 exclusion of create() method from local and home interface for 
abstract session beans
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: James F. Gould

    Created: Tue, 9 Sep 2003 2:33 PM
    Updated: Tue, 9 Sep 2003 2:33 PM
Environment: Windows 2000 Professional 

Description:
I upgrade to 1.2 Beta 3 from Beta 2 and now the local and home interfaces from my 
abstract session bean do not create the required create() method.  I have an abstract 
session bean (i.e. BaseBean) that can be extended by concrete session beans that 
conform to a defined interface (i.e. handleMessage(String message)).  The home 
interfaces of the beans are registered in JNDI using a defined naming convention.  To 
call the concrete session bean, I look up the bean's home in JNDI, cast the returned 
object to the home interface of the abstract bean (i.e. BaseHome), and call create() 
to get a handle to the abstract session bean.  

Beta3 updated the templates home.xdt and home-local.xdt to create the create methods 
only if the bean is concrete.  In addition, the tag handler HomeTagsHandler.java added 
a check that the EJB is concrete in forAllHomeMethods method.  

What was the reason for the change and what is the correct way of implementing an 
abstract session bean using XDoclet 1.2 Beta3?




---------------------------------------------------------------------
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

Reply via email to