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 Stateful web service on the exam? 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 "Stateful web service on the exam?" Watch "Stateful web service on the exam?" New topic
Author

Stateful web service on the exam?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 758
Hi, is there any stateful web services (@HttpSessionScope , @Stateful, HttpSession....) on the version 6 exam? It is covered in MZ's notes version 5 and Ivan's notes.
But in the version 6 exam objective, I don't see any topic related to that.
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1675
    
  25

There are a lot of things not on the exam topics but still covered in the real exam. Just learn how to create a stateful jax-ws and jax-rs web service for the exam (and then forget about stateful web-services). Don't forget about the property you have to set in a Jax-ws client to enable maintain a session on the server side.

Regards,
Frits
Souvik Dasgupta
Ranch Hand

Joined: Sep 24, 2009
Posts: 79


Himai/Frits,

Can we at all create stateful EJB implementing webservices?It looks impossible to. I think we can only have these:

1. Stateless EJB implementing WS
2. Singleton EJB implementing WS

Can anyone please confirm?

Thanks and Regards, Souvik
SCJP, SCWCD, OCEJWSD
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1675
    
  25

Correct, only a Stateless EJB or a Singleton EJB can implement a WS.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful web service on the exam?