Quantcast
Browsing all 53 articles
Browse latest View live

ExtJs 5.1 Paging tool not showing correct data when its load, Ext js...

ExtJS 5.1 has one bug that when you load grid panel then first time it will not show correct paging number in paging tool. Once you do page next then it starts working.During page load time it always...

View Article


ExtJS Editable grid panel, extjs - Altering data in Ext.data.Model, Ext JS...

Very basic example of ExtJS 5.1 Grid Panel with editable column functionality.For making column as editable, add two things:1. Add below plugin to your grid panelplugins: [...

View Article


Java Difference between NoClassDefFoundError VS ClassNotFoundException in Java

** Difference between NoClassDefFoundError VS ClassNotFoundException in Java **Both exception due to missing classes in classpath.First we will see : NoClassDefFoundError Class Car{}Class Demo{  public...

View Article

Java Regex to Validate IPV4, IPV6 IP address and Port range, Java IP address...

private static final String ipv4Pattern = "(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.){3}([01]?\\d\\d?|2[0-4]\\d|25[0-5])";private static final String ipv6Patten =...

View Article

How to call ElasticSearch in debug mode, ElasticSearch 2.2 starts in debug...

Inside bat file, from where you are calling ElasticSearch (In my case E:\Software\elasticsearch-2.2.1\bin\elasticsearch.bat) add these...

View Article


How to write ElasticSearch 2.2 plugin, Getting start Elasticsearch Plugin,...

How to develop custom plugin for ElasticSearch 2.2What is Plugin:Plugins are a way to enhance the basic elasticsearch functionality in a custom manner. They range from adding custom mapping types,...

View Article

SSL enable Server and Client side code, KeyStore, KeyManagerFactory,...

SSL (Secure Sockets Layer) provides a secure connection between internet browsers and websites, allowing you to transmit private data online. Server used to have private and public key (key OR...

View Article

Export and import via curl kibana’s dashboards and visualizations, Kibana...

First in create some index and data in first ElasticSearch. As per my example:{ "_index": "twiteer_one",            "_type": "tweet",            "_id": "2",            "_score": 1,...

View Article


Create index in kibana using curl command, Index creation in Kibana by code,...

Your ElasticSearch Servar and Kibana server should be running during this poc.Just assume,Kibana is running at 10.20.30.40:5601First requirement, you should have same index in your Elasticsearch for...

View Article


java.util.Optional, Tired of Null Pointer Exceptions, get rid of Null Pointer...

See this below java code to add two Integer:public Integer sumOfTwoInteger(Integer a, Integer b){      return a + b;   }Here, sumOfTwoInteger() method at all not taking care of any of the method...

View Article

How to Call R from Java using Rserve, R Programming through Java

We will use Rserve software to connect our Java code to R environment. Rserve is a TCP/IP server which allows other programs to use facilities of R  from various languages without the need to...

View Article

Connect Amazon S3 from Java code. Amazon S3 with Java. Amazon S3 Java code...

Login to aws.amazon.comCreate one user from IAM and give access these things:AWSConnectorAmazonS3FullAccessAnd copy "Access Key" and "Secret Access Key" and it will using in your java code to establish...

View Article

Steps To Build Web Server Docker Image - 2 min job

I assume you must be knowing what is Docker, Container and their concept.Here I am giving only basic steps to develop Docker Image for web based application. This tutorial will give you very basic...

View Article

Browsing all 53 articles
Browse latest View live