- This topic has 2 replies, 3 voices, and was last updated 18 years, 2 months ago by Erb Ferenc.
-
AuthorPosts
-
Richard EberhardtParticipantI am trying to use MyEclipse to generate a session Bean by using the ejb.facade tag.
Here is what I a have done:
1) Added the facade tag (and required properties) to my entity bean template code
2) Added the “entityfacade” doclet to my ejbdoclet configuration (which is based on Standard EJB)When I run XDoclet, a …FacadeEJB class is now generated. This seems to be the template for the facade, but the session bean and its interfaces are not created. Running this again does not produce the missing files.
Following another thread at this site, if I delete the following lines from the ….FacadeEJB class:
/*
* Generated by XDoclet – Do not edit!
* this class must be processed by xdoclet in the second run!!!!
*/and
* Session facade for CarrierCycleDatesEntity.
* @xdoclet-generated at ${TODAY}
* @copyright The XDoclet Team
* @author XDoclet
* @version ${version}Then, if I run XDoclet again the session bean and its interfaces do get generated.
However, when I try to package the beans something is still missing. I am getting a syntax error on resolving a getData() method generated in the facade. The error message is coming from an attempt to compile the …FacadeEJB class.
Is there a simpler method to accomplish this generation in MyEclipse?
If not, can someone provide some guidance for resolving the getData() reference?
Thanks,
Rich
Riyad KallaMemberRich,
I’m sorry you haven’t gotten a reply yet, I sent this off to the team that handles XDoclet support but they are just swamped for the 4.0 release and haven’t had time to reply yet. I’ll ping them again and see if they can reply.
Erb FerencParticipantHi!
I`m new here!
I have a same generated getData() problem in my Entity facade!
Is there any solution? Will be?
Please HELP!
-
AuthorPosts