vipin bhatia

Ranch Hand
+ Follow
since Jul 14, 2001
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 vipin bhatia

Eclipse is without any doubt the best IDE man has ever created simply because you can have anything u want
me 2 will binterested in knowing how this book is, it is available in fabmart & many more online stores, also some of my collegues r having it, was wondering how useful it is 4 gthe certification & is there a better book out there which would help prepafre better 4 the exam...
posted March 20, 2002 09:28 AM
hi!
i am a java certified programmer and was thinking of starting my prepration for Java certified Architect but seeing the present market situation where 8 months work experience does not really add values to such certificates i was wondering if it is better to get a certification in TIBCO.
I have had some exposure in TIBCO Portal builder but a vary minimal exposure compared to the size of the product.
I wanted to know any good sites, links, books which could help me learn more about TIBCO portal builder and also which would give the insight into TIBCO certification.
NE material that would help me prepare myself for TIBCO certrification would be of gr8 help. I tried searching in google but nothing seful i could find.
Please help,
THNX in advance.
bfn.
hi!
i am a java certified programmer and was thinking of starting my prepration for Java certified Architect but seeing the present market situation where 8 months work experience does not really add values to such certificates i was wondering if it is better to get a certification in TIBCO.
I have had some exposure in TIBCO Portal builder but a vary minimal exposure compared to the size of the product.
I wanted to know any good sites, links, books which could help me learn more about TIBCO portal builder and also which would give the insight into TIBCO certification.
NE material that would help me prepare myself for TIBCO certrification would be of gr8 help. I tried searching in google but nothing seful i could find.
Please help,
THNX in advance.
bfn.
exactly this is what i was wondering, since i have realized that a good certification is very neccessary 2 have an edge in this competetive market, i was wondering if this is at all the kind of certification that will b of use without actually doing a project on TIBCO Portal builder. i have worked on XML, XSL, javascript, J2ME,J2SE,servlets, BREW,C & was wondering what certification i should go 4 which would not only prove my abilities in these fields but also help me learn more on these topics
TIBCO is the name of the company that has made the TIBCO Portal builder. It is a billion dollar company.
hi!
i am a java certified programmer and was thinking of starting my prepration for Java certified Architect but seeing the present market situation where 8 months work experience does not really add values to such certificates i was wondering if it is better to get a certification in TIBCO.
I have had some exposure in TIBCO Portal builder but a vary minimal exposure compared to the size of the product.
I wanted to know any good sites, links, books which could help me learn more about TIBCO portal builder and also which would give the insight into TIBCO certification.
NE material that would help me prepare myself for TIBCO certrification would be of gr8 help. I tried searching in google but nothing seful i could find.
Please help,
THNX in advance.
bfn.
hi!
i am a java certified programmer and was thinking of starting my prepration for Java certified Architect but seeing the present market situation where 8 months work experience does not really add values to such certificates i was wondering if it is better to get a certification in TIBCO.
I have had some exposure in TIBCO Portal builder but a vary minimal exposure compared to the size of the product.
I wanted to know any good sites, links, books which could help me learn more about TIBCO portal builder and also which would give the insight into TIBCO certification.
NE material that would help me prepare myself for TIBCO certrification would be of gr8 help. I tried searching in google but nothing seful i could find.
Please help,
THNX in advance.
bfn.
There never was & never will be negative marking in jcp, does not seem 2 solve any purpose.

Originally posted by pradnya phatak:
Please let me know that jcp is having negative marking system?



------------------
Sun Certified Programmer for Java2 Platform scored 100%.
equals method takes in a object but will return true only if the input parameter is a float & has the same value as the float object whose equals method is being called i.e
Float f1 = new Float(10.0f);
Float f2 = new Float(10.0f);
Double d1 = new Double(10.0);
f1.equals(f2) returns true,
f1.equals(d1) returns false,
f1==f2 returns false as f1 & f2 point to different objects & == only checks if the two object references refer to same object & does not care to check the value stored int he object being referenced
------------------
Sun Certified Programmer for Java2 Platform scored 100%.
Hi Gururaj,
It did not work with casting also so had 2 modify the code a little
public class OverFlow
{
public static void main(String[] args)
{
int i = 2147483647 + 1;
int j = 127+1;
byte b = (byte) j;
System.out.println(i+" "+j+" "+b);
}
}
results in

