<div>Hi,</div><div><br></div><div>i would contribute to jboss-forge, starting from:</div><div><a href="https://issues.jboss.org/browse/FORGE-610">https://issues.jboss.org/browse/FORGE-610</a></div><div><br></div><div>I wrote some initial code to model my idea:</div>
<div><a href="https://github.com/fiorenzino/core/blob/FORGE-610/javaee-impl/src/main/java/org/jboss/forge/spec/javaee/ejb/EJBPlugin.java">https://github.com/fiorenzino/core/blob/FORGE-610/javaee-impl/src/main/java/org/jboss/forge/spec/javaee/ejb/EJBPlugin.java</a></div>
<div><br></div><div>On default, with new-ejb command you can create an ejb en defining little information (name, package, type):</div><div>for me the default ejb created is stateless-localbean.</div><div><br></div><div>And after you could add to ejb created some properties:</div>
<div>new-local-interface [@Local()], new-remote-interface [@Remote()}, new interface [ implements.. ], new superclass [ extends...], transaction attribute, inject some class...</div><div><br></div><div>[i tried inspiration and i copied some code from jpa plugin]</div>
<div><br></div><div>What do you think about my idea for ejb plugin?</div><div><br></div><div>And some question in general:</div><div>1) is it possibile to add some superclass using org.jboss.forge.parser.java.JavaClass? how i can do this?</div>
<div>2) how can i add some complex annotation to mdb like:</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>@MessageDriven(name = &quot;AddressFileParserMDB&quot;, activationConfig = {</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>@ActivationConfigProperty(propertyName = &quot;destinationType&quot;, propertyValue = &quot;javax.jms.Queue&quot;),</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>@ActivationConfigProperty(propertyName = &quot;destination&quot;, propertyValue = AppConstants.ADDRESS_FILE_RESOLVER_Q),</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>@ActivationConfigProperty(propertyName = &quot;acknowledgeMode&quot;, propertyValue = &quot;Auto-acknowledge&quot;),</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>@ActivationConfigProperty(propertyName = &quot;maxSession&quot;, propertyValue = &quot;1&quot;),</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>@ActivationConfigProperty(propertyName = &quot;transactionTimeout&quot;, propertyValue = &quot;10800&quot;),</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>@ActivationConfigProperty(propertyName = &quot;dLQMaxResent&quot;, propertyValue = &quot;0&quot;) </div><div><span class="Apple-tab-span" style="white-space:pre">                </span>})</div>
<div><br></div><div>Best Regards,</div><div><br></div><div>Fiorenzo</div><div><br></div><div><br></div><div>PS: in this period i&#39;m on vacation and i use the computer when my partner gets distracted ..</div><div> </div>