Piotr Nowicki

Ranch Hand
+ Follow
since Jul 13, 2010
Piotr likes ...
IntelliJ IDE Java Linux
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 Piotr Nowicki

Yeah, unfortunately I don't think I have a liberty to edit the original post :-(

Nevertheless, I don't think it was mentioned but I still do host a free mock exam for the OCEJWCD 6 that can be reached here: http://www.exam.piotrnowicki.com

Hope someone will still find it useful :-)
Hi Himai,

Actually it's been some time since I've written this question but right now it seems that you're right.

Perhaps the idea was to ask about what happens with init-parameters for a servlet A defined in annotations and in DD. Don't know why the "servlet B" part was involved here.
It would make some sense if it would talk about application-wide parameters like context-params, however it's not configurable through annotations (for a good reason).

The bottom line is - yes, I think you're right - the answer a should not be marked as correct.
Congratulations Frits - good job, you really deserved it! :-))

Thanks for sharing the notes - I'm sure the community will be grateful for you notes! :-)

6 years ago
Howdy Ranchers!

Yesterday I've passed Spring 3.0 Core Professional exam. In the fact, it's my first exam which is not pure-Java one :-)

Knowing that there aren't many articles describing the exam itself, its form and the type of questions (well, there is one, great written by Jeanne), I've decided to post my own testimony.

So, if you're interested, visit: http://piotrnowicki.com/2012/07/after-the-spring-core-3-0-exam/

If you have any questions, feel free to ask them!


Great job, and marvelous score - you've earned it :-)

Glad I could be of any help!

Pozdrawiam :-)
7 years ago
Just to add, if you've passed the JSP and Servlets exam, it should be promoted to the Web Component one automatically.
Right now, I can see that there are information about two passed certificates: JSP and Servlets Developer and Web Component developer - both with the same date.
Howdy guys,

Today I've taken the JPA 2.0 exam and successfully passed it with 93%.

My learning process began in September '11. I've read whole "Pro JPA 2.0 Mastering the Java Persistence API" by M. Keith and M. Schincariol and then proceeded to the JPA 2.0 FR specification. I've had some experience with Hibernate (ca. 1,5 year) and was using it quite often. During the reading time I've tried to read and answer to some of the StackOverflow questions. I must say that it was a great practice, as it forced me to reread some of the more difficult part of the specification and confront it with the real-life scenarios.

I've also used the JAVA-KATA website by Andrei Bodnarescu which holds some interesting information.

But, as usual, one of the most important parts of my preparation was the Enthuware's mock exam simulator. I think it's definitely worth its price, it consists of a great number of very high quality questions which reflects topics you're tested on during your exam. Really - read the specification or some book and do some Enthuware mock questions - it'll be definitely enough to pass this exam.

If it comes to the exam itself, there were no surprises. There were only 6 questions on the Criteria API (which was the hardest part for me). A lot of questions about locking and about using Maps. As usual - some of ugly Oracle mistakes like bad line wrapping, additional characters put which would make the code not be compilable or using unexisting annotations (e.g. @ID instead of @Id). Some questions were about EJBs transactionality and L2 cache. There were no questions about advanced L2 Cache like CacheRetrieveMode or any of this stuff.

7 years ago
You're right Paul. Didn't notice that earlier:

http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_894 wrote:
On December 31, 2011, this exam (1Z0-894) is being directly replaced with exam 1Z0-899 Java EE 6 Web Component Developer. Exam 1Z0-894 may be taken through December 31, 2011. Beginning on December 13, 2011, candidates may register for exam 1Z0-899 for appointment dates after December 31, 2011.

Howdy Ranchers,

Just bumped into the following information:

http://blogs.oracle.com/certification/entry/0663 wrote:
Oracle Certification announces the release of the new "Oracle Certified Expert (OCE): Java EE 6 Web Component Developer" certification. This certification is for experienced developers of Java technology applications with the knowledge and skills to quickly build web applications suited to any Java EE 6 application server using JSP and servlet technologies.

Earning this new OCE certification requires passing a single exam - 1Z0-899 / "Java EE 6 Web Component Developer Certified Expert", as well as holding an existing Oracle Certified Professional (OCP) - Java SE 5 or SE 6 Programmer or Sun Certified Java Programmer (any edition).

Exam appointments are available now to take the "Java EE 6 Web Component Developer Certified Expert" exam at Pearson VUE testing centers worldwide. Visit pearsonvue.com/oracle and register for exam 1Z0-899.

Full preparation details are available on the Oracle Certification website, including all exam objectives, number of questions, time allotments and pricing.

Can't find out what are the differences between the "new Java EE 6 SCWCD" and Java EE 6 OCE JSP & Servlets exam. Any ideas what this exam is for? :-)

And how will you instantiate that singleton initializer?
Well, as far as I remember in EJB 3.0 there was no @Startup & @Singleton and the only way to achieve such functionality is rather cumbersome - create a ServletContextInitializer which used the EJB - therefore you was sure that it's instance is created. There are a lot of drawbacks of such approach - it requires to use web component, you're dependent on this web component initialization and the last one - it just feels wrong :-)

I am not aware of any other ways of achieving such result in EJB 3.0.

One more thing - I don't remember but was the @PostConstruct annotation available in EJB 3.0? Though you might want to use it if you could do the initialization for each instance, not for whole EJB.

Is there any possibility to refactor this lookup logic to move it from the static block? I.e. use @Singleton initializer bean with @Startup?

Paul Anilprem wrote:
Only a few? ;)

Yeah, you've nailed it. It's a great shame that in the production version of exams you can still bump into mistakes, misspellings or disambiguation...

I also remember the error Tomasz is talking about (primitive used in generics).

Oh and by the way - gratulacje Tomasz! :-)