Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
165 lines (132 sloc) 3.26 KB
id title date author layout guid permalink categories tags
67
Angular JS and Java : dictionary
2016-09-26 19:12:10 +0000
Marco Molteni
post
/2016/09/26/angular-js-and-java-dictionary/
First Steps
Uncategorized
Angular 2
angularjs
java

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.