Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

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 »

Grails Dynamic Dropdown

Recently I had a UI requirement where a customer wanted to select values from two separate dropdowns. The value of the first dropdown essentially filtered the values for the second dropdown. Given the financial projects we support are not heavy on UI requirements, I had to do some initial learning and experimentation to yield a good implementation. This blog entry ...

Read More »

Spring & JSF integration: Internationalization and Localization

If you are working on a JSF application that is targeted to multiple languages, you may well be familiar with the <f:loadBundle> tag. Even if your application does not support internationalization using message bundles is still probably a good idea. Under the hood the <f:loadBundle> tag reads messages from a Java java.util.ResourceBundle and, whilst this will work, Spring developers often ...

Read More »

So you are a programmer…

Been there. Done that. And suffered for that… Programming is fun. But there are some other associated stuff we programmers blissfully skip or procrastinate because they are not so cool. End result?… Somebody is going to get hurt at the end of the day and that somebody may very well be a ourselves. So here are some stuff I have ...

Read More »