Solved

webservices(Petty doubt)

Posted on 2006-06-12
2
250 Views
Last Modified: 2010-03-31
If I write a jaxp to parse an xml file, how should I test it. My doubt is can I directly run the java code just as a basic java file by passing the xml file as input stream or should I make a .jar file and write a deployment descriptor and deploy that file or should i write a client code and lookup at the parsing file which takes the xml object and parses it. Just give me strp by step. I will be really pleases as I am new to it.
0
Comment
Question by:rmvprasad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 125 total points
ID: 16891862
>> If I write a jaxp to parse an xml file,

That can be done simply by using JUnit - www.junit.org. It is also integrated with IDEs like Eclipse.

>> should I make a .jar file and write a deployment descriptor and deploy that file or should i write a client code and
>> lookup at the parsing file which takes the xml object and parses it.

Not necessary just for unit-testing the parsing piece. Once the parsing functionality is verified, you can verify if it works this way too, so this would be the second step.
0
 
LVL 26

Expert Comment

by:ksivananth
ID: 16891879
have a look at the below link if that helps,

http://java.sun.com/xml/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question