Posts

Containerize Java Application & Deploying on AWS Elastic Beanstalk

Image
What is Containerizing(Dockerizing)? Containerizing/Dockerizing is the process of deploying  applications in a docker container. Docker containers are lightweight, less memory consuming containers. It has access to the hosting kernel without carrying a operating system in it. Some of the advantages are, Gives portability. (mirroring the application) Application can be tested in a pre-production state.(Before deploying it on the actual production server we can run it through every situation which is going to be there in the actual environment) This post will give the basic idea of dockerizing and deployment using AWS elastic beanstalk. Prerequisites Sample Java Play Application Install Docker locally on workstation AWS account and Elastic Beanstalk service Sample Java Play Application Download a sample Java Play Application from this link Run the project and check for any configuration errors, etc and resolve them if there is anything. Basically the app...

Python Chat bot integration with Cisco spark

Image
What is a Bot application? When a novice heard the term 'Bot', he/she gets little bit confused of what it really means. So this term is related to 'Robot' in technically and it is actually an automated program which can be used for several purposes such as automated chat systems, personal assistant applications, etc. These bot applications can be divided in to several categories such as self learned bots and supervised bots. Self learned/ unsupervised bots are kind of intelligent bots. These bots are nearly replaces humans but not completely. Artificial intelligence and deep learning are some major factors in unsupervised bot applications. For an example Siri, Cortana are some great unsupervised, self learned bots. Supervised bots are deviating from unsupervised bots by their tasks and the way they have been built. These bots does not have the intelligence power like unsupervised bots. It is always programmed to respond only for some certain problems. The technology...

Azkaban AJAX API - Java Implementation

Azkaban default AJAX API Implementation using Java Azkaban job scheduler was build at linkedIn to serve it's hadoop job dependencies and it's main responsibility is to schedule jobs and maintain the dependency within jobs.  So for that they have provided an API which was written using AJAX. While we can use their web interface for scheduling activities, we will be overcome several situations where we have to develop a backend which enables to interact with Azkaban server. Therefore it only had AJAX it is difficult for the other developers who are using Java, PHP,etc. So from this blog post I will introduce a Java API which will be doing the same exact activities provided by the AJAX API which is their default API.   Java API can be downloaded from here Default AJAX API documentation here

SonarQube Introduction

Image
W hat is SonarQube SonarQube is an automated code review tool which plays a major role in static code analysis in the industry. However SonarQube is not only an automated code review tool but it is also an open source quality management platform which used for continuous analysis and measurement of technical quality of source code. This takes the programming code as the input to the system, analyses it using pre-defined coding standards/rules and provides the outcome in a web format. This web based outcome will summarize the status of the code in an informative manner to the management as well as to the developers to help their quick decisions of the affected code. Configure SonarQube v5.6.1 As the first step in configuring the SonarQube community version, Download the SonarQube v5.6.1 from official SonarQube website.( https://www.sonarqube.org/downloads/ ) After downloading the SonarQube v5.6.1, unzip it to a specific location as mentioned below accor...

Ajax Request Response

AJAX (Asynchronous Javascript and XML) This is a client side script that use to get and pass data from and to the server or database without completely refreshing or without any post back. Mainly use to update a web page partially. simple ajax request/response $. ajax ({ type :'GET' , //this specifies the type of the request. ex:- GET , POST url :'getDataFromThisURL.php' , //this specifies the url which should be redirect when the ajax                                                                 //response executes data :{key:value} , //this is optional. if we have to pass any data(ex:-form data) then we should pass                                  //that data like this. in here KEY is the variable which will pass with the requ...

JAVA Project - Student Information System

Image
*Student Information System is a software which is developed using Java , MySql. Download Project :-   SIS Project

Simple BASH programming tutorials using Fedora 22

Image
In Bash programming, all the user written scripts has to be run using some commands infront of the script name if the script execute permission  is not set to the user and also the path of the script should be in the $PATH global variable. There fore before executing the scripts i'm going to set these path variable and change the user permission. For this i will get the below mentioned script name as an example. To change the Permission chmod u+x oddeven To change the Path PATH=$PATH:/home/<User>/<directory path containing the script>  Now will look at some of the programs and there outputs. So the first Image will be the Script and the second will be the output of it. Script 1: Script 2: Script 3: Script 4: This is the text file which used by the Script 4 to change directories.(filelist.txt)