Using XML schema for generating a java bean

To generate a java bean from an XML schema you can use the Rational Application Developer tool. This product has the feature to build a java bean from an .xsd file (schema file).


_______________________________________________

This feature is available in the web services tools in the product. For more details about the Rational Application Developer you can refer to the IBM website.

To use that web services tool for generating the java bean from the xsd file, you have to create a project that works with java code in the Rational Application Developer. Once you configure the product to work in that way, open up the resource perspective in the Window menu.

Now in the navigator view open up the xsd file from the project. Now choose File -> New -> Other and then select web services. You will find a wizard for the mentioned purpose.

Now you can use this wizard and follow the instructions you get on the screen once you complete the steps of the wizard you will find that the java bean code has been generated from the xsd file you have selected.





_______________________________________________

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________








 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

Copyright - © 2004 - 2017 - All Rights Reserved.