JDSF Getting Started

Thu, 04/02/2009 - 09:44

Overview

Almost every programmer has got to the point where he worked with more than one thread, and then started synchronizing them. Today’s applications become not only multi threaded but also distributed, that is, an application can run on different processors and even different computers. Synchronizing such application is a very difficult task, and that is where our new project comes handy.

We provide a one class Monitor object that provides distributed getLock, releaseLock as well as wait-notify functionality.

Configuration

Making Java web development easier

Thu, 04/02/2009 - 09:42

After a very long time of infrastructure development I have taken some time to get myself familiar again with web development and web frameworks. I did not keep my search contained to the Java domain but I kept coming back to Java because I like java and because Java provided me with everything I needed.

Well almost anything….

Not so long ago I have posted a blog in which I talked about my thesis, more precisely about its beginning. My original idea to study and hopefully come up with a reasonable implementation of a fully distributed queue has taken a slight detour (as these things sometimes do).

I figured that for 16bytes.com I would do a new research on open source CMS. I used Drupal for my last site but was determined to keep an open mind.

After a quick search in Google I decided to install mambo / joomla. My first reaction was “WOW, these guys know how to do CMS”. The GUI was great and it looked like a feature-full CMS.

FacesIDE plugin comes in very handy when you need to develop JSF applications.

However, when put into work, there are two changes you need to make by hand to the web.xml file it creates in the project structure.

This blog shows how to tweak the plugin so you don't need to make those changes manually every time you create a new JSF project.

I have several accounts in my msn messenger. Yesterday one of my accounts just wouldn’t sign-in.

My live messenger kept trying to sign-in forever, setting a false password returned an error message and I had no problem sign-in with my other msn account.
After spending two hours on this problem and in the spirit of 16bytes, I decided to post the solution to this problem.

Build your own Geo-Locating solution

Thu, 04/02/2009 - 09:29

Many websites use Geo-Locating services to provide location aware content, so users will get the content in their language and currency, and will "enjoy" from some targeted adverts.

Geo-location is also required when providing content that is protected by DRM (Digital Rights Management) and has some geographical constraints.
On top of that, webmasters can benefit from Geo-Locating logs to analysis their web traffic.

This blog shows you how to configure an entirely open-source JSF development and test platform.

Eclipse can be easily set up to support JSF development with FacesIDE and Tomcat. The process is quite easy – if you have the right plugins.
In Eclipse architecture, plugins are additions to the basic platform. Actually, when you install eclipse, many plugins are already there for you under the hood. They serve as extensions, builts on the basic functionality provided by the platform.

Windows Vista, Microsoft’s new operating system, brings many new cool features. It seems the new look and feel gets all the attention, the famous aero glass transparency and the amazing new windows browsing 3D effect (pressing the keyboard’s “Windows” button + TAB) provide a killer user experience and a better way for us humans to communicate with our computer.

I just installed from scratch PHP5 (PHP version 5) to run with MySQL and Apache HTTP server. Despite the popularity of this configuration, I spent few hours straggling to set it up. The main reason it was not straight forward is that most of the “how-to” articles I found on the net were not up-to-date and just didn’t work with the latest version of Apache, PHP and MySQL.