This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 73492

Summary: Code completion for @EJB can offer list of entity classes and session beans
Product: javaee Reporter: Jan Horvath <jhorvath>
Component: EJBAssignee: martin_adamek <martin_adamek>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jan Horvath 2006-03-10 15:55:58 UTC
Code completion for @EJB can offer list of entity classes and session beans. After one class is selected, 
completion can generate appropriate declaration and setter. 

example:
NewSessionLocal bean;
@EJB(name="NewSessionLocal" )
public void setBean(NewSessionLocal bean)
{
  this.bean = bean;
}