• a

  • Archives

Mozilla/IE Handsfree

Microsoft Internet Explorer navigation
F6 (Shift focus on the Address Bar)
CTRL+B (Open the Organize Favorites dialog box)
CTRL+E (Open the Search bar)
CTRL+F (Start the Find utility)
CTRL+H (Open the History bar)
CTRL+I (Open the Favorites bar)
CTRL+L (Open the Open dialog box = F6)
CTRL+N (Start another instance of the browser with the same Web address)
CTRL+O (Open the Open dialog box, the same as CTRL+L)
CTRL+P (Open the Print dialog box)
CTRL+R (Update the current Web page)
CTRL+W (Close the current window)

Windows Media Player Handsfree!

F9 – Increase the volume

F8 – Decrease the volume

CTRL+B – Play the previous item

CTRL+F – Play the next item

CTRL+SHIFT+B – Rewind

CTRL+SHIFT+F – Fast-forward

CTRL+SHIFT+G – Play faster than normal speed (time compression)

CTRL+SHIFT+N – Play at normal speed

CTRL+SHIFT+S – Play slower than normal speed (time expansion)

Note: Rewind and fast-forward are not available for all files.

Download Unveiled! – DownloadHelper!

DownloadHelper is a tool for web content extraction. Its purpose is to capture video and image files from many sites.

Just surf the Web as you are used to, when DownloadHelper detects it can do something for you, the icon gets animated and a menu allows you to download files by simply clicking an item

For instance, if you go to a YouTube page, you’ll be able to download the video directly on your file system. It also works with MySpace, Google videos, DailyMotion, Porkolt, iFilm, DreamHost and others.

When you are on a page containing links to images or movies, you can download some or all of them at once. Moving the mouse over the items in the menu will highlights the links directly in the page to make sure they are the ones you want to pick up.

DownloadHelper also allows you to download files one by one, so that you keep bandwidth to surf for other stuff to download.

To modify your preferences, like changing the download directory, right-click on the icon and choose “Preferences”.

When you first install the extension, your browser is redirected to a welcome page with links to a user manual at http://www.downloadhelper.net/manual.php and a faq at http://www.downloadhelper.net/faq.php

This does not change your homepage setting and the welcome page won’t appear anymore.

Support can be obtained from http://www.downloadhelper.net/support.php

Works with:

  • Firefox Firefox: 1.5 – 3.0a2

Install it from: https://addons.mozilla.org/en-US/firefox/addon/3006

A look at my Environmental Variables in windows XP

In windows and linux you can see all the environmental variables by using “set” command at the command prompt. Here is the output of set command on my desktop(Windows XP). C:\Documents and Settings\deshpand>set ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\deshpand\Application Data CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.0 CLASSPATH=.;C:\j2sdk1.4.2_08\bin; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\axis.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\axis-ant.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\jaxrpc.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\ commons-discovery-0.2.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\ commons-logging-1.0.4.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\log4j-1.2.8.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\saaj.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\wsdl4j-1.5.1.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\activation.jar; C:\jboss\server\default\deploy\axis.war\WEB-INF\lib\mail.jar; C:\Documents and Settings\deshpand\My Documents\lib\ mysql-connector-java-3.0.16-ga-bin.jar; CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=DESHPAND01 ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents and Settings\deshpand JAVA_HOME=C:\j2sdk1.4.2_08 LOGONSERVER=\\BGEMQGCAP01 NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\Program Files\ActivCard\ActivCard Gold\resources; C:\Program Files\Microsoft SQL Server\80\Tools\Binn\; C:\Program Files\UltraEdit; C:\Program Files\QuickTime\QTSystem\; C:\j2sdk1.4.2_08\bin; C:\Program Files\MySQL\MySQL Server 4.1\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 10, GenuineIntel PROCESSOR_LEVEL=15 PROCESSOR_REVISION=040a ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\deshpand\LOCALS~1\Temp TMP=C:\DOCUME~1\deshpand\LOCALS~1\Temp USERDNSDOMAIN=ASIAPACIFIC.CPQCORP.NET USERDOMAIN=ASIAPACIFIC USERNAME=deshpand USERPROFILE=C:\Documents and Settings\deshpand windir=C:\WINDOWS

