Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Shiva.Om Kumar

Ranch Hand
+ Follow
since Jun 14, 2010
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shiva.Om Kumar

Kumar Raja wrote:Kaur,

I'm not sure, if you would be let to sit for certification, without taking the mandatory class room training. But if you wish to read something on enterprise architecture, the book which you referred is good. But just to add, to become an architect, you do not need a certification (certifications do add value to resume, but not necessary). All you need is think like an architect. Long time ago, I read a post by one of the ranchers here, but unfortunately do not recollect it.

I disagree slightly on this... taking a certification is not just adding value to resume...
and preparing for certificate is a good step towards having confidence on that subject... one needs to spend time on those topics and take much more precaution & study, compare to otherwise.
Having said that I agree to be an acrh., certification is not required.... but with 6-7 yrs. experience as developer / TL - preparing for certification is way on desired path set by market & technology leaders.

For taking
Part I - one gets result after the test (even without training)
Part II - one can download (even without training)
Part II upload & Part III (easy) - One can do it (even without training)

But I am not sure if uploaded assignment is examined by Oracle without training ....
Case 1 - assignment examined - pass or fail grade
Case 2 - assignment not checked until training proof is sumitted

Can some share what's followed : Case 1 or Case 2 ???

Certification/badge (not at all without training)

khushal malik wrote:Hi All,

I have a question about the new mandatory course attendance. At which stage do I need to take the mandatory course? I mean can I do the SCEA part 1 first and during the course of submitting Part 2 and Part 3, I can take up the Mandatory course.


It has to be the first thing as the certification details on the website mentions it as the first step.



you can attend value addition training anytime, even after finishing part 3 but before submission of part 3.
I am working on a project which is quite old. But as usual, JDK is already upgraded to JDK 6.

Application works good and there are no big issues. But periodical enhancements are on.
Can you please suggests if it is good to spend time on replacing existing data-structure code with generics?

8 years ago
Thank you all,

I believe I got the idea, unchecked exceptions can be prevented like NullpointerE (by checking if object reference is null or not) & NumberformatException (validating user input before conversion)

But SQLE can't be prevented in some cases.

thank you very much for helping me.....
8 years ago

Ninad Kulkarni wrote:If code is behaving unexpectedly we can identify root cause of problem by using exception.
Handling of Checked as well as Unchecked exceptions are totally depends on design.

Can you please share example or a case where using checked or unchecked exception matters?
Why SQLE is mandatory to catch or throws - process may / may not encounter exception
Why NFE is not mandatory to catch or throws - process may / may not encounter exception

8 years ago

Winston Gutkowski wrote:

Shiva.Om Kumar wrote:To prevent NFE, if I am having catch for it then I would do same for SQL handling too, why Java has mandatory to catch it?

It doesn't. It just requires that if you don't catch it, the method declares that it might be thrown.

However, it tends to suggest that it might not be a bad idea to use a try...catch block. Do you have any particular objection to them?


I don't have any objection...
I intend to understand why for one kind of Exception (SQLE) one need to (mandatory) catch or use throws
but for other (NFE) one can code without using catch / throws
8 years ago

Paul Clapham wrote:

Paul Clapham wrote:Because the people who designed the language decided it would be a good idea.

Seriously, that's the answer to pretty much every question of the form "Why does feature X exist (or fail to exist) in Java?" The designers didn't publish a detailed architectural document explaining why they made the decisions they made. However, if you want to discuss why it might be a good idea, or a bad idea, or you want to ask a question about how it works, then do go ahead and ask such a question.

Thanks for replying & guiding on this issue.

Earlier I didn't intend to raise why such feature is there (or not).

My intention is to understand the reason for having two separate kind of Exceptions;
is there any benefit of one kind over other?
SQLException may or may not occur but we (are forced to) catch
NumberformateException may or may not occur on conversion of user input (not forced)

(again repetitive question sorry)... :rolleyes:
8 years ago
There are two kind of Exceptions:

1. Checked - must be catch (or throw) and extended from Exception .e.g. SQLException
2. Unchecked - not mandatory to catch at compile time and extended from RuntimeException .e.g. NumberformatException

If I am writing a code & I suspect a NumberformatException, then I will have a catch block for NFE
If I am executing a SQL & I (mandatory) need to have catch SQLException

Why we have two kind of Exceptions (checked & unchecked); in both cases above, if I wish to handle both kind of Exceptions, I need a catch blocks.
Why don't we have just (only) unchecked exceptions? To prevent NFE, if I am having catch for it then I would do same for SQL handling too, why Java has mandatory to catch it?

8 years ago

Roel De Nijs wrote:

Shiva.Om Kumar wrote:My question is if I take training in India, come back & appear for exam in USA, is that acceptable or for taking exam in USA one needs to take training in USA....
any news on such issue?

I don't think there is a requirement that you should follow the course in the country you take the exam, because you can also opt for an instructor-led online class. But if you want to know for sure, just ask Oracle (and let us know ).

thank you for replying.
Where can I find info (fees) for instructor-led online class?

vishal mehta wrote:In few countries the cost of Instructor led courses are just fraction of price quoted for UK or US. Trying to find out how will oracle will know that I have done the course?
Oracle is not asking about VUE ID at the time of booking he course on their website.

I am working in USA where cost is $4000 & cost at my native India cost is Rs46700 (approx $1000).
even if I add return air ticket appox $1300, I could save approx $1700 & meet my parents also.

My question is if I take training in India, come back & appear for exam in USA, is that acceptable or for taking exam in USA one needs to take training in USA....
any news on such issue?

Chirath Uralagamage wrote:I am using windows 7. I don't know whether it is a problem of the OS or not. But I'm quite sure that my codes are correct. The destinations are also correct. The source file is also in the picture attached.

Thanks in advance mates

Same code what you have in first post. No Change......

Now try following....


C:\>java A

Check out the reason below....

C:\>dir *.java
09/20/2011 10:45 AM 265

C:\>dir *.class
09/20/2011 10:55 AM 552 A.class

Hope it would be helpful...