Vijay keshava

Ranch Hand
+ Follow
since Jul 05, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vijay keshava

I have uploaded through pearsonvue last month and I was not required to submit the assignment via email.
Got the following email from oracle regarding grading of SCEA assignment...thought would help others anxiously awaiting results....nice of them to keep us proactively updated...
One important update is that those who submitted before 27th Aug will be given 30 days to resubmit the assignment in case they fail the first attempt...read on for details...

"Due to high volumes and technical resource constraints, the delay in getting assignments graded has been extended. We sincerely apologize for this delay.

We understand that for some candidates, the delay has been excessive. Please know that we are working diligently to get these assignments graded and get your results back to you as quickly as possible. We realize that there is concern about the upcoming training requirement for the Java Enterprise Architect and Java Developer certifications and how it will affect candidates who have already submitted assignments but have not yet received their scores. Will these candidates be required to complete training? The answer is no in most cases. Please review the scenarios below to find out if you will be required to complete training. If you have any additional questions, please contact [email protected].

If you are notified of a passing score on your assignment and essay after September 30, 2011, you will receive your certification without being required to complete training if the conditions below have been met:

submitted your assignment and completed your essay by September 30, 2011
passed the Java EE 5 Enterprise Architect Certified Master Exam by September 30, 2011 (for OCMJEA candidates only)

**Candidates who do not submit all requirements on or before September 30, 2011 will be required to complete training in order to become certified.

If you are notified of a failing score on your assignment and essay after September 30, 2011, you will have the opportunity to receive your certification without being required to complete training if the conditions below have been met:

submitted your assignment and completed your essay by August 27, 2011
passed the Java EE 5 Enterprise Architect Certified Master Exam by September 30, 2011 (for OCMJEA candidates only)
resubmit the assignment within 30 days of receiving your failing score
pass the 2nd attempt


**Candidates who did not submit both assignment and essay by August 27, 2011 will not be considered for this exception. This policy was outlined in the announcement posted on the Oracle Certification website.”

Regards,
Oracle Certification Program
D would have been correct, if instead of List<String> myList = new ArrayList<String>(); we had List myList = new ArrayList(); Generics were introduced only in java 1.5. The question is tricky, since you are focusing on assertion, but the catch is with usage of generics
pacakge xcom also means that the fully qualified class name is xcom.C. When executing a program java looks for the fully qualified class name from the entries mentioned in the CLASSPATH. Hence the root folder of the package name should be in the CLASSPATH, which in this example is foo/test. This is what is specified in the language - the rules of language.

Let us say that java would have allowed you to execute class C from directory xcom. Let us assume that there is class xtest.Z that class C refers to. Now you are in directory xcom. Where should java search for class Z? Also what entries should the CLASSPATH now have? Think about an application having multiple packages and multiple files...

Would it not be simpler if all the commands executed from the root directory?

1.A reference variable can be of only one type , and once declared,that type can never be changed.

-- Dog d = new Dog(). Here d is the reference variable. d can be only of one type (Dog), it cannot be of type Dog and Cat and it cannot be changed from Dog to Cat any time. You can declare another reference variable say Cat d = new Cat(), in some other scope, but this is a different reference variable, even though the name is same.

2.A reference is a variable,so it can be reassigned to other objects.

Dog d1 = new Dog()
Dog d2 = new Dog();
d1 = d2 (A reference is a variable,so it can be reassigned to other objects.)

Remember the reassignment can be only to other objects of the same type (Same class or subclass)


Regards,
Vijay
Hi Peter,

Please note that the A and B have a package declaration xcom. We need to take that into account. In case A and B did not have the package declartion xcom then B could have been correct.

Regards,
Vijay
From Why Use JPA or ORM?

Reasons for ORM

*Leverages large persistence library to avoid developing solutions to problems that others have already solved.
*Avoids low level JDBC and SQL code.
*Leverages object oriented programming and object model usage.
*Provides database and schema independence.
*Most ORM products are free and open source.
*Many enterprise corporations provide support and services for ORM products.
*Provides high end performance features such as caching and sophisticated database and query optimizations.

Reasons for JPA

*It is a standard and part of EJB3 and JEE.
* Many free and open source products with enterprise level support.
*Portability across application servers and persistence products (avoids vendor lock-in).
*A usable and functional specification.
*Supports both JEE and JSE.

Most of the points above directly/indirectly help improve manageability
In a class diagram panel (use the main panel or create new dummy class diagram) create a dummy package, click on that, now right click and you will see options to Add Diagrams.
I have not taken this exam yet...but here is a link that might help SCJP 1.4 1.5 1.6
B may not be exposed to the user but only C may be exposed...or B may be exposed to certain users and C to certain other users..
This is what is mentioned in Kathys book 1.6 edition -

"other than the addition of the System.Console class and Navigable collections, the Java 5 and Java 6 exams are identical in scope. We recommend that you take the Java 6 exam and not the Java 5 exam, but if you do decide to take the Java 5 exam, this book is still appropriate. The new exam's objectives touch on many of the more commonly used of Java's APIs. The key word here is "touch." The exam's creators intended that passing the exam will demonstrate that the candidate understands the basics of APIs such as those for file I/O and regular expressions".

I have known few ppl who have prepared only for 1.5 and cleared 1.6...but if are aiming for a very high score, probably you should not take a chance.
1. Once method1 is declared in superclass A then how its redeclaration is allowed in subclass B,then what will be use of first declaration although i know about method overriding but what is this ? declaration overriding ?

- I dont see any use of this...but no harm at all...so why should the compiler prevent this?

2. method2 is declared in superclass A and then defined in subclass B then how it's redeclaration in subclass C allowed, whereas it is already declared and even defined in superclass B ?

- Probably someone defining C does not want the implementers to use the implementation in B. Perfectly legal...Don't see any reason why compiler should complain.
I think any approach should be fine...I took the first approach...submitted 4 weeks back...awaiting my results...
If it is a external system (explicitly mentioned in the assignment) then there should be some hints about the system and probably they want you to identify the best approach to interact. For example if it is hinted that the external system is not in the company's n/w (where the SUD will be deployed) then there are certain technologies that may not be suitable and you should not be using them...

If you are positive that you are not given any hints regarding how the interface can be accessed/what format the data would be supplied etc, then in my opinion it should be fine to make an appropriate assumptions, with appropriate justification (keeping in mind the given non-functional requirements and the architectural principles) and proceed. Ensure that you are not over-engineering.

This is just my take...not sure if it helps...but the whole point of the exam is that you, as an architect should be able to take appropriate decisions and justify the same.
Hi Kirti,

Are you saying that the interface details of the external system in your assignment is not specified?

Regards,
Vijay