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
  • 683
  • 539


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)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java