• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about OCEWSD RESTful webservices topics

 
Jason Wieczorek
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I decided to start studying for my OCEWSD cert. and have started with Java Web Services: Up and Running 2nd Edition. I'm currently in the RESTful chapters (2) and was curious about all the different implementations. I assume the answer is no but do I need to know low level details on each of the below implementations for the exam? I'm currently writing original code for all of them and just wondering if I should spend this much time on implementations I will not need to know (or never use in the real world).

RESTful Implementations
1. JAX-RS (Jersey)
2. JAX-WS (metro)
3. Restlet
4. HTTPServlet API

Thanks!
 
Dipta P Banerjee
Greenhorn
Posts: 11
Android Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not aware of the OCEWSD question formats,

But if you consider to gain knowledge about REST implementation my suggestion is not to go with the detailed underlying implementation with few exceptions, such as how the underlying platform is handling the XML/JSON mapping to Objects. For example Jersey uses Jackson library to for object marshalling and unmarshalling in case the HTTP payload is of type JSON. You should be aware of this as in some cases this information is useful to design the bean classes.

Though it is completely my personal opinion, but going through the details of the REST standard will be more helpful than going through the details if the underlying implementation of the existing framework as you are not supposed to re-invent the wheel; only if you have plan to develop a new more efficient REST APIs than the existing one.
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you to use Jersey for your REST learning.

NOTE 1: don't bother with proprietary classes, you need to know only what is in JAX-RS specification.

NOTE 2: JAX-WS is NOT a RESTful API, it's separate API for SOAP based web services. You need to know it too.
 
Himai Minh
Ranch Hand
Posts: 1360
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jason Wieczorek wrote:
RESTful Implementations
1. JAX-RS (Jersey)
2. JAX-WS (metro)
3. Restlet
4. HTTPServlet API

Restlet and HTTPServlet API were not on the exam. Focus more on JAX-WS. For details, read MZ's notes as a guide. For Jersey, focus on chapter 1-5 should be good enough.
Read Bill Burke's Restful Java with JAX-RS for reference even though it uses RestEasy.
In the exam, the questions about JAX-RS are pretty straightforward.
 
Jason Wieczorek
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replies everyone. I'm glad to know that HTTPServlet and Restlet is not on the exam, just one less thing to study . Current plan is to finish reading through Java Webservices: Up and Running, and then I will start with ZM's notes. I'm shooting to get my certification by the end of this year, will keep you all posted. Thanks!
 
Himai Minh
Ranch Hand
Posts: 1360
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MZ's notes version 5 and 6 are helpful. You can email MZ for his mock tests.
Also, Ivan's notes is a must read : http://www.coderanch.com/how-to/content/Exam-Objectives-5.pdf
I highly recommend Ethuware and EPractice Lab. They are really helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic