Web service

Looking up an EJB from a Web Service under JBoss 4.x

EJB injection in Web Services does not work with JBoss (yet), so when you want to use an EJB from your @WebService annotated POJO you have no choice but to look it up yourself. This can get a little tricky, because each J2EE container can use its own JNDI naming convention when registering the EJB […]

Don’t unit test JavaBeans

Should unit tests cover JavaBeans just to get a higher code coverage? These days I am working on a payment processing application that exposes its main interface as a SOAP web service. The API requires the client to build a wrapper object that packages the information needed for processing, for instance, a credit-card debit authorization: […]

Scroll to top