[nbj2ee] "Call Enterprise Bean" generating EJB2 lookup in a EJB3 project

  • From: "kauedg" < >
  • To:
  • Subject: [nbj2ee] "Call Enterprise Bean" generating EJB2 lookup in a EJB3 project
  • Date: Tue, 11 Dec 2012 08:22:31 -0500

I've setup a Maven Enterprise Project, generated the entity classes from the 
database in the *-ejb project and the respectives session beans and local 
interfaces.

I have created a SessionScoped bean in the *-web project and I'm trying to 
reference the UserFacadeLocal interface, by the "Call Enterprise Bean" 
context menu (alt+ins). The IDE finds the local interfaces but in EJB2 form 
(with context lookup) not in the EJB3 form (@EJB annotation).

I've tried erasing the EJB2 code and tags in the web.xml file and inserting 
the @EJB code by hand, but my view's EL pointing to the backing bean resolves 
to null. What am I missing?






[nbj2ee] "Call Enterprise Bean" generating EJB2 lookup in a EJB3 project

kauedg 12/11/2012

[nbj2ee] "Call Enterprise Bean" generating EJB2 lookup in a EJB3 project

kauedg 12/11/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close