Blogs

Wicket's Date & Time Components and Client-Server Timezones

The problem

In a typical web application, it is often necessary to work with multiple Timezones on the Client side. On the server side you may wish to store the data in one single "Timezone" preferably "GMT", but it hardly makes sense to display and accept dates in GMT, as this places the onus on the user to translate time in his local timezone, to GMT before entering the time information, and vice-versa for interpreting any dates shown in the Web application.

What is required is for the web application to show and display date and times in the User's timezone, and do all the necessary conversions while transmitting the date/time information between the User and the Back end. wicket framework makes this extremely simple to implement.

Some useful Java System Properties while starting JVM.

Here are some Java system properties that can be used while starting a new JVM. These options either provide some kind of performance benefits under certain conditions, or are used to override default values, when using default values is not suitable or not a good option.

Jbossws 2.0.1 with JDK 1.6

Here I describe how to use the latest jbossws (2.0.1) with JDK 1.6

Prior to version # 2.0.0.GA, jbossws (The Jboss stack for web services based on jax-ws ), did not support JDK 1.6. But since the 2.0.0.GA version , support for JDK 1.6 has been added.

However you need to take some extra steps in order for jbossws to work correctly under JDK 1.6. Following is a list of things you need to do in order to install and run jbossws in jbossas (jboss application server) under JDK 1.6.

Date & Time selection made simple in Wicket

If you have been using a component based framework like JSF or wicket for your web development, One thing you realize very quickly, is that there are 2 things to know about component based development.

  • Learning the framework. This involves learing the API, how validators, converters work, the life-cycle of a page etc. Most of the code you write at this point of time, will be crude and hackish in nature.
  • The second phase of learning, is finding the pre-build components to use.

New Features in Vim 7

Round up of New features of Vim 7.0


This is my first attempt to write a review of any kind, so please excuse any rookie mistakes. The entire review is written in EMACS...just kidding. The review was written in Vim 7.0 <!--break --> and screen shots were captured using ksnapshot and edited using krita.

Maven best practices: Use dependency management for multi module projects.

Do you struggle to maintain a common configuration for dependencies (version #, type etc.), between various modules of your multi-module maven 2.x project ?

There is a very easy way to control all your dependency related configurations from the parent 'pom' project.
Instead of specifying the same kind of configuration for dependencies over and over, in various modules, just specify them once inside the &lt;dependencyManagement&gt; node of the parent pom.xml.

What ever configurations are done in the 'dependencyManagement' section o

Prototyping LAMP with WAMP

WAMP is the windows equivalent of the LAMP stack. LAMP stands for Linux (Operating System), Apache (Web Server), Mysql (Database), and PHP (Scripting Language). Under WAMP, instead of using Linux as the Operating System, you use one of the Microsoft Windows OSes such as XP, 2000 or 2k3.

Why use WAMP instead of LAMP


Windows OSes since 2000 i.e.

Bash shell tricks

Things you didn't know bash could do

Are you sure you are squeezing out all, that the bash shell can provide. Presented below are a few obscure things that bash can do, but chances are you may not have heard of them.

Completion

No I am not talking about completing command/file names. I am talking about completing arguments to various commands, completing filenames based on application.

Syndicate content