-2147483648 128 -128
Tool completed successfully
as expected but byte b = (byte)127+1 gives compiler error.

Originally posted by Shyamsundar Gururaj:
My best guess is ...
In the expression [b]byte b = 127 + 1;
, the right hand side (source) gets upgraded to an int and since the destination is a byte and there is no explicit casting, the compiler flags an error. Try byte b = (byte) (127 + 1); ... It'll work fine.
The second expression is pretty obvious. The source does not fit into the destination.
Coming to the third, expressions are not evaluated at compile time. The compiler just checks whether the source can fit into the destination. It does so in this case and the compiler is satisfied. When the expression is actually evaluated, the integer cup overflows and consequently, the odometer is set to the maximum negative integer, -2147483648.

Hope this helps
Shyam
[This message has been edited by Shyamsundar Gururaj (edited September 13, 2001).][/B]


No it is just like reffering to any static member of a class, for example in
class Temp
{
static i;
}
Here i can be reffered as Temp.i or temp.i where Temp temp = new Temp.

Originally posted by ashok khetan:
hi,
one query---Is it illegal to associate a static class reference with a reference of its enclosing class?( e.g. in the following code)
code:
_____________
public class top {
static class inner {
void show() {
System.out.println("show() in inner");
}
}
public static void main(String []args) {
inner i = new top().new inner();
i.show();
}
}
_____________


Its pretty neat man

Originally posted by Ashish Hareet:
Hi guy's,
I made an Applet on bit shifthing . Plz check it out & let me know. www.geocities.com/gnashes30/bytes
Thanx
Ashish
[This message has been edited by Ashish Hareet (edited September 10, 2001).]


Hi! I tried running the code but it gives following exception.

java.io.InvalidClassException: TransientWriter; IllegalAccessException
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1224)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at K.main(K.java:32)
Exception in thread "main"
Tool completed with exit code 1
In tw.out the transient String is written, the contents of tw.out are ->
�� sr TransientWriter�`Z��X�� xpt Hope I can ever be persistant!x
Why am i getting the exception?


Originally posted by Gagan Indus:
hmmm... i really think tht we CAN get this type of q in exam , coz it seem to test our knowlegde about Object Streams , n transient keyword
( guess if serializable n externlizable are nt [b] expicitly
mentioned , still Object stream include them implicitly , no? LOL )
Just try to remember these things , Object streams can "serialize" n thus write-read only those objects which either implement :
-serializable interface ( Contanins no-method )
-or externlizable interface ( contanis only 2 methods wid sig :
public void writeExternal(ObjectOutput oOut) n public void readExternal(ObjectInput oIn)
And memebers wid modifier "transient" are not serialized even if the object implements serilizable
( the above code-ex serialize transient-memebers by explicitly implementing externalizable's method in such a way , externalizable is meant for this purpose , to overrule the default-functionality provided by seralizable )
this shld be enough i guess
[/B]


import io.*;
class BankAccount
{
private int balance;
boolean flag;
public synchronized int ReadBalance()
{
try{
if(flag)
{
notify();
wait();
}
flag = true;
return balance;
}catch(Exception e)
{
P.l(e);
}
return 0;
}
public synchronized void UpdateBalance(int amount)
{
try
{
if(!flag)
{
notify();
wait();
}
flag = false;
balance += amount;
}
catch(Exception e)
{
P.l(e);
}
}
}
class ReaderThread extends Thread
{
BankAccount a;
ReaderThread (BankAccount a)
{
this.a = a;
}
public void run()
{
while (true)
{
System.out.println("Balance=" + a.ReadBalance());
}//while
}
}//readerThread
class WriterThread extends Thread
{
BankAccount a;
WriterThread (BankAccount a)
{
this.a = a;
}
public void run()
{
while (true)
{
a.UpdateBalance(100);
System.out.println("Updated the Balance by Amount " + 100+ "$");

}//while
}
}//writerThread

public class Bank
{
public static void main(String args[])
{
BankAccount a= new BankAccount();
ReaderThread t1= new ReaderThread (a); //1
WriterThread t2 = new WriterThread (a); //2
t1.start();
t2.start();
}//main
}//bank
this program takes care of ur requirement angila where in the balance will be displayed only after it has been incremented by the other piece of code which the ReaderThread is notifying.
:-)
------------------
Sun Certified Programmer for Java2 Platform scored 100%.