• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

This weeks giveaway

 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This week we are giving away 4 copies of the book "Java Tools for Extreme Programming: Mastering Open Source Tools Including Ant, JUnit, and Cactus".
And the best part... The Authors, Richard Hightower and Nicholas Lesiecki, will be online to answer your questions!
Frank gave this book 9 Horseshoes! Read his review.
Thanks to the good people at Wiley Publishing for the books.

See the Book Promotion page for qualification details.
[ March 12, 2002: Message edited by: Junilu Lacar ]
 
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Richard and Nicholas,
Welcome! Delighted to be the first guy to say hello to you.
Thanks Rick for your kind response to the feedbacks in bookreview forum.
May you two a good time here this week.
[ March 12, 2002: Message edited by: Doug Wang ]
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Same as Doug.
Axel
 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This book looks more like what I need/want - practical tools to solve real software development issues. Finally figured out where the book review was - the link above goes to Amazon. I'm glad the book isn't purely a "rah-rah isn't XP the greatest?" type of book - there's enough of those already.
One thing I did not see discussed was how easy it is to integrate these tools into various IDEs out there. I'm using JBuilder at home and Forte 3.0 Enterprise at work. I'm pretty sure Forte has some hooks into Ant because I've seen it mentioned a few times. Are any "plugins" available to get these tools into IDEs automatically with the proper settings?
[ March 12, 2002: Message edited by: Gerry Giese ]
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this book covering JMeter and struts?
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Axel,
You cant be the same as me, for I am the first person.
Sri,
I dont think this book will cover JMeter and Struts. The book mainly cover tools that automate test and build process to facilitate XP development.
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nocholas and Richards,
Welcome to the forum.
Hi Doug and Sri,
the book review says
This book covers the following XP subjects:
Automated unit and functional testing
Continuous integration through build and deployment automation
The value of refactoring and continuous integration
How Ant, JUnit, JUnitPerf, Cactus, HTTPUnit, and JMeter can be used to achieve the goals of the XP methodology
So JMeter is covered.
Well, i have never used these tools and just started looking at them. I am starting with and and JUnit and they are cool. It would be real helpful to find a book open source projects like this.
Now that i know what JUnit and Ant is used for, can somebody tell me what JUnitPerf, Cactus, HTTPUnit, and JMeter are used for!
thanks,
 
Sheriff
Posts: 17665
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I didn't realize we had a book giveaway scheduled here this week. And I was thinking I had suddenly generated a lot of interest in JUnit with my little tutorial
Anyway, welcome everybody, especially the authors of the book.
Junilu Lacar
 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Carl,
Your effect on this thread is very impressive !
Usually, there are about only 5 threads a week here... And until now, I was almost thinking only Junilu, Paul and I were interested in Jakarta projects

Junilu, thanks to the giveway, you are going to become a Javaranch star
[ March 12, 2002: Message edited by: Bill Bailey ]
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ram Dhan Yadav K,
In response to:

Now that i know what JUnit and Ant is used for, can somebody tell me what JUnitPerf, Cactus, HTTPUnit, and JMeter are used for!


  • JUnitPerf: An extension to JUnit that allows you to performance and load test code units.
  • Cactus: An extension to JUnit that allows components to be tested in a container. This enables easy unit testing of Servlets, EJB's, Custom tags, etc.
  • HTTPUnit: A functional testing framework that allows easy programmatic testing of a web-application. Handy for acceptance testing.
  • JMeter: Another black-box web testing tool, but usable as a GUI and far more suited to gathering performance metrics than to verifying a particular output.


  • To the rest of you all, thanks very much for the welcoming words!
    Cheers,
     
    Ram Dhan Yadav K
    Ranch Hand
    Posts: 321
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks Nicholas,
    This brings up more doubts, which i am posting in separately.
     
    author
    Posts: 14112
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Originally posted by Gerry Giese:
    One thing I did not see discussed was how easy it is to integrate these tools into various IDEs out there. I'm using JBuilder at home and Forte 3.0 Enterprise at work. I'm pretty sure Forte has some hooks into Ant because I've seen it mentioned a few times. Are any "plugins" available to get these tools into IDEs automatically with the proper settings?
    [ March 12, 2002: Message edited by: Gerry Giese ]


    Eclipse and IntelliJ Idea both have good integration of Ant and JUnit.
     
    Doug Wang
    Ranch Hand
    Posts: 445
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Rick,
    You said "the tools are especially helpful for J2EE development", and your book is "ideal for J2EE/XP developer". Also the case studies used in this book are J2EE-targeted(right? ). Can you please explain more on testing and building J2EE application. How does Cactus fit into this task?
     
    Nicholas Lesiecki
    Greenhorn
    Posts: 13
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Doug,
    You asked:

    You said "the tools are especially helpful for J2EE development", and your book is "ideal for J2EE/XP developer". Also the case studies used in this book are J2EE-targeted(right? ). Can you please explain more on testing and building J2EE application. How does Cactus fit into this task?


    Ant can be used to build darn near anything. We use it to build storeBlox where I work. storeBlox provides a custom-branded web-store with a variable feature set. A significant amount of customization is provided at build time: various features are turned on and off via deployment descriptors, different sites use different JSPs, different sites use different message resources. We do much of this with Ant, which has built in support for packaging wars and ears, tasks that allow us to easily modify deployment descriptors, etc. So knowing Ant is a big help for any J2EE project. needless to say JTFXP cover ANT in depth.
    Cactus allows you to test server-side J2EE components more easily. For instance, say you have class which does some request processing:

    Using one of Cactus' test cases would allow you to write:

    You can also use Cactus to test EJBs, JSP Custom Tags, Filters, and many other J2EE components. We do about 60% of our testing at eBlox using Cactus.
    In addition to Cactus, JTFXP covers HttpUnit and JMeter--black box testing tools that allow acceptance and performance testing of web applications respectively. Since most J2EE apps have web components, these tools are handy for almost any J2EE shop.
    Does this answer your question?
    Cheers,
    Nicholas Lesiecki
     
    Doug Wang
    Ranch Hand
    Posts: 445
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks Nicholas,
    Your explanation is really a big help. So J2EE application is ready to perform automating test and build process due to the deployment descriptors and archive files (I didn't realize that before ).
     
    Ranch Hand
    Posts: 90
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Nicholas,
    Is there a standards body which defines what must be included in a testing framework just like we have the UML standards or the J2EE compatibility suite ?
    Is any organisation/foundation working on it ?
     
    Doug Wang
    Ranch Hand
    Posts: 445
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Varun,
    I dont know there is such a standard. You may view JUnit as a de facto testing framework standard. Actually, as the title of JTFXP suggests, JUnit is just a tool to facilitate your testing work.
     
    Nicholas Lesiecki
    Greenhorn
    Posts: 13
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Varun,
    No I don't think there are any formal standards either in place or in progress. When you say "testing framework" what do you mean? What sort of standards would be useful or helpful?
    As Doug mentions, JUnit is a great, Open Source Java testing framework. because of its ease of use (and also because of the fame of its authors ) It has become (as Doug suggests) the de facto standard for a testing framework.
    Is that helpful?
    Cheers,
    Nicholas
     
    Ram Dhan Yadav K
    Ranch Hand
    Posts: 321
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Nocholas,
    Is JUnit used only for testing apps related to Java or can it be used with apps of other languages like c, c++ etc. Are there any other testing tools like JUnit available for other languages?
    thanks,
     
    Doug Wang
    Ranch Hand
    Posts: 445
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Ram,
    Check this page, you gonna get testing tools like JUnit for other languages, including c, c++, perl ...
     
    Ram Dhan Yadav K
    Ranch Hand
    Posts: 321
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Doug,
    Thats a very resourceful link.
    Since i started using this site for the last 8 months, my knowledge has dramatically increased. I was always so happy to find the all guru's hanging arround this forum.
    thanks,
     
    Gerry Giese
    Ranch Hand
    Posts: 247
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Does HttpUnit or the other tools support testing using HTTPS? What about times when the site is protected and a user/pass dialog pops up? Our systems are SSL-enabled and use pop up authentication prompts based on Kerberos (I think it's an NSAPI plugin???). Our apps read the userid the Kerberos sets in the HTTP_REMOTE_USER header and operate off of that to configure roles/permissions/personalization for the session. Is this a problem for HttpUnit or the other tools?
     
    Author
    Posts: 350
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Sorry about not responding earlier... I am traveling and teaching an onsite training course.
    It looks like Nick has done a real good job of answering peoples questions...
    I would suggest that if you have any more question to start breaking them out into seperate topics. This makes them easier to find.
     
    Wanna see my flashlight? How about this tiny ad?
    We need your help - Coderanch server fundraiser
    https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
    reply
      Bookmark Topic Watch Topic
    • New Topic