Monthly Archives: November 2016

Basic CRUD Operations on MongoDB + Java

In previous Post , we have seen 5 ways to connect to Mongo DB , now perform CRUD operations on Mongo DB using Java Driver 3.2. Dependency Needed: Add the above dependency in the maven project. To Insert One Document … Continue reading

Posted in mongodb | Tagged , , , | 1 Comment

5 ways to connect to MongoDB

I have been working on Mongo java 2.x driver , Recently we planned to update our Java driver version to 3.x.  Then i got realized that a lot has been changed. Now lets start working on Mongo-Java-Driver 3.2 version. Depenedency: … Continue reading

Posted in mongodb | Tagged , , , , | 1 Comment

Json to CSV using ng-csv

ng-csv is the simple directive that converts arrays and objects to CSV files. Steps: 1. Add ng-csv.min.js  and angular-sanitize.min.js    cdn for these are : 2. add ‘ngSanitize’, ‘ngCsv’ dependecies to your module 3. use ng-csv directive in html Lets … Continue reading

Posted in angularjs | Tagged , , , , | Leave a comment

Export JSON TO CSV Using AlaSQL.js

AlaSQL is a client side in memory SQL database. It is very light weight and fast.It is fully functional and work in all modern browsers. Below program show to we can export json data to CSV format, and download it. … Continue reading

Posted in angularjs | Tagged , , , , | Leave a comment

Check Prime Or not

Posted in Programing questions | Tagged , , | Leave a comment

Find the min and max in an Array

Posted in Programing questions, Uncategorized | Tagged , , | Leave a comment

Start UnitTesting – Junit, The begining

Maven Dependency for Junit Important Annotations @BeforeClass – runs once before any test method in class @AfterClass – runs once after all the tests in class have been run @Before – runs before test method @After – runs after the … Continue reading

Posted in Testing | Tagged , , , | Leave a comment