If being verbose isn't enough for you, here are some more reasons to hate XML.
Tag: JavaEE
OpenESB: Invoke an Asynchronous Web Service
I was contacted last week to know if I had actually integrated an asynchronous web service in OpenESB, as promised in a previous post. The NetBeans SOA package is sometimes a bit obscure, though there are some explanation about the examples. I took a bit of time to dig this out, and here is then… Continue reading OpenESB: Invoke an Asynchronous Web Service
Glassfish mysteries #5: transaction recovery
Here are all posts of this serie on Glassfish. There is little information available on the web about Glassfish transaction recovery. Transaction recovery is indeed something that should be very rare. Some background Such a recovery is necessary only if a problem (typically a crash) occurs while the transaction manager is performing the 2-phase commit… Continue reading Glassfish mysteries #5: transaction recovery
Glassfish mysteries #4: IIOP
Here are all posts of this serie on Glassfish. This last post will be about considerations on usage of IIOP and Glassfish. IIOP is a standard, inter-operable protocol that every J2EE-compliant application server must support. In case of java-to-java communication, IIOP is sometimes a bit overhead and some application server supports alternative protocols in this… Continue reading Glassfish mysteries #4: IIOP
Glassfish mysteries #3: JMS
Here are all posts of this serie on Glassfish. This post is about Glassfish and JMS-related problems. Message-passing is a great architectural style whose main strength are (1) scalability (2) loose coupling. The J2EE stack is a great platform to build message-based applications, notably because of the message-driven beans. These are extremely easy to use… Continue reading Glassfish mysteries #3: JMS
Glassfish mysteries #2: distributed transactions
Here are all posts of this serie on Glassfish. This second post about Glassfish mysteries will be about transaction management. There is indeed some strange behaviour when usage scenarios differ from traditional Web-EJB-JPA examples. Transaction is not rolled back Depending on the way you package your enterprise application, the annotation @ApplicationException(rollback=true) will not be considered.… Continue reading Glassfish mysteries #2: distributed transactions
Glassfish mysteries #1: JavaMail
Here are all posts of this serie on Glassfish. This serie of post will cover some problems we experienced with Glassfish. Let’s start with a few easy ones related to JavaMail. These one are not blocking but rather annoying. Lookup from JNDI There’s a bug in Glassfish v2ur2 that prevent you from getting the JavaMail… Continue reading Glassfish mysteries #1: JavaMail
Sub-optimal Pagination with Oracle & Hibernate
There seem to be a bug in Hibernate 3 that results in a sub-optimal query if one attempts to fetch one specific portion of the result set, as is typically the case with pagination. The best-practice to extract one specific page out of the complete result set is to use the ROWNUM keyword with Oracle.… Continue reading Sub-optimal Pagination with Oracle & Hibernate
JCA connector: file system adapter
I've been working on a sample JCA connector that can be used to access to the file system. The connector is pseudo-transactional: it is transacted but not very robust. It correctly creates and deletes files if the transaction is committed or rolled back. However, the connectors doesn’t keep the information in a transaction log, so… Continue reading JCA connector: file system adapter
JCA connector: overview
The J2EE stack is composed of several containers, among which the JCA container. Not as popular as the EJB or Web containers, the JCA container is nevertheless a very important piece of the J2EE stack. This container contains the “glue” that provides transparent transactional connectivity to third-party system. Remember that from point of view of… Continue reading JCA connector: overview