Recent JAVA posts

In this fuse day we jumped into the BigData world, and obviously, our first choice was Hadoop. Hadoop is a de-facto standard in the open source world today for large scale data processing. In this article I'll describe the “baby steps”, I took in order to set up my first Hadoop Java project, so it will be easier for any Hadoop newbie to kick start a Java Maven project.

The first step is to install Hadoop in your working computer. There are plenty of articles, describing how to install Hadoop. This post assumes you have already set an environment for developing and running Hadoop, and will guide you what to do next..

yanai 23/05/2012 - 00:11

The project i am working on is a combination of Springs , Hibernate and Resteasy services. In this project i need to get the data from mysql database using hibernate and Springs is used of configuring all the service and Impl classes.
It has two methods which return database data in xml and json format using reseasy procedures.I have configured every thing correctly and the output is generated correctly but the problem is "The same code is sometimes producing the output and sometimes not"(It is giving a null pointer exception and stack trace is as follows).

SEVERE: Servlet.service() for servlet [Resteasy] in context with path [/resteasy] threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
at org.jboss.resteasy.core.SynchronousDispatcher.hand leApplicationException(SynchronousDispatcher.java: 323)

nagarjun.kovi@g... 18/05/2012 - 19:11

vert.x is an asynchronous server for web development similar to the model of node.js. you can write code in java, javascript, ruby or groovy.

 

In the linked article, a micro benchmark is performed to compare vert.x to node.js. the test was done by the people behind vert.x.

 

According to the test results, vert.x is twice faster than node.js, while offering a simpler model to utilize all cores as the JVM natively uses all cores while node.js requires a 'cluster' module to launch sub processes per-core.

 

ittayd 10/05/2012 - 10:01

 For details please look here

yanai 08/05/2012 - 14:12

On the last post, I introduced Lazy-Chopper – A new library, that can chop your lazy associations of a graph, returned by the service layer to the client. There are some questions though:  What are the constraints for the returned graph? Can we pass any object within it? What about collections - are they supported by the lazy chopper as well?

yanai 07/05/2012 - 09:48

 Roadmap can be found in this post

yanai 15/04/2012 - 08:48

Amazing project of computer vision:

 

Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots).

sikuli.org/

 

Demo (Automatically setting IP on Mac OS X):

www.youtube.com/watch

olga 12/04/2012 - 12:58

 

15.4 - Introduction to HTML, CSS and JavaScript

 

22.4 - jQuery

 

29.4 - MV* frameworks, modularization, other languages

 

6.5 - HTML5 features

 

13.5 - Group Projects

gabi 10/04/2012 - 16:16

 Hey,

 

Recently, I got into native Android development.

While digging around for information, I stumbled upon this online course.

 

It is a recording of 5 class sessions, each session is 4 recordings.

I am only half way through it but so far It is informative, extensive and all-round a good course. 

 

It's only disadvantage is that it is a video recording so it's hard (read impossible) to skim through it as you would skim a book.

 

Oh, almost forgot the link :)

http://marakana.com/techtv/android_bootcamp_screencast_series.html#

 

Happy Coding!

Sefi

sefi 27/03/2012 - 19:53

Hi,

I have a working hadoop process.

I would like to migrate it to spring framework using spring hadoop.

I have a few questions.

1. How does hadoop child procesess instatiate spring application context, Is the xml uploaded to distributed
cache?

2. configureReducerTypesIfPossible() at JobFactoryBean is not implemented, how does reducerKey and
value types determined?

3. How can I determine job properties like org.apache.hadoop.mapreduce.JobContext.setNumReduc eTasks() ,
If they are not in spring-hadoop.xsd ?

 

Thanks

4.I would like to determine parameter 'input-path' dynamically at runtime, What is the recommened
approcah?

davidginzburg 27/03/2012 - 17:25