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

Christiaan Thamm

Ranch Hand
+ Follow
since May 29, 2012
Christiaan likes ...
IntelliJ IDE Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 Christiaan Thamm

Hi guys

I have a question about the requirement to list the top 3 risks and mitigation strategies for those risks. Are these risks that you have identified and already dealt with in your design, or are they risks that exist despite your design? So will I answer I identified that there is this risk so i introduced this component, or will it go since i did this there is this risk that this will happen and if that happens it can be dealt with like so and so?

Thanks
Hi guys

Im probably asking something stupid, but i just want to make sure i follow the requirements. The requirements state that the diagrams must be HTML Only. I have visio, when i save a diagram as html it saves it with a whole bunch of files. HTMLs, Gifs, JSs, XMLs etc. It obviously just to draw their diagrams and create some links... Is this fine? Anybody follow an approach like this?

If not, which tool should i use?

Thanks

Harshit Patel wrote:Congratulations Christiaan!!! Did you give the Java EE 5 or Java EE 6 version?



The EE6 Version
Hi guys

Thought i would give some input on my experience with the exam and the study materials.

First of all, the test is difficult. I personally don't think its the right kind of difficult, its difficult because every question has multiple possible correct answers. If you were to go into the world and ask some senior architects some of these questions im 100% sure you would get different answers. Some of the questions content I googled after the test, and i could not find any reference to written materials with the same options as the test. Sure, its supposed to be something you know from experience, only lots of these things i don't believe to be clear cut at all. There is really 2 answers that could be right. There was even one question about the tiers where i was not sure if they were asking what advantage was achieved by increasing the tiers or which NFR would suffer because of it. The question was just phrased in such a way that i was not sure what they were asking. To me thats kinda stupid, what are you really testing here.

Anyways, back to the point. With all respect to the various authors of tests and books. I mainly used the Bambara/Allen study guide. So, the book is not bad as a stand alone book on Java EE. But its not good as a study guide. Again, i saw some questions in the test, and i knew for a fact that this was not covered in the book. There was a question on Logging best practices, where none of the options were even discussed in the book. Like they discuss donkeys and elephants as best practices but in the test your options are apples and pears. I found this quite often, logging is just the thing i can remember now. As i read though the book i knew almost everything discussed, but when the test came i was like wtf is this I didnt see anything on this in the book. I dont even know what to recommend as a study guide so as things go this book probably isnt a bad choice. But its not nearly enough, not by a long-shot. I went through all the various exam notes as recommened by others as well, like Mikalai Zaikins notes etc.

In terms of practice tests i usually go with Enthuware but since they dont have this test i went with EzPractice Labs. I absolutely hate these guys. Ive used them before. The study material is a joke, there are lots of mistakes. The tool is crap. i can go on and on. Sometimes in the 'explanation' of an answer they just repeat the answer. Stuff like this. Im pretty sure that people on here that recommend them must work for them, because for me theres lots of work required there before i would ever recommend it.

My best suggestion is do every possible practice test you can get your hands on. Dont buy all of them, there's lots of free ones. Google the test code along with practice tests or something.

Without going into details, some topics that threw me off a bit:

- Make sure you know the advantages/disadvantages of going from 2 tier to 3 tier in-depth. I Think i had like 3 questions on this. And again, this is a topic where every study material you read has different answers. So good luck with figuring out what Oracle thinks is the right answer.
- Understand the messaging modes of "at-most-once"/"once-and-only-once" in JMS. This wasnt in my study material, was a wtf moment. Think i got the question right though, was just unexpected.
- Understand the advantages/disadvantages and differences of JSPs vs JSF.
- Possible disadvantages of JPA where the options werent really in the study materials

Option C seems wrong to me. Since the question specifically asks about message level security. The statement is not wrong, but its wrong in the context of the question. That leads me to believe D is right? If you interpret it as "You dont need a extra dedicated API because your message level security can secure attachments as well" it kinda makes sense?

