# Change Java Wrapper Generation

**URL:** <https://techcommunity.softwareag.com/t/change-java-wrapper-generation/180008>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [January 7, 2015, 9:58pm UTC](https://techcommunity.softwareag.com/t/change-java-wrapper-generation/180008 "2015-01-07T21:58:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Seltzer](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@Steve\_Seltzer](https://techcommunity.softwareag.com/u/Steve_Seltzer)\
**Post date:** [January 7, 2015, 9:58pm UTC](https://techcommunity.softwareag.com/t/change-java-wrapper-generation/180008/1 "2015-01-07T21:58:45Z")

</div>

I have been asked to migrate an existing interface application to Java. I need to talk to Natural using EntireX Broker. I have found how to generate Java Wrappers from IDL files and how to create a customized class for the wrapper classes to inherit from. I would really like to be able to modify the wrapper generation code so that I have greater control over the classes that are created. Once thing in particular I would like to be able to add would be annotations. It would be really slick if I could figure out how to generate a REST service (Jax-RS) based off if the IDL. I have seen a couple of threads regarding changing the Java template but they terminate at “java generation doesn’t use a template”.

I have 500+ methods to migrate so being able to have greater control over the final generated classes would really be helpful.

---

<div class="post-metadata">

**Author:** ![Finn\_the\_Dane1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/finn_the_dane1/32/132_2.png) [@Finn\_the\_Dane1](https://techcommunity.softwareag.com/u/Finn_the_Dane1)\
**Post date:** [January 8, 2015, 10:51am UTC](https://techcommunity.softwareag.com/t/change-java-wrapper-generation/180008/2 "2015-01-08T10:51:37Z")

</div>

There is no template, but you might want to use the “Java customization class” ?  
See doc here: [http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-7/EntireX/9-7\_EntireX/javaWrapper/using.htm#using](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-7/EntireX/9-7_EntireX/javaWrapper/using.htm#using)

If your aim is to use REST then you could also use the webservice stack.

Finn

---

<div class="post-metadata">

**Author:** ![Brian\_Johnson1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/brian_johnson1/32/163_2.png) [@Brian\_Johnson1](https://techcommunity.softwareag.com/u/Brian_Johnson1)\
**Post date:** [January 20, 2015, 10:20pm UTC](https://techcommunity.softwareag.com/t/change-java-wrapper-generation/180008/3 "2015-01-20T22:20:01Z")

</div>

Not sure if this will help, but there was a TECHniques newsletter article talking about using EntireX for REST services here: [http://techcommunity.softwareag.com/techniques-blog/-/blogs/entirex-restful-services](http://techcommunity.softwareag.com/techniques-blog/-/blogs/entirex-restful-services).

-Brian

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:32pm UTC](https://techcommunity.softwareag.com/t/change-java-wrapper-generation/180008/4 "2021-04-02T15:32:39Z")

</div>

Closed on April 2, 2021, 3:32pm UTC


