Sunday 30 November 2014

garbage collecction in spring

http://youtu.be/we_enrM7TSY

how dependency injection works

http://youtu.be/JfgP566BHW0

Friday 28 November 2014

what is 'xmlns:p=”http://www.springframework.org/schema/p' in Spring?

In Spring to inject value into bean properties 'xmlns:p=”http://www.springframework.org/schema/p' is used.


 
 
 



there are another way to inject bean in Spring Inject value with “value” attribute.


 
 
  
  
 
 



Inject value within a ‘value’ tag and enclosed with ‘property’ tag.


 
 
  
   rajdeo
  
  
   txt
  
 


Friday 21 November 2014

Running Hadoop on Ubuntu Linux (Single-Node Cluster)

Hadoop is a framework written in Java for running applications on large clusters of commodity hardware and incorporates features similar to those of the Google File System (GFS) and of the MapReduce computing paradigm. Hadoop’s HDFS is a highly fault-tolerant distributed file system and, like Hadoop in general, designed to be deployed on low-cost hardware. It provides high throughput access to application data and is suitable for applications that have large data sets. The main goal of this tutorial is to get a simple Hadoop installation up and running so that you can play around with the software and learn more about it.




original post can be found michael-noll.com here

Monday 17 November 2014

Lucene In-Memory Search Example: Now updated for Lucene 3.0.1

While playing around with Lucene in my experiments to make it work with Google App Engine, I found an excellent example for indexing some text using Lucene in-memory; unfortunately, it dates back to May 2004 (!!!). I’ve updated the example to work with the newest version of Lucene, 3.0.1. It’s below for reference. The Pastie link for the code snippet can be found here.
original post can be found on ikaisays

stack based vs register based virtual machine architecture and the dalvik vm

[Kostja Stern has been kind enough to translate this article in russian, which can be found here] A virtual machine (VM) is a high level abstraction on top of the native operating system, that emulates a physical machine. Here, we are talking about process virtual machines and not system virtual machines. A virtual machine enables the same platform to run on multiple operating systems and hardware architectures. The Interpreters for Java and Python can be taken as examples, where the code is compiled into their VM specific bytecode. The same can be seen in the Microsoft .Net architecture, where code is compiled into intermediate language for the CLR (Common Language Runtime).
orginal post on markfaction