Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCEEJBD
Search Coderanch
Advance search
Google search
Register / Login
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
Ron McLeod
Paul Clapham
Devaka Cooray
Tim Cooke
Sheriffs:
Rob Spoor
Liutauras Vilda
paul wheaton
Saloon Keepers:
Tim Holloway
Tim Moores
Mikalai Zaikin
Carey Brown
Piet Souris
Bartenders:
Stephan van Hulst
Forum:
EJB Certification (OCEEJBD)
Confirmation Required
Gowher Naik
Ranch Hand
Posts: 643
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
For session beans
CreateException for ejbCreate in bean class is optional.
But for entity beans
CreateException for ejbCreate in bean class is Mandatory.
Thanks
Awishek sinha
Ranch Hand
Posts: 62
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The CreateException is optional in both the cases i.e entity bean class & session bean class in ejbCreate<method>
Awishek Kr Sinha<br />SCJP 1.4<br />SCBCD 1.3
Gowher Naik
Ranch Hand
Posts: 643
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
EJB
Specification 10.6.4
For ejbCreate<METHOD> methods-:
The throws clause must define the javax.ejb.CreateException. The throws clause may define arbitrary application specific exceptions.
Awishek sinha
Ranch Hand
Posts: 62
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes very true its written in specs that CreateException is mandatory in ejbCreate in bean class so sorry
& thanks
Awishek Kr Sinha<br />SCJP 1.4<br />SCBCD 1.3
Everybody's invited. Even this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Mock Question
Unable to catch SQLException in EJB Client...
Quiz on method exception declaration
Legal Declarations of CMP ejbCreate()
Home Business Methods
More...