Posts

Showing posts from July, 2019

Angular (before hands on) -01

Here I'm mainly talking about angular 2. After AngularJS, angular2 is released with major changes in the Framework. Changes happened The major change was transferring to TYPESCRIPT from JS. And angular 2 is based on a Component service architecture. AngularJS had an MV* architecture. Let's take a look at the core features of this framework... Module : modules are used to separate the functionality of the application. When you create your initial angular application When you take a module code. (ex:- app.module.ts) there are imports, declarations, bootstrap and can see annotations too. import { NgModule } from '@angular/core' ; import { BrowserModule } from '@angular/platform-browser' ; import { AppComponent } from './app.component' ; @NgModule ({ imports : [ BrowserModule ], declarations : [ AppComponent ], bootstrap : [ AppComponent ] }) export class AppModule { } @NgModul...

Web Services (Road to J2EE) - 02

Image
Let's start hands on, I prefer working on IDEA and I'll create a maven project as this Series hands-on example. For all who don't know about MAVEN, it's a Java Project Management tool or i can tell is it's a kind of package manager like npm. Manages dependencies of your projects and gives archetype which is the structure of the project. search for the archetype of the jersey web app so we can get an initial web app structure for our project. if you don't see any jersey dependancy then click on add archetype and gives the following values. for the mandatory fields.        <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.archetypes/jersey-quickstart-webapp --> <dependency>     <groupId>org.glassfish.jersey.archetypes</groupId>     <artifactId>jersey-quickstart-webapp</artifactId>     <version>2.28</version> </dependency> or go to the maven repository a...