How to deploy your node.js web application with AWS Beanstalk?

This post will show you how we can quickly create a node.js web aplication based on express framework and how to deploy that application on AWS using AWS BeanStalk service. Now first you need to know what is AWS BeanStalk? Some information about AWS BeanStalk: AWS BeanStalk is the fastest and simplest way to deploy … Continue reading How to deploy your node.js web application with AWS Beanstalk?


Java-Spring or JavaScript-Node.js?

Spring Framework for Java has been around past 15 years since its initial release. Most of the web developers prefer spring to build enterprise level web apps. But since last 3-4 years the Javascript has become more popular not only in the client-side development(Angular and React) but also towards the server-side development, thanks to nodejs. … Continue reading Java-Spring or JavaScript-Node.js?

Web Development Trends in 2018 and for future!

Since the launch of the first website made by Tim Berners-Lee  in 1991, the website development practice have come a long way and every year new web design and development trends are coming. Developers are becoming more agile in learning about these new trends. In 2018,  we'll look at the new trends which are hot … Continue reading Web Development Trends in 2018 and for future!

Dynamic String Conversion in JAVA

Input: 2B Output: 2000000000 Code : import java.math.BigDecimal; import java.util.Scanner; public class DyanamicConversion { public static void main(String args[]){ //Scanner scan = new Scanner(; String a ="2M"; String[][] conversion = {{"K","1000"},{"M","1000000"},{"B","1000000000"}}; for(int i=0;i<conversion.length;i++){ if(a.endsWith(conversion[i][0])){ BigDecimal temp = new BigDecimal(a.substring(0, a.indexOf(conversion[i][0]))); temp.multiply(new BigDecimal(conversion[i][1])); a = temp.toBigInteger().toString(); System.out.println(a); break; } } } }

Sending HTTP GET Request to a REST API in JAVA

HTTP/HTTPS Get/Post request /response using JAVA below. For detailed visit here: Code: import; import; import; import; import; public class HttpURLConnection { public static void main(String[] args) throws IOException { String response = httpGet(""); } public static String httpGet(String urlStr) throws IOException { URL obj = new URL(urlStr); HttpsURLConnection con … Continue reading Sending HTTP GET Request to a REST API in JAVA

Understanding Spring MVC project setup

Flow Diagram of Spring MVC  Img Source: TutorialsPoint  Purpose of web.xml Until Spring 3.1 the only way to configure the DispatcherServlet was with the WEB-INF/web.xml file. servlet name is dispatcher an instance of DispatcherServlet Class Will be initialized with a parameter named contextConfigLocation which contains the path to the configuration XML load-on-startup is an integer … Continue reading Understanding Spring MVC project setup