Difference between @Inject and @Autowired

Difference between @Inject and @Autowired This is one of the important interview question of spring / spring boot framework interviews. Auto-wiring is the great feature we got to wire our application dependencies spring way, but it can be done by both JSR annotation and spring provided annotation. It is important to know the difference between these both to make use […]

91 total views, no views today

» Read more

When does spring create instances to be injected ?

When does spring create instances to be injected ? This is one of the famous spring / spring boot framework interview question. Spring creates the instances to be injected during the start up. If you have configured spring beans with lazy-init attribute then spring creates the instances of those bean only when you inject/any of it’s dependencies injects it. By […]

80 total views, no views today

» Read more

Reading ClassPath file in Spring Boot/Core Example

This below program reads the status.txt file from the classpath, that is src/main/resources in the maven projects using classpathloader in spring core/spring boot projects. Classpathloader converts it to inputstream, from inputstream we can convert to bufferedinputstream and read the file contents easily. File Structure: Here we have status.txt file inside the resources folder, and we have only the value 100 […]

324 total views, 2 views today

» Read more

5 New Things you should know in Angular 5:

5 New Things you should know in Angular 5: Even though angular 5 announced as a major release, nothing affects the angular 4 applications and developers. Because majority of the things are modified behind the scenes (than HttpClient), we do not want to worry much about angular 5.     We knew angular 1 to angular 2 transformation, that is […]

302 total views, 1 views today

» Read more

How to upgrade angular 4 to angular 5?

How to upgrade angular 4 to angular 5? In this article, we are going to see how to upgrade from angular 4 to angular 5.   Do remember, you will be able to see the angular core/http/common/router etc versions if you check only inside the angular projects. To Update Angular CLI:   The CLI can be updated by, Uninstalling old […]

459 total views, 1 views today

» Read more

Angular 4 CLI + Angular Universal Setup Steps

Angular 4 CLI + Angular Universal Setup Steps: Angular universal is superb component for angular projects for server side rendering, which really resolves SEO related issues to the great extend. But setting up a angular universal will become little complex if you try after developing your complete applications. Because some of the component you used in your angular 4 project […]

1,181 total views, no views today

» Read more

[Updated] Adding Angular Material 2 to Angular 4 CLI

Adding Angular Material 2 to Angular 4 CLI: Recently breaking changes has been made to angular material 2 as per this github link, so step to add angular material 2 to angular 4 cli is also changed. I have followed the new steps and it works fine without any issues. I have shared the step by step instruction below to […]

818 total views, 1 views today

» Read more

Picking Best UI Framework for Angular 4 Projects

Picking Best UI Framework for Angular 4 Projects: I have been spending more than 2 weeks on picking best UI framework for my new angular 4 project. Unfortunately no straight forward conclusion. But I am sharing my complete analysis on this to help you guys for better UI pick for your angular 4 projects. Criteria to pick/select Best UI framework […]

1,192 total views, 3 views today

» Read more

Angular 4 Autocomplete using ng2-completer Example

Angular 4 Autocomplete using ng2-completer Example: Autocomplete is the important and most expected functionality in any end user application. Angular 2/4 has many ready-made components in github and npm repositories. Below is the one good component which I came across for autocomplete functionality, this can be easily integrated and used with your angular apps.   Step 1: Install ng2-completer component¬† […]

1,209 total views, 2 views today

» Read more
1 2 3 6