• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful web service on the exam?

 
Himai Minh
Ranch Hand
Posts: 1294
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Pie
Posts: 2401
92
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2401
92
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct, only a Stateless EJB or a Singleton EJB can implement a WS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic