wood burning stoves 2.0
The moose likes Other Open Source Projects and the fly likes JUnit use with VAJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JUnit use with VAJ" Watch "JUnit use with VAJ" New topic

JUnit use with VAJ

Matthew X. Brown
Ranch Hand

Joined: Nov 08, 2000
Posts: 165
I installed Junit as a project under VAJ-there are some instructions on installing it under VAJ. Has anyone been able to develop anything to test EJB and servlets using JUnit on VAJ?
Thanks in advance.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

OK, I'll bite... what is VAJ?

[Asking smart questions] [About Bear] [Books by Bear]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Originally posted by Bear Bibeault:
OK, I'll bite... what is VAJ?

Visual Age for Java. IBM's IDE for Java.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Here on the IBM site is a cool article which will be helpful for using JUnit with VisualAge Java:
Techniques for Implementing Tests using JUnit with VisualAge for Java .

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Matt Bucknam

Joined: Dec 08, 2000
Posts: 23
This doesn't answer your question but have you used the EJB test client feature in Visual Age? It allows you to fully exercise the interface to your EJB, set input variables, and walk through the behavior.

Joined: Jan 17, 2002
Posts: 2
IBM article does not talk about using JUnit with EJBs/Servlets. It just tells about how to use Junit with Pure Java Classes.
Ranch Hand

Joined: Mar 06, 2001
Posts: 123
Can I use JUnit with WebSphere Studio Application
Developer (WSAD). Is there an article describing
the process.
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Definitely you can use JUnit with WSAD, moreover, you need not pay extra effort for that. For WSAD is based on Eclipse, a open source IDE, and JUnit has been built into Eclipse(along with other features such as Ant, refactoring making Eclipse and WSAD good XP IDEs).
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
I have been going through Cactus doc and found "Cactus is a simple test framework for unit testing server-side java code (Servlets, EJBs, Tag Libs, Filters, ...). "
SO, can its functionality be used along with VAJ?

Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

Only properly registered participants will qualify for the book giveaway. Please take a moment to review the
JavaRanch Naming Policy then edit your profile and change your display name to comply with the rules.
Thanks for your cooperation and welcome to JavaRanch!
Junilu Lacar
I agree. Here's the link: http://aspose.com/file-tools
subject: JUnit use with VAJ
It's not a secret anymore!