riyaz udeen

Ranch Hand
+ Follow
since Sep 11, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by riyaz udeen

hye every one. i wrote a jdbc program and saved it as .java file from notepad in order to connect Db2. the code is as follows:

import java.sql.*;

public class jdbc {

public static void main( String arg[]) {

Connection c = null;
Statement st = null;
ResultSet rs;
String query = "CREATE TABLE book ( NAME VARCHAR(20),ID INTEGER,RATE INTEGER)";
String query1 = "INSERT INTO book VALUES ( 'HFSJ',1,100)";
String query2= "INSERT INTO book VALUES ( 'JSPCOOKBOOK',2,90)";


try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
}

catch( Exception ex) {
System.out.println(ex.getMessage());
}

try {

c = DriverManager.getConnection("jdbc b2://localhost:50000/sample?UserID=pentium4&password=18may2003");
st = c.createStatement();
st.executeUpdate(query);
st.executeUpdate(query1);
st.executeUpdate(query2);
st.executeUpdate("INSERT INTO BOOK VALUES ( 'SCJP',1,200)");
rs= st.executeQuery("SELECT * FROM BOOK");

while(rs.next())
{
System.out.println(rs.getString("NAME")+" " +rs.getInt("ID")+" "+rs.getInt("MARKS"));
}


}

catch(SQLException e)
{
System.out.println(e.getMessage());
}

}
}


i got the error as "[ibm][db2][jcc][t4][10205][11234] Null userid is not supported."

but i have placed the jar files (C:\Program Files\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\Program Files\IBM\SQLLIB\java\db2jcc.jar) in classpath environmental system variables.

can you kinldy provide me sollution. thanks in advance.
hye every one. i wrote a jdbc program in Eclipse 3.2.1 java perspective in order to connect Db2. the code is as follows:

import java.sql.*;

public class jdbc {

public static void main( String arg[]) {

Connection c = null;
Statement st = null;
ResultSet rs;
String query = "CREATE TABLE book ( NAME VARCHAR(20),ID INTEGER,RATE INTEGER)";
String query1 = "INSERT INTO book VALUES ( 'HFSJ',1,100)";
String query2= "INSERT INTO book VALUES ( 'JSPCOOKBOOK',2,90)";


try{
Class.forName("com.ibm.db2.jcc.DB2Driver");
}

catch( Exception ex) {
System.out.println(ex.getMessage());
}

try {

c = DriverManager.getConnection("jdbc b2://localhost:50000/sample?UserID=pentium4&password=18may2003");
st = c.createStatement();
st.executeUpdate(query);
st.executeUpdate(query1);
st.executeUpdate(query2);
st.executeUpdate("INSERT INTO BOOK VALUES ( 'SCJP',1,200)");
rs= st.executeQuery("SELECT * FROM BOOK");

while(rs.next())
{
System.out.println(rs.getString("NAME")+" " +rs.getInt("ID")+" "+rs.getInt("MARKS"));
}


}

catch(SQLException e)
{
System.out.println(e.getMessage());
}

}
}


i got the error as "com.ibm.db2.jcc.DB2Driver No suitable driver"
but i have placed the jar files (C:\Program Files\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\Program Files\IBM\SQLLIB\java\db2jcc.jar) in classpath environmental system variables.

can you kinldy provide me sollution. thanks in advance.

riyazudeen.
Thanks all for reply.

Thanks Eric Pascarello,Arjunkumar Shastry and Srikanth Raghavan :

hye eric, i smell good because i use Dettol soap and take bath twice a day for efficiency. by allmightys grace i have enough confidence , courage , integerity thus i have been fighting hard for 2 1/2 years without putting fake experience. i dont have supereority complex but i have to present the above because you were concerned about it. I have come across many tragedies through interview process.

I agree with your points based on school labs stuff. But No one has learned and then started heading towards sucess. sucessful person are those who learn through the journey. But ofcourse they should have stubborn dedication to attain it.Hope to prove it by action inshallah.

i agree with Arjunkumar Shastry.

thanks again Srikanth Raghavan for your words.

i have attained exposure to software market ,devloped huge professional network in my past years which i would have not got if i was placed after graduation in an MNC. All praise to allmighty. fine right now i am working on webportals and updating my stuff with current technologys in market. I am thinking of demanding job in MNC after tough hard work for 3 months inshallah(if allmighty wills). But Hope to get laptop for it inshallah.

best regards
riyazudeen.scjp 1.4.
13 years ago
oh my god i see no one responding.what happened. dear all ther kindly do respond. thank you.
13 years ago
hye all. can you please give me the difference between the scjp 1.4 and scjp 1.5. Being an scjp 1.4 holder is it necessary to take 1.5 exam also.

Thanks in advance
riyazueen.
riyaz from bangalore,India regarding starting my own Job,J2ee,do kindly reply.

Hye Respected Brothers and Sisters, Iam a Engineering graduate, Sun certified Java Programmer.

After getting unsatisfied and tired of hunting job , i want to start my own job earning money in J2ee world. I have cleared many interviews but i was not responded properly , dragged for response. I had hard two and half years from my graduation. Hope these are the indication from allmighty to start my own software buisness. I am thinking of buying laptop and internet connection and start doing J2ee projects for websites in market like Sourceforge.net, topcoder.com. Continued by it i would start building websites for Buisness clients. Coupled with the above i would update with the latest trend in market. So dear all, kindly do sugest me how to proceed. Objections along with sollutions would be most appretiable.

Thanks In Advance.

Riyazudeen.S
[ January 10, 2007: Message edited by: riyaz udeen ]
13 years ago
thanks nicolas for your instant response. i am trying to contact the person who has installed oracle in mean time can you please help me out regarding :

I need what are the things to be filled in the place of '?' for mysql 4.1, oracle 9i,9.0,8i.

Class.forName("???");
DriverManager.getConnection("???");

moreover there are connector.jar files for oracle and mysql. so where we have to place them under which directory.

Thanks in advance.
13 years ago
hye everybody, i want to know
1.how to start oracle database server in windows platform.
2. what has to be typed in under sql plus prompt - username: ??, password:??, host string: ??? .
3.how can i know the version of the oracle installed in my machine.

thanks in advance
13 years ago
Dear brothers and sisters , i want to know how to use jdbc with mySQL 4.1 and oracle 9i,9.0,8. I need what are the things to be filled in the place of '?' for mysql 4.1, oracle 9i,9.0,8i.

Class.forName("???");
DriverManager.getConnection("???");

moreover there are connector.jar files for oracle and mysql. so where we have to place them under which directory.

Thanks in advance.
hye...

when more than millions of users try to acess the same web page..how the servlet instance would be produced instantly (million copies) . according to the instance concept the users may experience difference in time take n to acess some thing in the website or there is a chance of web server getting overloaded..??

how these things could be possible without clustering. does tomcat 5.5.9 supports clustering?
13 years ago
hye everyone.i need documentation for web tool platform eclipse 3.2.1 or 3.2.
If its an pdf it would be usefull. but in the site its an html file. can anyone tell me how to download the html (bulk ) file or where to get pdf file for the above. Thank you.

with best regards
hye everyone. kindly provide me teh stuff explaining how we can control the multiple users acessing the web application . is that concerned with container or anything else. if so container how it manages pooling.
13 years ago
hye everyone.
kindly provide me the stuff required for explainh the need of framework in developing web application.thank you.
13 years ago