What do you guys think?
I respectfully disagree. How is "JPA may be able to model every table as a class." a risk? Read it again, "may be able to". Its not "it has to" or "there is no other way", its it may be able to.

The question is not as you say "if the tech would offer benefits", the question is why could JPA be a risk. Theres a big difference, and in that regard option B makes no sense. I dont need to read introductory material to JPA as
you so condescendingly suggested, i work with it every day and i got 97% on the certification a few months back

Allow me to quote for you what comes directly out of the exam guide by oracle press:

The drawbacks of JPA include the following:
- There is potential for sub-optimal performance. The generated SQL statements may not perform as needed because of the data store design and implementation.
- If the existing implementation in not using JPA and you need to extend functionality in a minor way, a rewrite of the entire tier to use JPA is typically not permitted or justified
- If the underlying persistence layer is not supported sufficiently by the JPA implementation. This occurs mostly when the persistence layer is not one of the major relational databases.

Thats why is said i believe the answer is A or C, just not sure which one
4 years ago

Henry Freedman wrote:Hello there,

For JPA question:
A. Although JPA does not work with non-relational data models, the team uses SQL, so it is no risk in this case.
B. There are tables which maintain only relationships, those can not be mapped as a class but as relation @OneToMany or @ManyToMany.
C. JPA generates queries that could require SQL tuning but not *extensive SQL tuning*.
D. Read only queries can run with no transaction and can work in JSE.
E. Obviously wrong



In my mind its either A or C. I say A because in the Enterprise Architect Exam guide it says there could be problem if "the underlying persistence layer is not on the major relational databases". The question states that its a legacy database, so thats possible.
C because possbile poor performance due to the extra layer is a very real drawback of JPA.

As with most of these questions im not 100% sure whats the correct answer!
4 years ago
Sorry about that and thanks for the reply
4 years ago
Is ensuring that the session cookie is sent only on HTTPS Connections a good approach to protecting websites from cross site scripting attacks and why?

My understanding it that the protection mostly resolves around escaping dodgy characters and input validation

Thanks
I dont understand how the Observer Pattern would be used here? The obverser pattern is a publish-subscribe pattern, how will that be used to monitor?

Henry Freedman wrote:Hello there,

For JPA question:
A. Although JPA does not work with non-relational data models, the team uses SQL, so it is no risk in this case.
B. There are tables which maintain only relationships, those can not be mapped as a class but as relation @OneToMany or @ManyToMany.
C. JPA generates queries that could require SQL tuning but not *extensive SQL tuning*.
D. Read only queries can run with no transaction and can work in JSE.
E. Obviously wrong

In conclusion, B. is correct answer.

For the JSON question:
A. OK option.
B. same as A. but saves waiting time if a lot of contents is loaded before hand. It is a requirement "Fast response times are also critical". As it is online shop, the available stocks information is important, so information about stocks can be bulk-loading and information about availability can be loaded live with JSONP.
C. not an option
D. wrong, you already explained why.

In conclusion, B. is correct answer.

For "You are the operations architect for a large online retailer. During peak times, your set of ..." question. The Observer pattern is correct, as Thread Tracker is about tracing in log file when one names a thread.

For Marketplaces question, the Demo answer is correct. One provides information about a resource which is valid for any requesting user. All marktplaces users means a choice of generally available protocol, i.e., HTTP (as not all users afford implementing SOAP clients and with HTTP, they can just use a browser) and for security, we make it HTTPS.

Good luck!

4 years ago
Hi guys

I saw something about a Two Tier Web-Centric Architecture in something i read while studying. Is there such a thing, what is this?. My understanding is that two tier is fat clients, and by definition not Web-Centric?

Thanks
Hi guys

After my tests I usually write an experiences post, i find these very helpful when i start studying for something new

The test was good, my best to date, 98%. In contrast to the web services test i wrote previously the questions were pretty much exactly what i expected. There weren't all that many questions on the queries, but don't skip it! I do think i probably spent too much time on in-depth Criteria Queries, the API is balls and not easy to understand at first.

