Software Development

Presentation on Using the Embedded JBoss Container

Gave a presentation tonight to the Philly JBoss Users Group about using Embedded JBoss. For the unaware, Embedded JBoss allows a developer to embed much of the functionality of the JBoss application server (EJB, Messaging, JNDI, Security, Transactions) in another application.  A great use for the technology is in the creation of unit tests that… Read more Presentation on Using the Embedded JBoss Container

Java Native Access (JNA): What JNI should have been

Just saw the release of the Java Native Access (JNA) library that allows easier access to native shared access.  Instead of annoying JNI adapter code to integrate the libraries, you can now just define an interface and use the JNA classes to manage the translation between the Java and the native code.  It’s easy to use… Read more Java Native Access (JNA): What JNI should have been

Debugging JavaScript Executing in Java with HtmlUnit

For the past few days, I have been doing a little work with embedded JavaScript within the HtmlUnit project.  HtmlUnit is a really cool project that is a headless web browser written in Java that is really useful if you are trying to do automated testing or web scraping and want to simulate how a real… Read more Debugging JavaScript Executing in Java with HtmlUnit