Hari Krishna

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

Recent posts by Hari Krishna



Output:-

static block A
static block B
initialization block A
constructor A
initialization block B
constructor B
Hi Mezan,

For Overloaded Method, there will be change in method signature
But in Overriding Method, there won't be any change.

See the below link you can understand easily:
http://docs.oracle.com/javase/tutorial/java/javaOO/methods.html

Cheers,
Hari krishna
Hi Guys,

At last cleared old version of exam...with 95%...

Regards,
Hari Krishna.
16 years ago
1. on serverside, if a handler's handleResponse() method returns false, it will skip the remaining chain and sends the reply directly to client. Will it skips the server side handler chain only or client side handler chain also?

2. on serverside, if a handler's handleRequest() method throws SOAPFaultException, it will returns back from the current handler and follows the handler chain with handleFault() method. Is this correct?

3. If JAXRException is thrown from any handler it will stops executing handler chain and returns soap fault message to the client directly. Is this correct?

Please clarify me......

Thanks
Krishna
[ October 25, 2008: Message edited by: Hari Krishna ]
Hi,

Please help...
I am facing the same problem..

Thanks & Regards,
Krishna.
Hi,

doStuff() method is inherited. You tried to invoke dostuff() method, not doStuff() method. Java is Case sensitive...

Regards,
Hari Krishna
A small add-on info for the above post..

The Sequence will be like this if we run the above program

Parent Class Static Initializer
Child Class Static Initializer
Parent Class Member Initializer -->1
Parent Class Instance Initializer -->2
Parent Class Constructor
Child Class Instance Initializer -->3
Child Class Member Initializer -->4
Child Class Constructor

But there is no sequence for Member Initializer and Instance Initializer.
They have equal preference therefore JVM executes whichever comes first.

Thank you,
Hari Krishna.
We can assign final variables to any other variables.
But you can't assign any new values to the final variables.
i.e. you can't modify final variables.

In Your case,
You are assigning final variable to other variable. It doesn't tries to change the value of the final variable. That's why you will not get compile time error or run time error..

Thanks,
Hari Krishna.
Hi Niranjan,

HFEJB is a very best place to start..
but for SCBCD we require to study specs also ( we need a little patience here).

Regards,
Hari Krishna.
Hi ranchers,

I completed my SCBCD 1.3 with 92% today..
Thank you each and every one who provided materials..

I prepared the following materials.. It took me 2 months prep..


1.HFEJB
2.SCBCD study guide sanghera
3.Java Black Belt's SCBCD study guide
4.SCBCD developer works tutorial by IBM


Notes:
1.FREDERIC ESNAULT
2.Mikalai Zaikin

and


Specs

Thank you very much...

Regards,
krishna.
[ January 29, 2007: Message edited by: Hari Krishna Grandhi ]
Hi,

For messageBeans

In setMessageDrivenContext() , we can get access to JNDI only
In ejbCreate() and ejbRemove(), we can get UserTransaction Object and accesss to JNDI. But remaining are not possible.
In business methods, we can use CMT methods... getRollbackOnly(), setRollbackOnly() ,BMT methods getUserTransaction(), get access to JNDI,Other beans, resource manager.
As you know.... MessageDriven bean doesn't have home remaining methods are not present in this.

Regards,
Hari Krishna.