Soap and Axis + Installing Axis

What is SOAP?

SOAP is an XML-based communication protocol and encoding format for inter-application communication. Originally conceived by Microsoft and Userland software, it has evolved through several generations; the current spec is version,SOAP 1.2, though version 1.1 is more widespread. The W3C’s XML Protocol working group is in charge of the specification.

SOAP is widely viewed as the backbone to a new generation of cross-platform cross-language distributed computing applications, termed Web Services.

What is Axis?

Axis is essentially a SOAP engine — a framework for constructing SOAP processors such as clients, servers, gateways, etc. The current version of Axis is written in Java, but a C++ implementation of the client side of Axis is being developed.

But Axis isn’t just a SOAP engine — it also includes:

  • a simple stand-alone server,
  • a server which plugs into servlet engines such as Tomcat,
  • extensive support for the Web Service Description Language (WSDL),
  • emitter tooling that generates Java classes from WSDL.
  • some sample programs, and
  • a tool for monitoring TCP/IP packets.

The main purpose where i have used axis is to host web services using WSDL:

  • Automatic WSDL generation from deployed services
  • WSDL2Java tool for building Java proxies and skeletons from WSDL documents
  • Java2WSDL tool for building WSDL from Java classes.

Setting up Axis:

1. In Jboss:
1. Download axis-bin-1_2_1.zip from http://ws.apache.org/axis/
2. Unzip and go to axis-bin-1_2_1\axis-1_2_1\
3. Rename this axis-1_2_1 to axis (optional)
4. Copy axis folder into deploy directory in jboss
cp axis ..\..\jboss\server\default\deploy\

2. In Tomcat:
Follow steps 1-3 above
4. Copy axis folder into Tomcat\webapps

Installations – Tomcat, Jboss, Active BPEL

1. Tomcat:
What is Apache Tomcat?
Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process.

A Java servlet container is required to run Macromedia Flex and Tomcat is available freely under the Apache Software License. While the latest version of Tomcat, version 5.5.9, is not a supported application server for Macromedia Flex, while Tomcat 4.1.29 and 5.0.18 are, I have experienced no problems whatsoever using 5.5.9, and the performance increase is noticeable.
Installing tomcat in windows and linux can be found at:
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html?page=1

2. Jboss:

What is Jboss?
http://www.jboss.com/products/jbossas

Installing jboss in windows and linux(same procedure) can be found at:
http://www.developer.com/java/ejb/article.php/3071661

Note: Jboss 4.0 requires JDK 1.4 or higher
Jboss 5.0 requires JDK 1.5 or higher

3. Active BPEL:
What is Active BPEL?
http://www.active-endpoints.com/open-source-active-bpel-Intro.htm

Installing and Configuring Active BPEL:
http://www.active-endpoints.com/installation-guide.htm

Setting Environmental Variable in Linux

Environmental variables are set in Linux using “export” command at the command prompt.

They can be viewed using “set” command at the command prompt.

