Generate angular + Java code using yeoman & Jhipster

Generate angular + Java code using yeoman & Jhipster

Generate angular + Java code using yeoman & Jhipster Ensure you have installed yeoman (yo when dealing with npm and yarn) and jhipster (generator-jhipster when dealing with npm and yarn). If not installed, have a quick look at,     Step 1: Run yo jhipster     It will ask around 10 to 15 questions, you can provide the sample values as per the above screenshot and proceed to step 2:   Step 2: Angular 5 & Java Codes are…

Read More Read More

566 total views, 1 views today

Installing jhipster in windows 10

Installing jhipster in windows 10

Installing jhipster in windows 10 Yarn: yarn add global generator-jhipster   Npm: npm install -g generator-jhipster   Verifying the jhipster installations:     Are you facing the issue like below ?   Then try running yarn link generator-jhipster or npm link generator-jhipster and try again.   406 total views, 1 views today

406 total views, 1 views today

How to install yeoman in windows 10?

How to install yeoman in windows 10?

How to install yeoman in windows 10? I am installing yeoman through yarn, so ensure you have yarn first, even if you npm that’s fine and you can install using npm install yo.   Command to install/add yeoman through yarn: yarn add yo [yarn add yeoman is deprecated] Run this command to install it globally across your machine, yarn add global yo   Completed finally,     Through NPM:     Verifying the yeoman (yo) installations:   I tried it…

Read More Read More

402 total views, no views today

Core Java Programming Interview Questions

Core Java Programming Interview Questions

Core Java Programming Interview Questions: All these below are purely java programming interview questions collected from different attendees and different companies. Walk through all the programming questions and try to figure it out before checking the answers below.   Basics:   1.What is the output ? package in.javadomain; class Basics { public static void main(String[] args) { System.out.println(“I am main method” + new Basics()); } Basics() { System.out.println(“I am construtor!”); } }   Output: I am construtor! I am main…

Read More Read More

451 total views, no views today

Understanding & Resolving “Too many connections” Exception

Understanding & Resolving “Too many connections” Exception

Understanding & Resolving “Too many connections” Exception:   Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: “Too many connections” Issue Fix: Close the open connections properly, because too many open connection error indicates too many connections are opened but not closed. Existing Code which has the issue:   In the below code, finally block still has the code snippet to close the too many connections exception. But I did very badly, closing the connection by opening it…

Read More Read More

364 total views, no views today

Java program to check whether the String is Pangram or Not

Java program to check whether the String is Pangram or Not

Java program to check whether the String is Pangram or Not: What is Pangram ? If a given sentence has all the alphabets then it is a valid pangram.   If the below sentence is given as input then it has to return “Pangram” The quick brown fox jumps over the lazy dog   If the below sentence is given as input then it has to return “Not a Pangram” The quick brown fox jumps over the dog Pseudo code…

Read More Read More

665 total views, no views today

How to improve your wordpress site speed ?

How to improve your wordpress site speed ?

Website loading speed depends on lot of factors, but it contributes more based on the below factors, Enable gzip compression: gzip compression is nothing but reducing the original file size to make it load faster even in slower networking connections. This can be achieved using w3 total cache/super cache/gzip compression plugins/using htaccess file. After you have enabled gzip compression, you confirm it using the below free tool, https://varvy.com/tools/gzip/   Enable all caching types using w3 total cache: Navigate to General settings…

Read More Read More

396 total views, 1 views today

Difference between Client side scripting and Server side scripting

Difference between Client side scripting and Server side scripting

Difference between Client side scripting and Server side scripting Client side scripting: It runs/interprets/executes the scripts in end-users browsers. Script source code transfered to browser and run and render the output. Browser can be enabled to stop the scripting execution in their end. Slow, as it runs on end-user/client side. Source code can be viewed. Eg: Javascript, AngularJS   Server side scripting: It runs/interprets/executes scripts in web server itself. Everything done in server only the final html output will be…

Read More Read More

381 total views, no views today

100 Things to Know in Angular 4/5

100 Things to Know in Angular 4/5

100 Things to Know in Angular 4 I started writing this post with the intention to keep important and crispy factor about angular in one place. But I am not able to write all the 100 things about angular same time, so I am publishing the post with the information I have handy now and I will make sure this post get updated often till we reach 100 things, if possible 200 things 😉 If you guys have something to…

Read More Read More

488 total views, no views today

10 Things to Know in Spring Boot

10 Things to Know in Spring Boot

10 Things to Know in Spring Boot 1. Spring boot is not a brand new framework like mvc/web/rest/jpa add-ons, it’s just a additional kit from spring to reduce the development headaches with spring framework. 2. Spring boot provides single dependency entry for pom.xml configuration, <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.10.RELEASE</version> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> Here this downloads all the dependencies required for web spring applications.   3. Version 1.5.10 represents the version of the spring boot(not any spring core/context…

Read More Read More

373 total views, 1 views today