facebook

XDoclet – Cannot Generate Usable Facade

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #235236 Reply

    Richard Eberhardt
    Participant

    I 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

    #235384 Reply

    Riyad Kalla
    Member

    Rich,
    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.

    #258365 Reply

    Erb Ferenc
    Participant

    Hi!

    I`m new here!

    I have a same generated getData() problem in my Entity facade!

    Is there any solution? Will be?

    Please HELP!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: XDoclet – Cannot Generate Usable Facade

You must be logged in to post in the forum log in