CallEjbCodeGeneratorUpdates

Contents


The code generator invoked from Insert Code > Class Enterprise Beans... needs to be updated to include the new features supported in EJB 3.1.

File:callejb_CallEjbCodeGeneratorUpdates.JPG

Optional Local Business Interface

Since local business interface is optional in EJB 3.1, the dialog needs to list EJBs with remote interface, local interface and no-interface. If a no-interface EJB is selected, the generated injection code will reference to the bean class.

Singleton EJBs

Additional to the Stateful, Stateless session EJBs, Singleton EJBs will be listed in the dialog too for Java EE 6 project. If a Singleton EJB is selected, the generated injection code will reference to the bean class.

EJBs defined in the Web Applications

For web application, the dialog will list all the EJBs from all the open EJB modules plus the EJB defined in this web application. The EJBs defined in other web applications will not be listed.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo