• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Is J2EE SDK 1.3 violated the spec?

 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
According to the specification section 20.7, if we lookup "java:comp/UserTransaction" in ejb not allowed to use this interface, it should throw "NameNotFoundException". However, I tested with J2EE SDK1.3 and lookup "java:comp/UserTransaction" in a CMT SFSB, there is no exception thrown and I was given a UserTransaction object where I can call its begin() and commit().
(If the SFSB is Required, begin() throws exception for nested transaction. If it is NotSupported, begin() and commit() actually executed successfully).
I am not sure if this a violation of the specification or is it just my error in testing. Can anyone help?
thx
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic