• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

exam 406 and deprecated methods

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just wondering if any one can give me clear direction on which methods are considered deprecated for the 406 (Standard Ed) exam? Especially for the HttpSession object - i think getValue(), getValueNames(), putValue() and removeValue() are still valid as opposed to the corresponding get/setAttribute methods. Can anyone confirm? Assuming so since they are the Servlet 2.1 API and the others are 2.2?! Taking the exam on Friday. Thanks.
JG
 
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The test covers JSDK 2.1, so you should be safe (I believe) with the putValue/getValue functions. They didn't introduce API 2.2 support until one of the fixpacks (FP3, I believe), and the test objectives still list 2.1 on them.
I figure it's a good thing to know, but not something I'd stress over.
Good luck on Friday!
------------------
Theodore Jonathan Casser
Sun Certified Programmer for the Java2 Platform
IBM Certified Specialist - WebSphere Application Server, Std. Ed, V3.5
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if u compile the program with -deprecation u will see all deprecated methods , though JSDK specification 2.1 does not say that putValue(), getValue() methods is deprecated. if u compile with -deprecation it shows all these interface of HttpSessions deprecated .
Even RequestDispatcher is not working in Websphere though the same programs works properly in tomcat.
How do check the JSDK version in Websphere Application Server ?
my best wishes for your 406 test.

 
reply
    Bookmark Topic Watch Topic
  • New Topic