sachin jauhari

Greenhorn
+ Follow
since Jul 14, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sachin jauhari

I am confused about taking SCBCD exam for EBB 2.0.

With EJB 3.0 already out and also Hibernate + Springs being
preferred in place of EJB's

Would this SCBCD exam for EJB 2.0 add weight to my resume.
I am planning to appear for SCJBCD exam ( EJB 2.1).
But i doubt if this certification will add weightage
to my Resume.
B'cos EJB 3.0 is already being out and also Spring + Hibernate
being preferred in place of EJB's.

Can some one clarify my doubts.

Will this certification help me.
Do we any Java API from SUN for BarCode generation.
Though i have foung free barcode generation code, but
looking for API from SUN.
19 years ago
Can any one explain the difference between TxDataSource and a DataSource ?
19 years ago
class Species() {}
class Animal extends Species(){}

Now the relationship is of type IS-A

Animal IS-A Species
public class Species { }
public class Animal {private Species species}

What type of relationship is between Species & Animal,IS -A or HAS-A ?
Ok. But does it give "String Version" as output is i replace
StringBuffer with Object

[ July 21, 2005: Message edited by: Barry Gaunt ]
thanks . I was able to debug ANT acript with eclipse 3.1
19 years ago
Do we any tool for debugging ant script which i can integrate with
eclipse.
If so pls provide the link.
19 years ago
This solution did not work out. Still getting the same problem on refresh.
19 years ago
When we do a refresh on a jsp page,
the same struts action gets called again and the record
is saved more than ones in the database.
How can i handle this.
I do not want to disable the browser history.
Do we have any other solution for this.
19 years ago
Why the Value of Integer.MIN_VALUE & -Integer.MIN_VALUE are same.
19 years ago
Why does the following give compilation error at line 1.
Class B extends Class A which is in a different package.

//in file A.java
package p1;
public class A
{
protected int i = 10;
public int getI() { return i; }
}

//in file B.java
package p2;
import p1.*;
public class B extends p1.A
{
public void process(A a)
{
a.i = a.i*2; // line 1
}
public static void main(String[] args)
{
A a = new B();
B b = new B();
b.process(a);
System.out.println(a.getI());
}
}
19 years ago
public static void main(String[] args) {

int i=0 , j;
i = i++;
j = i++;
System.out.print( i + " " + j );

}

Output is : 1 0

I could not understand the reason for this output
20 years ago