Excellent suggestion, Dion.... wasn't even thinking about JAXB for this application. I was able to set up a TestCase of an ejb service taking in complex JavaBeans as input parameters using Castor JAXB in 5 minutes! :-)
Now lets take it a step further; what if I want to declaratively (via xml) execute my service functions as well for my TestCase? This way I can write a VERY abstract TestCase which theoretically can be used to test ANY type of EJB, and I can declare all the service methods as well as test input (and later on, expected outputs as well for comparison) in xml. Is there a simple XML RPC package that can do just this? Gene --- Dion Almaer <[EMAIL PROTECTED]> wrote: > Castor XML, or JAXB could be used for this. > http://castor.exolab.org > > It is a data binding framework that marshals/unmarshals between objects -> > XML. Castor also has "more", the JDO side to it etc. > > d > > > On Thu, 6 Dec 2001, Gene Chuang wrote: > > > Anyone know a good tool to convert standard JavaBeans to either a Properties file >or > XML > > format? I'm trying to implement JUnit and would like to have test input data piped > in as > > one of these two formats. My testcase will then construct JavaBean(s) used as > parameters > > for my EJB services. > > > > I think we have a utility here that converts JavaBeans, but only with basic > attributes. > > It cannot do nested JavaBeans, or JavaBeans with JavaBeans as attributes. > > > > Gene > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Send your FREE holiday greetings online! > > http://greetings.yahoo.com > > > > =========================================================================== > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff EJB-INTEREST". For general help, send email to > > [EMAIL PROTECTED] and include in the body of the message "help". > > > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
