Content assist and EJB 3.0

The content assist tool is a feature of the workbench. You can type code in your Java™ editor and the content assist tool recommends possible ways to complete your code.

With the introduction of Java EE 5, the content assist tool in the application development workbench has been enhanced. Content assist now recognizes EJB 3.0 structures, providing content assist content when the project targets the EJB 3.0 feature pack and component defining content assist when in a simple Java project.

Content assist template support also exists for some of the EJB 3.0 annotations, such as @Resource, to provide an annotation with initial attribute values.

Figure 1. Content assist for @Resource

 

Related tasks

Refactoring EJB 3.0 Java elements