File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes EJB for OCPJWSD 6.0. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "EJB for OCPJWSD 6.0." Watch "EJB for OCPJWSD 6.0." New topic
Author

EJB for OCPJWSD 6.0.

ketan gote
Greenhorn

Joined: Oct 05, 2008
Posts: 2
Hi


I am planning to give OCPJWSD 6.0. I have worked on web-service but have not much exposure to EJB, do i need to study first EJB.
If i don't know EJB should i try for OCPJWSD 5.0.

SCJP 1.4 72%<br />SCWCD5 89%
Sujeeth Pakala
Ranch Hand

Joined: Mar 24, 2009
Posts: 94
You should know how different types of EJBs (Stateless and Singleton) are exposed as SOAP / RESTful web services.


Regards, Sujeeth Pakala
SCJP, SCWCD, SCBCD, ICAD, XML Master Basic, Certified SOA Professional
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 734
Sujeeth,
In Java Up and Running book, it introduced @Entity. And MZ's note mentions very little about @Singleton.
All I can do is to google @Entity and @Singleton to learn about them.
Sujeeth Pakala
Ranch Hand

Joined: Mar 24, 2009
Posts: 94
In Java Up and Running book, it introduced @Entity.


Plese tell me which chapter it is mentioned ?

Normally @Entity annotation used in persistence application and they hold the data present in table. It is unsual to expose these objects as web services. Or am I wrong ?
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 734
Sujeeth,
I am reading Chapter 6 of Java Web Service Up and Running. It has an example called FibNum.java. There is an @Entity annotation of this class.
This section teaches us how to deploy the FibNum in an ear file with persistency.xml in GlassFish.
I am still struggling with this example because I ran into oralce.toplink.essentials.database.DerbyPlatform is not found on GlassFish.
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1660
    
  25

Hi All,

Let me get back to the original question
I am planning to give OCPJWSD 6.0. I have worked on web-service but have not much exposure to EJB, do i need to study first EJB.

No, you don't need to, but it will certainly help! A couple of topics from the EJB exam where also covered in the Web services exam. One of the things you learn from there is that you can only expose a Stateless Session Bean or Singleton Session Bean as a web service.

Forget about the @Entity though: this is not needed for the Web services exam (just in the book to make a nice example)

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB for OCPJWSD 6.0.