1. JAVA_HOME: Java SDK: (required for Tomcat, else you can set the path to your JDK in PATH variabl

# export JAVA_HOME=/usr/java/j2sdk1.4.2

2. CATALINA_HOME: Java SDK

# export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5

3. CLASSPATH: Jars to be referenced

# export CLASSPATH=/opt/lib/alpha.jar:/opt/lib/beta.jar:/opt/lib/test.jar

Now if you want to add (append) more jars to CLASSPATH, you should use the following

command:

# export CLASSPATH=$CLASSPATH:/opt/lib/theta.jar

# export CLASSPATH=$CLASSPATH:$JAVA_HOME (appends JAVA_HOME to CLASSPATH)

4. PATH: Contains path of applications. If you want to add(append) /usr/local/jakarta-tomcat-4.0.5/bin to PATH (so that you can start and stop

tomcat from any directory) then

# export PATH=$CATALINA_HOME/bin:$PATH

Installation – MySQL and JDBC, JDK

Installing and Configuring MySQL and JDBC driver in Windows:

http://www.stardeveloper.com/articles/display.html?article=2003090201&page=1

Installing and Configuring MySQL and JDBC driver in Linux:

JDK Installation

Find the compatible JDK for your OS from:

http://java.sun.com/j2se/1.5.0/system-configurations.html

Installing JDK 1.x on Windows:

1. Download the appropriate JDK (.exe)from

https://sdlc1b.sun.com/ECom/EComActionServlet;jsessionid=

0A7FFCE7000309A58F5AF40743F20ADA

2. Run the .exe and specify the location where you want to install [Eg. C:\j2sdk_1.4]

3. Add the path of JDK in the PATH environmental variable.

[Setting JAVA_HOME is optional, the jdk will work even if you don't set this as you

are setting the path in the PATH variable. However, if you are installing Tomcat, you

need to set JAVA_HOME along with CATALINA_HOME]

4. Open Command Prompt check if the PATH variable is updated using “set” command.

5. Type “javac” if the setup is working.

6. You can check the JDK version using “java -version” on command prompt

Installing JDK 1.x on Linux:

Note: Install formats – JDK 5.0 is available in two installation formats.

* Self-extracting Binary File – This file can be used to install the JDK in a location chosen by the user. This one can be installed by anyone (not only root users), and it can easily be installed in any location. As long as you are not root user, it cannot displace the system version of the Java platform suppled by Linux.

* RPM Packages – A rpm.bin file containing RPM packages, installed with the rpm utility. Requires root access to install, and installs by default in a location that replaces the system version of the Java platform supplied by Linux.

Go for Self-extracting Binary File since it is convenient.

1. Download the appropriate JDK (java_ee_sdk-5_03-linux.bin)from:

https://sdlc1b.sun.com/ECom/EComActionServlet;jsessionid=

0A7FFCE7000309A58F5AF40743F20ADA

2. Change to the directory where you downloaded the SDK and make the self-extracting binary executable:

# chmod +x jdk-1_5_0_01-linux.bin

3. Run the self-extracting binary, this will display the License agreement text and will ask you to accept the agreement:

# ./jdk-1_5_0_01-linux.bin

Above command should create a directory called jdk1.5.0_01 in the same directory

4. Move the SDK directory to /usr/java/. Create /usr/java if it doesn’t exist. Here is the command used:

mv jdk1.5.0_01 /usr/java

5. Set the path to jdk in the PATH environmental variable using:

# export PATH = /usr/java/jdk1.5.0_01:$PATH

JAVA_HOME can also be set (optional), required for Tomcat:

1. Set the JAVA_HOME environment variable, by modifying /etc/profile so it includes the following:

# JAVA_HOME=”/usr/java/jdk1.5.0_01″

# export JAVA_HOME

2. Check to make sure JAVA_HOME is defined correctly using the command below. You should see the path to your Java SDK.

# echo $JAVA_HOME

Output should be

/usr/java/jdk1.5.0_01

 

Installing JRE Plugin with Mozilla (Windows, Linux, etc)

To install JRE Plugin with Mozilla (Windows, Linux, etc) refer:

http://plugindoc.mozdev.org/faqs/java.html

In linux, to link the jre plugin, use the following command:

[root]# ln -s  /usr/java/jdk*/jre/plugin/i386/
ns7-gcc29/libjavaplugin_oji.so /usr/lib/mozilla-1.4.2/
plugins/

FAQ’s – Java

What is the difference between jre, jdk, sdk?
JRE, ‘Java Rutime Environment’ performs the execution of java programs but JDK, ‘Java Development Kit’ which contains the java compiler is helpful in developing java based programs. Infact one or more JRE’s along with various development and deployment tools are present in a JDK.
JRE is a subset of JDK.
- Two steps for a java program ie.,compile and interpret.
- JDK does compilation but JRE can’t.
- Both JRE and JDK does interpretaion.
SDK is same as JDK