Problem whith creation of Session Facade with ejb.facade
--------------------------------------------------------

         Key: XDT-1613
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1613
     Project: XDoclet
        Type: Bug

  Components: EJB Module  
    Versions: 1.2.3    
 Environment: jdk 1.5 , jboss 4.0.3, ant 1.6,xdoclet 1.2.3
    Reporter: gesuino napoli
 Assigned to: xdoclet-devel (Use for new issues) 


We try to create and export a Session Facade for the entity bean Book with 
ejb.facade this is the code:
. . . . .

* @ejb.facade
 *           display-name="Session Façace for Book"
 *           name="it.gesan.demo.anubi_morfeo.ejb.sdo.entity.BookFacade"
 *           description="Export the finder,getter,setter and create method"
 *           local-jndi-name = "BookLocalFacade"
 *           jndi-name = "BookRemoteFacade"           
 *           type="Stateless"
 *           view-type="both"
 *           transaction-type = "container"
. . . . . .

We have also genereted the Value Object for the same bean. this is the code:

....
* @ejb.value-object
 *     match="*" name="Book"
....

Now we have encoutered this problem:
The generated code try to obtain a missing class BookData and undefined method 
getData. We think that xdoclet use data object while we want to use value 
object because dataobject is deprecated. What do you do to resolve this 
problem? 
We try to modify the code with BookValue and getBookValue and then it work, but 
we wan't to do this!!!!!!

















-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to