Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JUnit use with VAJ

 
Matthew X. Brown
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I'll bite... what is VAJ?
bear
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
OK, I'll bite... what is VAJ?
bear

Visual Age for Java. IBM's IDE for Java.
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Matt Bucknam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Daku
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IBM article does not talk about using JUnit with EJBs/Servlets. It just tells about how to use Junit with Pure Java Classes.
 
pjoisha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I use JUnit with WebSphere Studio Application
Developer (WSAD). Is there an article describing
the process.
Thanks,
PJ
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prashanth,
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
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?
 
Junilu Lacar
Bartender
Posts: 7466
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Daku"
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic