File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss In Action - Unit Testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss In Action - Unit Testing" Watch "JBoss In Action - Unit Testing" New topic

JBoss In Action - Unit Testing

roger schildmeijer
Ranch Hand

Joined: Jun 15, 2008
Posts: 40
Does JBoss support/recommend unit testing and test first -methodology?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

What do you mean by the term "JBoss" in your question? Do you mean JBoss Application Server? The book JBoss in Action? Or the JBoss development team?

As far as the book is concerned, it is not an application development book - the focus of the book is JBoss AS configuration. We present only the simplest of application examples (hello world or perhaps one step beyond that) and then only to provide complete configuration example.

JBoss In Action
Javid Jamae
Ranch Hand

Joined: May 14, 2008
Posts: 198
JBoss AS is a framework for deploying and running applications, so the application server doesn't really provide support for the methodology with which you write your code. But several libraries and development frameworks (Seam comes to mind) the Red Hat / JBoss makes provide hooks for unit testing and creating Test Doubles. Also, in the last few years, the JBoss code itself has become much more tested / testable.

Author: JBoss in Action,, @javidjamae on Twitter
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
You can also consider embedded jboss for integration tests.
I agree. Here's the link:
subject: JBoss In Action - Unit Testing
It's not a secret anymore!