Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!

Siva Jagadeesan

Ranch Hand
+ Follow
since Oct 31, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Siva Jagadeesan

I assume that ur buildModel() method just calls all these methods
parseHierarchy() - yes yes , recursive call

The way I will follow is Unit Test small methods and write a Test for buildModel() using Mock and make sure buildModel() is calling these small methods as intended
[ September 27, 2004: Message edited by: Siva Jagadeesan ]
16 years ago
I just wrote a blog abt reporting using Ant

Check it out
16 years ago
Using JMeter, We could do Stress Test on
a) Http Servers
b) Ftp Servers and
c) SQL queries.
JMeter is swing application , where you could configure your Stress Test by giving information like
No of concurent Users
No Of requests etc.
JMeter then spans n threads (simulating the concurrent users) and keeps sending the request to the URL you specified.Once the test is over it gives you a graph how much time each request took. You could get many valuable information out of that graph like does ur system slows down after some time etc

Jakarta does have a user Manual for JMeter
17 years ago
Yah Chris, I guess you are right.
17 years ago
I have not tried Jetty. Let me try and let evrybody know what I think.
Thanx for the tip
17 years ago
Chk this out
Testing Email Components
It has a small example how to test email component. It has a small Junit. It will give you pretty idea how to use Junit.
17 years ago
There is always an argument whether to test these kind of simple methods. I won't bother myself to write test for a simple setters and getters.But if the setters and getters are going to do much more then they normally do then I will surely write the test.
17 years ago
I feel really bad for Rama and guys like him, who think testing is not a part of developer's job. They think they could write any code and throw it to the poor testers to find their mistakes. If you have so much pride as a developer, isn't it embarassing for you to allow some one else to find that the code you wrote is a crap.Tell me how many times have you wrote a program and someoneelse as found a bug( some are bugs , but mostly they are developer's mistake) in it.I think you better have to do some soul search my buddy, before comparing Software engineering with Civil and Mechanical engineering.
"It is not possible to wake up someone who is pretend to be asleep"
17 years ago

This above method will test the method and just let you know whether it passed or not. You don't have to chk the result. The method will take care of this.
For a simple method like yours , it will be easy to write a test without Junit. But for some complicated method (first of all a method should not be compilicated) JUnit makes it easy to write Test. Its integration with Ant is also good. So you could make Test as a part of your build.

Edit: Lasse moved the plain text out of the CODE block to fix layout...
[ February 27, 2004: Message edited by: Lasse Koskela ]
17 years ago
Hey guys I have written an article about testing email components. Chk it out at and let me know what you guys think.
--Siva Jagadeesan
17 years ago
Hi All:
I am getting a NullPointerException when invoking a webservice using a JavaClient.
Service Interface is
public boolean uploadFile(
DataHandler dataHandler,
MetadataBean metadataBean,
FolderBean folderBean);
MetadataBean has a another bean (as a composite) PublicationMetaConf.
This is my wsdd file
<deployment xmlns=""
<service name="AutoUploaderService" provider="java:RPC">
<parameter name="className" value="cat.vce.autoUpload.server.service.AutoUploaderServiceImpl"/>
<parameter name="allowedMethods" value="*"/>
<typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory"
languageSpecificType="java:javax.activation.DataHandler" qname="au ataHandler"
<beanMapping qname="au ublicationMetaConf" languageSpecificType="java:cat.vce.autoUpload.server.conf.PublicationMetaConf"/>
<beanMapping qname="au:MetadataBean" languageSpecificType="java:cat.vce.autoUpload.server.bean.MetadataBean"/>
<beanMapping qname="au:FolderBean" languageSpecificType="java:cat.vce.autoUpload.server.bean.FolderBean"/>

I have two questions
1) When I make a call using Java client I am getting an NullPointerException
2) I am not able to generate Client side code using WSDL2Java. I am getting this error
[java] Type {AutoUploaderService}DataHandler is referenced but not defined
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.add(
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(
[java] at org.apache.axis.wsdl.gen.Parser$
[java] at
It would be great is someone could help me.
17 years ago
I got 80% in the exam. I am happy considering the time I spent on preparing for this exam.
--Siva Jagadeesan
As a part of SCWCD training Topic 2 Introduction to JSp is Posted
Chk it out at
17 years ago
Hey Guys:
Check out my Study plan for Weblogic 7.0 Certification. I have some important links also.
Let me know what you guys think