• 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
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Exceptions raised in different contexts

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Though lots of scenarios have been provided in HF-EJB and they also particularly mention what the different roles in EJB can do or cannot do in each context, the exceptions that are raised when we "do" commit a mistake have not been mentioned.

Does this mean that the exceptions raised in different contexts are also "Service Provider" dependent? Or is it that the same exception will be raised given a scenario, but they just have not been mentioned in the book?
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. even I feel at few times they better tell the exception at that point. Like transaction attributes on page 494.. Person might be new to EJB but not Java as he/she must have passed SCJP.

Regards,
Leena
 
Subhash Bhushan C
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that the EJB Specification (I have Ver 2.0) document does give the kind of exception raised under different situations, as much as possible.

Refer pages 59 - 62 and you will some examples of this.
 
No more fooling around. Read this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic