Link Details

Link 965235 thumbnail
User 698471 avatar

By pal_konyves
Published: May 09 2013 / 23:17

Be conscious and aware about what type of exceptions are thrown from EJB methods, and what kind of Exceptions to throw as a developer! Some may cause a transaction rollback, others don't. This article shows what you need to know about exceptions coming from EJB layer.
  • 12
  • 0
  • 664
  • 536


Add your comment
User 1142057 avatar

kocka_elemer replied ago:

1 votes Vote down Vote up Reply

I really liked the part where you explained the exceptions!!!!!!11

User 388907 avatar

MCII replied ago:

1 votes Vote down Vote up Reply

The conclusion is to never use checked exceptions for EJBs. They are a receipt for disaster.

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)

Voters Against This Link (0)

    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax