This week's book giveaway is in the Functional programming forum.
We're giving away four copies of A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles and have Ben Weidig on-line!
See this thread for details.

Chaitanya Vivek

Ranch Hand
+ Follow
since May 17, 2006
Merit badge: grant badges
For More
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 Chaitanya Vivek

Can soem let me know how to include our own coding standards into Checklipse.

I mean I would liek to know how to write my own default_checks.xml file.

Thanks in Advance
Chaitanya
Hi

Can any rancher let me know the most common way to read from properties file. i.e from someFileName.PROPERTIES file.

Thanks
Chaitanya
15 years ago
Hi

Can any rancher let me know the most common way to read from properties file. i.e from someFileName.PROPERTIES file.

Thanks
Chaitanya
15 years ago
Also Thanks to Jan.

The link you pointed is very very informative.

Though I haven't used it now for my small example, I bookmarked the link because the content it has is very rich.

Once again, thanks for such a wonderful article.

Regards
Chaitanya
Hurrah!

I connected to Oracle and fetched data from EMP table.

Thanks for everyone who replied to my queries.

rgds
chaitanya
Where is this class: new oracle.jdbc.OracleDriver()

I mean- which jar should we include.

Thanks
Chaitanya
Hi I am new to JDBC. I am trying to connect to oracle database using JDBC.

what should be the first argumen to the following getConnection method?

Connection con = DriverManager.getConnection( "WHAT IS THIS", "username", "password" );


and how should the first argument be determined.

Please let me know.

thanks
chaitanya
Why the following code dont give compiler error because we are not fetching the return value.

class Temp { }

public class WeirdStringTest
{
public static void main(String args[])
{

WeirdStringTest obj= new WeirdStringTest();

obj.add();

}


public Temp add()
{
return new Temp();
}
}
I am telling, if i say

[1]

String x,y,z;

x= "abc";
y="def"
z=x+y;

I will end up creating 3 string *objects* [ pls correct if it is wrong ] namely "abc" , "def", abcdef" in "String Pool".

Am I right?

[2] "String Pool" contains String *objects* right? or String *literals*?

Please validate my understanding.

thanks
chaitanya
public class WeirdStringTest
{
public static void main(String args[])
{

WeirdStringTest obj= new WeirdStringTest();

obj.add("def");

}


public String add(String temp)
{
return "abc";
}
}
Hi Gaurav

thanks for the reply.

actually i used a wrong SOP so i printed the saem key again and confused.

now i used a keySet and got my job done.

rgds
chaitanya
Hello there

Can someone please let me know how to remove duplicate (key,value) pairs from a Hashmap.

Thanks in Advance
Chaitanya
In the first chapter of HFSJ, i saw comparision b/w CGI and Servlets

and now I wondered to see javaranch.com is based on CGI!
Also init() method gives the servlet access to the ServletConfig and ServletContext objects, which the servlet needs to get info abt the servlet config and the web app.

thanks for the reply!