Angular JS and Java : dictionary


Angular and Java are full stack frameworks, for this reason the applications implemented with the 2 technologies tend to have similar logical layers.

The following table try to match the different terminology of Angular and Java. The match is not 100% correct but the goal is to help the developer to quickly find himself in the other technology.

<td valign="top" width="326"> 
  <strong>Definition</strong> 
</td> 
 
<td valign="top" width="313"> 
  <strong>In Java</strong> 
</td> 
<td valign="top" width="326"> 
  HTML with additional markup 
</td> 
 
<td valign="top" width="313"> 
  JSP or JSF page 
</td> 
<td valign="top" width="326"> 
  custom attributes for HTML 
</td> 
 
<td valign="top" width="313"> 
  custom tags in JSP, custom component in JSF 
</td> 
<td valign="top" width="326"> 
  data showed in the view 
</td> 
 
<td valign="top" width="313"> 
  Model in Spring, Managed Bean in JSF 
</td> 
<td valign="top" width="326"> 
  context in where the model is stored 
</td> 
 
<td valign="top" width="313"> 
  Request / Session etc. 
</td> 
<td valign="top" width="326"> 
  formatting for the screen 
</td> 
 
<td valign="top" width="313"> 
  JSTL formatter in JSP, converter in JSF 
</td> 
<td valign="top" width="326"> 
  logic behind the screens 
</td> 
 
<td valign="top" width="313"> 
  @Controller in Spring, @RequestScoped 
</td> 
<td valign="top" width="326"> 
  retrieve object instances from the provider 
</td> 
 
<td valign="top" width="313"> 
  @Inject 
</td> 
<td valign="top" width="326"> 
  container for a part of the app (services, directives, …) 
</td> 
 
<td valign="top" width="313"> 
  Package artifact 
</td> 
<td valign="top" width="326"> 
  business logic 
</td> 
 
<td valign="top" width="313"> 
  @Service, @EJB 
</td> 
AngularJS and Angular 2
Template
Directive
Model
Scope
Filter
Controller
Injector
Module
Service

 

Don’t hesitate to suggest other terms or send corrections.