Books: I used Pro JPA2, really great book. And it made me win a 'merge' argument in the office I also used the actual spec. I have about a years experience using hibernate in a corporate environment, so im already familiar with database structures and SQL queries etc. I you want to write this test without this knowledge i would recommend something else to sharpen those skills. The book and the spec doesn't really explain these concepts on a beginner level, and to be able to fully understand the Criteria and JPQL query questions you must be fairly comfortable with SQL queries.

Practice Tests: I don't even care if one of their sales reps sees this and tries to argue with me, the EZ Practice labs tests are sh1t. Plain and simple. I think people recommending it must be employees in the company, because i don't know how anyone could. I'm also pretty sure that the people who wrote it think Java is a cup of coffee. If you are reading this EZ Labs, get a real professional to go over your answers and correct them, because its an embarrassment, and i was pretty upset that i spent 50 Bucks on it. Youve got the platform, just fix your questions. Lots of them are plain wrong. There are multiple duplicates in the practice exams also.
As always i would recommend Enthuware. Great tests. My best recommendation is to use these tests to check what you dont understand properly, and then hit the book and the spec to get it down, because chances are you're getting a variant of that question on the exam. I was pretty upset to see that you guys dont have the EE6 Architect Exam, so please do one!

Sweet
I just want to raise this. The JPA OCE Training lab is really really bad quality. Like the post above some answers are just plain wrong. Explanations are crap. In the question im looking at now the answers are mentioning tables that dont even appear on the question. I bought this for the Web Services exam and experienced the same thing, but i though maybe it would be better. Its not. Dont buy this program, use Enthuware. period.
The worst thing about this exam is the lack of resources.. Youre exactly right, the OCPJP is challenging but theres so many resources, you cant really go wrong. For the web services exam you have to go and find the resources based on petty HIGH level requirements. It was quite frustrating. I studied about 3 months, with probably about 10 hours a week. But, ive done so many of these things it definately helped. As an example, there are actually quite a few topics/questions on the exam that deal with the web component web.xml, which you study in the web component exam. Theres also a few questions on EJB security/transactions/deployment descriptors that you study in the EJB exam. Granted, these questions arent very low level, but ive already knew this content since i did EJB 3 months ago and before that i did the Web one.

It is possible if you really put in the hours. But, if youre planning to do the other certs anyway, i would rather do it that way round!

Some more info on my study material:

1) Ethuware tests
2) EZpractice labs tests and 'study material'
3) I started reading Java Web Services up and running, everyone recommends it. But in my early stages of studying i didnt find it at all helpful to a newb.
4) Oracle has a pretty good tutorial section on SAAJ
5) The WS spec
6) MZs notes
7) Googling topics i still didnt understand after going through all the above

I ended up getting 80%, but im sure half of that were lucky guesses I pulled my hair out in the test. For most of my other tests i got 90 something

Haha, so dont use my post as an excuse to not do it! Use it as an excuse to study twice as hard as you would have!!

Good luck, let me know what happens
This isnt really advice, maybe more of a warning. This test is MUCH more difficult that the others. Ive done most of them, just JPA outstanding, and this test is in a league of its own. Make sure you know web services design stuff, like what technologies to use in a specific situation. Also you must know the low level SOAP services pretty well.

EZPratice labs study material and tests: These are really bad. really. The study material doesnt explain anything, they just copied some content somewhere from the middle of some spec. The the questions they ask on the section has content that have absolutely nothing to do with what you just went through. In the mock tests there are duplicate questions, sometimes right after each other. Overall really bad test pack. But, i cant really say dont buy it. There were about 3 questions in the exam where i specifically recognized the similar question from the pack, which obviously helped

Enthuware: Ive always been a fan of enthuware. But dont solely rely on this. There were lots of question on the exam where i went WTF. Study hard, study specs and websites as much as you can

Cool