background preloader

JEE

Facebook Twitter

Jdk7

EE6. Arquillian. Exception-Handling Antipatterns. Should you throw an exception, or return null?

Exception-Handling Antipatterns

Should you use checked or unchecked exceptions? For many novice to mid-level developers, exception handling tends to be an afterthought. Their typical pattern is usually a simple try/catch/printStackTrace(). When they try to get more creative, they usually stumble into one or more common exception handling antipatterns. The antipattern concept became popular in the software development community with the release of AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis in 1998. Espace Techno.

Jms

Thinking about Enterprise JavaBeans, 3.0 - Transactions - Except. Exceptions and Transactions Exceptions have a large impact on the outcome of transactions.

Thinking about Enterprise JavaBeans, 3.0 - Transactions - Except

Application Exceptions Versus System Exceptions System exceptions represent unknown internal errors. The EJB container throws system exceptions when it encounters an internal application server failure. Business logic can throw system exceptions when it wants to abort the business process.

Jpa

Transaction. Tomcat. Jboss. Weblo. Websphere. EJB. Glassfish.