This tutorial helps to install MongoDB on Ubuntu systems. The tutorial uses .deb packages to install. The MongoDB package repository contains five packages: mongodb-orgThis package is a metapackage that will automatically install the four component packages listed below. mongodb-org-serverThis package contains the mongod daemon and associated configuration and init scripts. mongodb-org-mongosThis package contains the mongos daemon. mongodb-org-shellThis package contains the ... Read More »
Regular Expression in Java
Java provides the java.util.regex package for pattern matching with regular expressions. A regular expression is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern. They can be used to search or edit or manipulate data. The java.util.regex package primarily consists of the following three ... Read More »
How to convert String to Date in Java using SimpleDateFormat To Desired Output Format
Simple way of doing Date conversion from String is by using java.text.SimpleDateFormat. Here’s an extract of relevance from the javadoc, listing all available format patterns: G Era designator Text AD y Year Year 1996; 96 M Month in year Month July; Jul; 07 w Week in year Number 27 W Week in month Number 2 D Day in year Number ... Read More »
Install Android on Ubuntu Linux with Eclipse IDE
This document will prepare an overview of the steps you will take to install and configure Android on your Ubuntu Linux system. You must have Java JDK on your system before installing Android SDK. Prepare your development environment and ensure it meets the system requirements. Install the Android Software Development Kit (SDK)s Download and Configure the Eclipse Integrated Development Environment ... Read More »
Getting System Out to Write to a Particular File on System
This tutorial redirects the System.out to a file provided by the user. Steps to follow – 1. Create a file myconsole.txt.2. Create a PrintStream that uses FileOutputStream3. Set the System Out with PrintStream object. Read More »
Hibernate Framework and Architecture
Hibernate Framework Hibernate framework simplifies the development of java application to interact with the database. Hibernate is an open source, lightweight, ORM (Object Relational Mapping) tool. An ORM tool simplifies the data creation, data manipulation and data access. It is a programming technique that maps the object to the data stored in the database. The ORM tool internally uses the ... 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 »
Introduction To Android
Android is the world’s most popular operating system for mobile devices and tablets. It is an open-source operating system, created by Google, and available to all kinds of developers with various expertise levels, ranging from rookie to professional. From a developer’s perspective, Android is a Linux-based operating system for smartphones and tablets. It includes a touch screen user interface, widgets, ... Read More »
Direct Web Remoting
DWR is Open Source, available under the Apache Software License v2. DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible. DWR will generate the JavaScript to allow web browsers to securely call into Java code almost as if it was running locally. It ... 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 »
Jkoder.com Tutorials, Tips and interview questions for Java, J2EE, Android, Spring, Hibernate, Javascript and other languages for software developers