facebook

How to change template??? [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #210928 Reply

    cruiten
    Member

    How can I change the template that is utilized by MyEclipse when it generates a Session Bean with the EJB Wizard?

    It basically inserts the following “code” for the class definition:

    * To generate code:
    * <br>
    * <ul>
    * <li> Add Standard EJB module to XDoclet project properties
    * <li> Customize XDoclet configuration
    * <li> Run XDoclet
    * </ul>
    * <br>
    * Please see the included XDoclet Overview
    * and the XDoclet Reference in the help system for details
    *
    * @ejb.bean name = “RuitenTest”
    * type = “Stateless”
    * display-name = “RuitenTest”
    * description = “RuitenTest EJB”
    * view-type = “remote”
    * jndi-name = “ejb/RuitenTestHome”

    I would like the view-type to be changed to “both” and I would want to add the following two lines:

    * @ejb:util generate=”physical”
    * @weblogic.enable-call-by-reference True

    Any help would be appreciated.

    Thank you,

    Cor

    #210931

    Riyad Kalla
    Member

    Cor,
    I will check on this for you, hang tight.

    #210967

    Riyad Kalla
    Member

    Cor,
    Greg (our XDoclet guru) had this to say:

    myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.7.200\Templates\EjbSession.java

    #210972

    cruiten
    Member

    Thanks guys!!!

    That did the trick.

    Cor

    #240324

    percewal
    Member

    Sorry I have the same problem (weblogic suggesting to add enable-call-by-reference set to true), I’ve checked H:\eclipse-plugin\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\Templates but I don’t see any suggestion how to resolve this problem. Could you help me?
    Chris

    #240327

    percewal
    Member

    OK I’ve just added

    @weblogic
    .enable-call-by-reference True
    and tag <enable-call-by-reference> appeared in my weblogic-ejb-jar.xml
    Sorry for disturbing you
    Regards
    Chris

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How to change template??? [Closed]

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