Pod Racing: How to synchronize threads across multiple JVMs
Sometimes, you want to start the job in multiple JVMs only when all the VM has started. This scenario often comes up with multiplayer games. Let's... more »
0 commentsSave Tags: how-to, java, open source
Maven Archetype to build a Terracotta project
One of the seed projects that would be very useful for Terracotta DSO users, is the TIM Archetype project. TIM stands for Terracotta Integrations... more »
0 commentsSave Tags: how-to, java, open source
Monkey tales: Continuous Integration at Terracotta
As a platform to cluster and scale Java applications, Terracotta usages are greatly varied and resourceful. Further more, Terracotta supports Linux,... more »
0 commentsSave Tags: java, open source
How to do Static Weaving with Toplink Essentials from Maven 2
The Toplink folks do not provide a Maven 2 plugin for doing static weaving (and you must use static weaving if you're deploying to a J2SE servlet... more »
0 commentsSave Tags: how-to, java, open source
Solution to classpath too long (aka input line too long) problem in Windows
A trick to get around "Input line too long" problem in Windows when your classpath length has grown over the limit.
0 commentsSave Tags: how-to, java, windows
Check for broken links in Ruby, Bash script and Java
Using HEAD method for lightweight checking if a URL is live or not. Examples in Ruby, Bash and Java.
0 commentsSave Tags: java, ruby
Distributed EhCache as second level cache under Hibernate
EhCache is a one of the great options for Hibernate second level cache. By making it distributed, multiple web applications will be able to share the... more »
0 commentsSave Tags: database, how-to, java
Toggle code portion in your blog
Sometimes I need to write a long blog with lots of code so I wrote a small javascript to toggle the code section. It's a useful feature to help keep... more »
0 commentsSave Tags: javascript
Why Should a Heartbeat be Regular?
Consider a common polling loop: while(true) { runSomeQuery(); doSomeStuff(); sleepBeforeNextIteration(); } I've seen and used this... more »
0 commentsSave Tags: java
Simple directory browser for Amazon S3
If you have used Amazon S3, you might be annoyed at the lack of support for directory browsing. If you hit your repo url, all you get is an XML file... more »
2 commentsSave Tags: ajax, javascript
On Dealing with Head Hunters
The fundamental problem when dealing with recruiters is that while your interests and their interests are related, they aren't identical. * Your... more »
0 commentsSave Tags: how-to, opinion, reviews
Lightweight Google geocoder with Java
Java tool to convert addresses to longitude and latitude using Google service
0 commentsSave Tags: java
Microsoft Referrer Spams Us
The site gets enough referrer spam that I wrote a servlet filter to stop it... but Microsoft was the last company I expected to see engaged in... more »
0 commentsSave Tags: microsoft, server
Microsoft Referrer-Spams Us
Morons.org received hundreds of requests citing http://search.live.com/result.aspx?q={some query}&mrt=en-us&FORM=LVSP as the referrer. These queries... more »
0 commentsSave Tags: microsoft, server
Make use of Java dynamic proxy
I didn't know about Java dynamic proxy before but finally got a chance to learn and found a good use for it. The test I was writing had the smell of... more »
0 commentsSave Tags: java
Cluster a standalone Spring app to calculate Mandelbrot set
I've heard about Spring for awhile and have made little attempt to check out what it was. Most of the descriptions about Spring gave me the... more »
0 commentsSave Tags: frameworks, how-to, java, open source
Alternative to properties file: YAML beans
Plain ol properties files are great for setting configurations for your apps. But if your configuration requires structured data and you prefer not... more »
0 commentsSave Tags: java, open source, xml
Share that POJO - Hibernate clustered and empowered
Plain old Java objects (POJOs) that Hibernate constructs from the database are clustered and shared across multiple JVMs. We don't have to hit the... more »
0 commentsSave Tags: java, open source
Performance comparision between ConcurrentHashMap and synchronized HashMap in Terracotta
Since the introduction of ConcurrentHashMap in Java 5, it has been the better choice over HashMap in highly threaded applications. Open Terracotta... more »
0 commentsSave Tags: java
Using POSTGIS to find points of interest within a radius
The problem I was trying to solve is, given a point with (longitude, latitude), how can I find all other points within a certain radius. I've solved... more »
0 commentsSave Tags: database, how-to
Using Java bytecode in clustering technique
When I first heard of clustering Java objects, I immediately thought about object serialization. As someone just got out of school, it's an educated... more »
0 commentsSave Tags: java, open source
Making MD5 Fuzzy
Hash functions like MD5 are terribly handy when you want to verify that one file is exactly the same as another very quickly, but what if you want to... more »
2 commentsSave Tags: how-to, java, methodology
Share precious heap memory accross JVM's
Sharing heap memory accross multiple JVM's
0 commentsSave Tags: how-to, java, server