Installing Apache Maven on Ubuntu & Windows


To install Apache Maven on Ubuntu and Windows machine we need to take the following steps- Download the current stable version of Maven from http://maven.apache.org/download.cgi. Once downloaded follow the istallation steps – Installation Instructions A. Unix-based Operating Systems (Linux, Solaris and Mac OS X) Extract the distribution archive, i.e. apache-maven-3.2.5-bin.tar.gz to the directory you wish to install Maven 3.2.5. These ... Read More »

Install Node.js on an Ubuntu server

Node.js is a Javascript platform for server-side programming that allows users to build network applications quickly. By leveraging Javascript on both the front-end and the back-end, development can be more consistent and be designed within the same system. Install NodeJs We have to use the apt package manager. We should refresh our local package index prior and then install from ... Read More »

How MongoDB Journaling Works

Mongo DB

MongoDB uses write ahead logging to an on-disk journal to guarantee write operation durability and to provide crash resiliency. Before applying a change to the data files, MongoDB writes the change operation to the journal. If MongoDB should terminate or encounter an error before it can write the changes from the journal to the data files, MongoDB can re-apply the ... Read More »

Install MongoDB on Ubuntu

Mongo DB

This tutorial helps to install MongoDB on Ubuntu systems. The tutorial uses .deb packages to install. The MongoDB package repository contains five packages: mongodb-org This package is a metapackage that will automatically install the four component packages listed below. mongodb-org-server This package contains the mongod daemon and associated configuration and init scripts. mongodb-org-mongos This package contains the mongos daemon. mongodb-org-shell ... Read More »

How to integrating DWR with Spring MVC

DWR: Easy AJAX for JAVA DWR is a RPC library which makes it easy to call Java functions from JavaScript and to call JavaScript functions from Java (a.k.a Reverse Ajax). DWR has a number of features like call batching, marshalling of virtually any data-structure between Java and Javascript (including binary file uploading and downloading), exception handling, advanced CSRF protection and ... Read More »

Resource Forwarding – Getting Page Response using DWR in Spring MVC

By this post I would like to describe my recent exposure with DWR2.0 and Spring2.0.Recently I got chance to develop my projects using Spring2.0 Framework. I really enjoyed working with Spring. Technologies reuired : 1).Spring MVC 2).DWR for AJAX calls 3).Hibernate3.0 4).Acegi security 5).Tiles 1.3 6).JSTL 1.1 DWR provides sufficient amount of support to all our ajax calls requirement.It allows ... Read More »

MyEclipse: Runtime Error R6025 “pure virtual function call”

Sometimes while opening some files or during starting we encounter the below mentioned error and our MyEclipse gets crashed – Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\...\jdk-1.6.0\bin\javaw.exe R6025 - pure virtual function call Solution for this problem is – 1) . Open the file workbench.xml in the location C:\…\\workspace\.metadata\.plugins\org.eclipse.ui.workbench\ 2) . Delete all the tag (This contains the ... Read More »

Configuring HTTP Apache Server and Tomact/ Jboss AS Application server


Download mod_jk (mod_jk.so is a Tomcat connector.) Download HTTP Apache server. And below I am describing the ways to configure mod_jk, HTTP Apache and Tomcat/Jboss AS 1). After downloading mod_jk rename this file as mod_jk.so 2). Place this file in the installed directory of apache in the below specified path – [YOUR-APACHE-DIRECTIORY]/modules/ 3). Create the below mentioned files in the ... Read More »