This week's book giveaway is in the Functional programming forum.
We're giving away four copies of A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles and have Ben Weidig on-line!
See this thread for details.
  • 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
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

what debugging and testing tool for web application

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ranchers,
I am basically developing small web application in jsp,servlet.But if that module grow and added more features what debugging and testing tools should i know in advance.
What u ppl use in real development?
thanks in advance
priya
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are several types of testing like source test tools ,functional test tools ,performance test tools ,load testing ...etc.
Some of the popular tools are winrunner,loadrunner,JUnit,Rational Robot,Silk Test.
For comprehensive info on test tools visit:
http://www.aptest.com/resources.html
 
priya jain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
thanks murthy for giving me information about tools but i want to ask whether a developer should also be well versed with testing tools. Should i go in to knowing all these?
Please also tell me wat tools u have used and find it the best
1) for debugging
2) for testing
Some where i read that log4j is for debugging also . I don't know much about it.
I read little about cactus(junit) from testing forum but should i go with it in developing small web applicaiton using jsp,servlet and struts.I am still trying to cope up with struts as it is new for me.
What i am doing is .....just writing jsp and servlet and debugging and testing while running on tomcat and checking/reading about logs. Which approach should I follow???
what should i do now?
priya
[ September 14, 2003: Message edited by: priya jain ]
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually most of the companies have seperate Quality Assurance and Testing people for comprehensive testing.
But knowledge of testing technque are essential for developers. Though they need not be a masters of it.
Coming to your case, unit testing is probably the first testing technique you(any developer) should learn. JUnit is a popular testing tool.It's availabe at http://www.junit.org/index.htm
Coming to debugging, most of the IDE's provide very good debugging facilities like Borland JBuilder,Sun One ..etc., MetaMata's debugging solution allows you to debug JSP code. Traditional Java IDEs such as Sun One and JBuilder allow you to step through code. Coming to log4j it's logging/tracing framework that can send all debugging messages to logs.
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
for example the following link shows Developing, Compiling, Deploying, and Debugging a Sample JSP Component from within the Sun One Studio IDE.
http://developers.sun.com/tools/javatools/articles/S1SEEandS1AS.html
 
priya jain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks murthy for clearing my role as developer and giving information .
I am presently using eclipse as an IDE but finding difficulty in debugging throw it.I am going ahead to learn unit testing by junit.
Which IDE u use for web applicaiton.?
One more query....
If i want to show whole processing of my web application with jsp,servlet and all beans classes in UML way.
Should i draw it on paper or there is a tool to represent all modules(classes) as well as JSP's
How u should all class digram and sequence diagram with jsp's?

priya
[ September 14, 2003: Message edited by: priya jain ]
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use Borland Jbuilder and Sun One Studio. You can do unit testing from JBuilder itself.You canwrite test cases,execute them ..etc. JBuilder also provides thread level debugging. Optimizer suite can also be integrated with JBuilder.
You can try the trial version of Borland Jbuilder9 Enterprise.Or go for JUnit which is free.
 
priya jain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
murthy One more query....
If i want to show whole processing of my web application with jsp,servlet and all beans classes in UML way.
Should i draw it on paper or there is a tool to represent all modules(classes) as well as JSP's
How u show all class digram and sequence diagram with jsp's?

thanx in advance
priya
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are lot of comprehensive visual modeling tools available. Gone are days where u write design on paper.
I use Rational Rose for visual modeling in UML. Rational rose has extension for J2EE as well. Using this you can model,validate,code and even deploy your entire J2EE application. In rose you can model JSPs,Servlets,EJBs visually. And Rose will automatically generate code for you(skeleton code).
Apart from Rational Rose , you can also use TogetherSoft for UML.
[ September 15, 2003: Message edited by: Murthy Narasimha ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic