Friday, March 28, 2008

Correct way to handle JDBC connections

Find out through the following url: http://mobidev.afrigis.co.za/?q=node/81

Java Vs Javascript

The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform. The JavaScript programming language shares some attributes with the Java programming language, but it was developed separately.

For additional information about JavaScript, refer to the mozilla.org page titled What is JavaScript?

Differences among JDK, JRE & JVM

The Java Virtual Machine (JVM) is not a standalone program. The JVM is part of the Sun Java 2 Runtime Environment, Standard Edition (JRE). Like a car needs an engine to run, the Sun JRE needs a virtual machine. You must download the entire JRE.

JDK includes JRE and other stand alone programs.

Configuring the Application Server

Visit the following url:

http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklb?a=view

Executing SQL Statements from a Sql File

Use the follwoing command:

mysql> source file_name
or
mysql> \. exact_path_file_name

for an example:

mysql> \. /tmp/Marbil/marbil.sql

for further reading go to :
http://dev.mysql.com/doc/refman/5.0/en/batch-commands.html

How to check java version in your machine?

in command prompt type
java -version

Thursday, March 27, 2008

sjsas 9.0.1 installation in solaris spark 10 machine (64 bit)

first uninstall previous version

1. go to the installtion directory (i installed in /opt/SUNWappserver )

use the following command:
./uninstall -console

installation:

1. download to a directory like /tmp/sjsas-9_1_01-solaris-sparc.bin

2. change the mode to the executable using the command:

chmod +x sjsas-9_1_01-solaris-sparc.bin

3. install in console mode

./sjsas-9_1_01-solaris-sparc.bin -console