Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

MapReduce with MongoDB

MapReduce is a software framework introduced by Google in 2004 to support distributed computing on large data sets on clusters of computers. You can read about MapReduce from here. MongoDB is an open source document-oriented NoSQL database system written in C++. You can read more about MongoDB from here. 1. Installing MangoDB. Follow the instructions from the MongoDB official documentation ...

Read More »

Spring & JSF integration: Select Items

With JSF, to use comboboxes, listboxes and checkboxes, you need to be aware of the javax.faces.model.SelectItem class. A SelectItem represents a single selectable option; it contains both the information needed for rendering, and the value that should be bound if the item is selected. Most of the time SelectItems are constructed with a value and a label: new SelectItem(Title.MISS, "Miss"); ...

Read More »

Give your developers prod access – it’s trust

This isn’t a new idea and plenty of companies already do this. I had a discussion with a co-worker about this last week and wanted to get my thoughts down here so I can laugh at them later on when I get burned, which I haven’t yet, but have been assured I will. There is an idea that there are ...

Read More »

Google App Engine Full Text Search with Cloud SQL

Many Google AppEngine developers have been waiting for the Full Text Search feature, especially coming from Google the biggest search engine on the Web. I was quite happy to see that Google team is working on it as you can check in the Google I/O 2011 session : Full Text Search by Bo Majewski, Ged Ellis . As far as ...

Read More »

WebServerSocket with JWebSocket in Java

First, go to http://jwebsocket.org/ to Download 2 package Server and Client . If you want to view Source, plz download source package. Server Unzip Server package. Go to “conf” folde Choose “jWebSocket.xml” file to open Edit “jWebSocket.xml” file, add more couple of tag <domain>null</domain> in couple of tag <domains> <domains> Save “jWebSocket.xml” file. Turn on Terminal, run Server Go to ...

Read More »

Oracle Coherence: Distributed Data Management

This article shows how to provide distributed(partitioned) data management by using Oracle Coherence. In below sample application, a new cluster named OTV has been created and a cache object named user-map has been distributed between two members of the cluster. Used Technologies : JDK 1.6.0_21 Maven 3.0.2 Coherence 3.7.0 SolarisOS 5.10 STEP 1 : CREATE MAVEN PROJECT A maven project ...

Read More »

HOWTO: Increase performance in your application

If there’s one thing that developers hate it’s seeing your piece of code becoming a performance hog. That piece of code that does it’s job beautifully, comes crashing down when there’s a load test. That definitely does make a developer very, very, frustrated. My team recently had to go through a piece of beautifully written (NOT!), performance hogging pieces of ...

Read More »

EhCache replication: RMI vs JGroups

Recently, I was working on one product which required replicated caching. Caching provider was already decided – EhCache, and the remained was a question about transport. Which one is the best option? By the best option here I mean just the one which has better performance. The performance measurement was done just between two of available transports – JGroups and ...

Read More »

Java EE 6 Testing Part I – EJB 3.1 Embeddable API

One of the most common requests we hear from Enterprise JavaBeans developers is for improved unit/integration testing support. EJB 3.1 Specification introduced the EJB 3.1 Embeddable API for executing EJB components within a Java SE environment. Unlike traditional Java EE server-based execution, embeddable usage allows client code and its corresponding enterprise beans to run within the same JVM and class ...

Read More »