Wednesday, September 12, 2007

Simple Steps for Product Branding - Eclipse

Chk out the doc for achieving Eclipse Product Branding - an easy way to create executable for plugin project

http://docs.google.com/Doc?id=dhctpzz_33hjz243

Jaret Table

Jaret Table is a full functional SWT Table with Sorting, Flitering, Editable Functionalities. A doc introducing Jaret Table is uploaded in http://docs.google.com/Doc?id=dhctpzz_21g6thwp

How to go with Spring

A basic tutorial document to help anyone to start up with Spring is uploaded in
http://docs.google.com/Doc?id=dhctpzz_0dxpkvx

Thursday, September 6, 2007

MySQL Windows Instal Error

MySQL 4.1.22 installs itself, but fails to start MySQL service in Windows XP x86.

Download MySQL 5.0.45, install, this has no issues with Windows XP x86.

Create/Remove Service from Windows

To Create A Service
  • Start | Run and type cmd in the Open: line. Click OK.
  • Type: sc create
  • Reboot the system
To Delete A Service
  • Start | Run and type cmd in the Open: line. Click OK.
  • Type: sc delete
  • Reboot the system
f you prefer to work in the registry rather than through the command prompt to delete services;
  • Click Start | Run and type regedit in the Open: line. Click OK.

  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

  • Scroll down the left pane, locate the service name, right click it and select Delete.

  • Reboot the system

Tuesday, September 4, 2007

Spring

The following link gives a basic understanding about Spring to startup with.

http://www.roseindia.net/search/showtutorials.php?id=6463

Issues:
1. NoClassDefFoundError thrown for commons-logging for the deployed war,
Place the commons-logging used by Spring.jar in the lib folder inside WEB-INF
2. Weblogic closing of becoz of Java HOTSPOT
Check in which java version all the classes have been compiled. compile in the same java version as of weblogic

Tuesday, July 17, 2007

Hibernate Tutorial

To start up with hibernate can check the link for the tutorial : http://www.roseindia.net/hibernate/

Tuesday, June 26, 2007

Wednesday, June 13, 2007

Getting started with Struts 2.0

Following link gives u a initial basic approach of going abt creating ur first Struts 2.0 App

http://www.roseindia.net/strutsshtml/struts2/struts-2-hello-world-files.shtml

http://www.roseindia.net/strutsshtml/struts2/struts-xml.shtml

New updated links
http://www.roseindia.net/struts/struts2/
struts-2-hello-world-files.shtml

http://www.roseindia.net/struts/struts2/struts-xml.shtml

RCP and Java Web Start - Creating JNLP

The following link gives a detailed explanation for how to create jnlp for an RCP application 
http://www.i-proving.ca/space/RCP+and+Java+Web+Start

You will face
java.lang.NullPointerException 
at java.util.Hashtable.put(Unknown Source) 
at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain.java:58) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.java:40)

Issue: The problem is that the code relies on underscore as a delimiter between plugin name and plugin version. However, some plugins have underscore even in their version number (e.g. '...../org.eclipse.osgi_3.2.1.R32x_v20060919.jar') and these plugins fail to load. Not loading the org.eclipse.osgi causes the whole app fail to start.

Solution: use org.eclipse.osgi_3.2.1.v20060919.jar, sign this jar and change in all its references in ur jnlp.

Monday, June 11, 2007

SWT TreeTable

Me and my friend were looking for a good Tree Table widget in SWT. But we couldnt find a stable one. So, we ended up creating our own stable SWT Sortable Editable TreeTable widget.

A stable SWT TreeTable widget has been uploaded at:
http://tools.assembla.com/svn/j3widgets

Editable / Clearable Dialog Cell Editor

This is a swt widget for a table cell which comes with
a text box, a file dialog button and a clear button.

This widget comes with
- Cut, Copy, Paste and Delete options [which are the default SWT.Text options].
- Clear Button on click clears the content of text.
- File Dialog button on click of which, as the name says : a File dialog would pop up allowing the user to load a file.

If you want have this widget then you can have a peep in : http://tools.assembla.com/svn/j3widgets

Jil Jack and Java

Jack and Jil went up the hill to fetch a pile of answer
Jack fell down and broke his crown
And Jil came tumbling after.

Up got Jack, and there came Jil, tried As fast as she could caper
Both went to google and bounced their head
With eclipse swt and rcp white paper. ;-)