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.   String:   1.What is the output ? public class StringIQ { public static void main(String args[]) { Integer i = new

77 total views, 0 views today

» Read more

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

77 total views, 0 views today

» Read more

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

84 total views, 0 views today

» Read more

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

79 total views, 0 views today

» Read more

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

69 total views, 0 views today

» Read more

Maven Interview Questions

Maven Interview Questions: 1.What are the scopes available in maven ? compile – default provided   2.What are the different phases of Maven life cycle ? Validate compile test package verify install deploy   3.What is the difference between install and package ? mvn package just creates the package like jar/ear/war/zip in your target folder. Syntax: mvn clean package  

77 total views, 0 views today

» Read more

Reflection Example for 100% Dummies

Reflection Example for 100% Dummies: I know in all the recent interviews reflection relation question are asked along with the other tough and popular core java interview questions mentioned here.   As mentioned in the title this is purely for 100% dummies who just heard only the term “Reflection”. I was also in the list of 100% dummies, after reading

100 total views, 0 views today

» Read more

Parent Child Hierarchy using jqTree in jQuery / Javascript

Parent Child Hierarchy using jqTree in jQuery / Javascript: When you want to display your data in parent child hierarchical view, then jQuery’s jqTree is the most simplest and easy plugin which can be configured in just 5 mins.   By following their official documentation steps, I just created a simple one page(combined all in the below one file only

74 total views, 0 views today

» Read more
1 2 3 62