Win a copy of AWS Security this week in the Cloud/Virtualization 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Stateful web service on the exam?

 
Ranch Foreman
Posts: 1905
13
  • 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.
 
Creator of Enthuware JWS+ V6
Posts: 3346
303
Android Eclipse IDE Chrome
  • 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
 
Ranch Hand
Posts: 112
Eclipse IDE Spring Java
  • 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
Posts: 3346
303
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct, only a Stateless EJB or a Singleton EJB can implement a WS.
 
You can't have everything. Where would you put it?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic