• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Life after Cactus

 
Ed Napier
Greenhorn
Posts: 8
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Over the years I've written boatloads of Junit method tests but never got around to actually doing anything in container (properly). For a variety of reasons, loading up cactus and doing in-container testing just seemed harder to work out than just running with breakpoints and logging things in a spreadsheet. However, as I've gotten busier, and processes and procedures have become more involved and time-consuming, that bias on my part isn't an option any more.
Unfortunately, Cactus is now pretty much dead. I couldn't even find a reasonably recent download of it any more.

What suggestions do people have for an easy to set up in-container test bed that works well with IBM RAD 8?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34656
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you trying to test in container? A web page? An ejb? A spring bean?

The answer will determine the best advice.
 
Ed Napier
Greenhorn
Posts: 8
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In most cases they are classes that have one or more elements reading and/or writing to an Oracle db via a JNDI alias to a JDBC connection. A handful connect to some web service and the remainder are Struts 1.3 actions.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34656
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the Struts actions, I recommend Selenium or JWebUnit. Selenium tests through the browser. JWebUnit pretends to be a browser.

For EJBs, JUnit in Action (published a couple years ago) does recommend Cactus. Lately, I've been using Spring - which is the container so you just use the run with Spring annotations. That won't solve your problem though.
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Cactus archive is still up, even if the project has been retired for some time.
You can download all sources and binaries here.
 
Ed Napier
Greenhorn
Posts: 8
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic