This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

EJB for OCPJWSD 6.0.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should know how different types of EJBs (Stateless and Singleton) are exposed as SOAP / RESTful web services.
 
Ranch Hand
Posts: 1756
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 1756
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Creator of Enthuware JWS+ V6
Posts: 3293
297
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!