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
  • 674
  • 538


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)

    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java