Re: [Betwixt] Performance Issue

2007-01-30 Thread robert burrell donkin
On Tue, 2007-01-30 at 16:48 +1030, David Lloyd wrote: Hi There, I have a set of nested classes which model a payment transaction. The nesting is like this: Transaction - OrderInformation - CustomerCredentials - MerchantCredentials - PaymentInformation

RE: Betwixt CyclicReferenceException: Bean graph contains a cyclic reference

2006-10-28 Thread robert burrell donkin
On Tue, 2006-10-24 at 14:11 -0400, Rao, Sailesh wrote: In further digging through the trace logs, I find a whole bunch of ClassCastException prior to the CyclicReferenceException. Any idea what may be causing the ClassCastExceptions? could be a classloader issue since betwixt works by

Re: [commons-logging-api] 1.1 POM not deployed at iblibio?

2006-07-13 Thread robert burrell donkin
On Sat, 2006-07-08 at 16:27 +0200, Carlos Sanchez wrote: There are a lot of hand made poms in the repo so i don't see that as a problem. AFAIK the difference between api and implementation is the dependencies section, so it's just a matter of copying it and strip all unneded deps (all of

Re: [betwixt] Summary feature

2006-06-21 Thread robert burrell donkin
On Wed, 2006-06-14 at 10:36 +0200, Holger Haag wrote: Hi, hi Holger sorry for such a tardy reply (been very busy with ApacheCon EU stuff) I am looking for a betwixt feature I call summary having found no better term. Requirements are as follows: A air fare list is converted to the

Re: Read XML with Betwixt

2006-06-07 Thread robert burrell donkin
On Wed, 2006-06-07 at 10:50 +0200, [EMAIL PROTECTED] wrote: Hello, hello jean I am new to Betwixt and I have the following problem. I have the following MyBean class : public class MyBean { private String str; private String[] arrayOfElement; public String

Re: [Betwixt] Supply .betwixt file in code?

2006-06-05 Thread robert burrell donkin
On Fri, 2006-06-02 at 16:19 -0400, Frank W. Zammetti wrote: Hi... first time even *looking* at Betwixt, so quick n00b question... is it possible to supply the equivalent of a *.betwixt mapping file, as a String, in my code? I basically want to be able to embed the mappings directly into a

Re: betwixt:

2006-05-31 Thread robert burrell donkin
On Wed, 2006-05-31 at 09:47 +0200, Stefano Orselli wrote: I've a problem with betwixt 0.7 I work on a Apache Tomcat/5.0.28 java 1.4.2_01-b06 i write this java code: String prefix = context.getRealPath(/); String xmlpath = prefix + xmlpdf/; (new

Re: betwixt: No updater for ...

2006-05-30 Thread robert burrell donkin
hi ken sorry i've been so long in picking this one up... On Thu, 2006-05-25 at 15:29 -0600, Ken Miller wrote: I have an object that contains a Collection of some simple beans, as well as a couple of attributes. The XML generated by Betwixt looks like this: FolderList nextFolderId=2 id=1

Re: [jira] Created: (BETWIXT-52) Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations

2006-05-25 Thread robert burrell donkin
hi holgar thanks very much for the test cases On Wed, 2006-05-24 at 08:15 +, Holger Haag (JIRA) wrote: Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations

Re: Re: Re: [betwixt] Betwixt mapping of generic lists with instances of an interface

2006-05-24 Thread robert burrell donkin
On Wed, 2006-05-24 at 10:18 +0200, [EMAIL PROTECTED] wrote: Hi Robert, you are right about test cases: that's what I keep telling my bug reports: to provide good bug descriptions, the best thing being broken test cases ;-) So I've created a JIRA entry with such a broken test case:

Re: Re: [betwixt] Betwixt mapping of generic lists with instances of an interface

2006-05-23 Thread robert burrell donkin
On Tue, 2006-05-23 at 11:09 +0200, [EMAIL PROTECTED] wrote: Hi Robert, hi Holger some apache stuff's blow up so unfortunately i haven't found the time i'd hoped for :-/ thanks for the patch, TestPolyList works nicely, also if I adapt it 1:1 to my environment. However, I failed in setting up

Re: [betwixt] Versioning of XML Output

2006-05-22 Thread robert burrell donkin
On Mon, 2006-05-22 at 14:31 +0200, Holger Haag wrote: Hi, I hope this goes to the correct mailing list; if not pls. let me know: developers hang out on the dev list. now you've contributed a patch, you're a developer and might like to start hanging out there too. if so, you might need to

Re: Re: Re: [betwixt] Versioning of XML Output

2006-05-21 Thread robert burrell donkin
On Fri, 2006-05-19 at 08:37 +0200, Holger Haag wrote: Hi, maybe there is even a better way of doing it, more flexible and probably about the same amount of work. sounds good so far :-) Here's what to do: (just to check that i understand correctly, i'll add examples in line. please jump in

Re: [betwixt] Betwixt mapping of generic lists with instances of an interface

2006-05-18 Thread robert burrell donkin
On Wed, 2006-05-17 at 22:21 +0100, robert burrell donkin wrote: On Thu, 2006-05-11 at 14:22 +0200, Holger Haag wrote: Hi all, I'm trying to figure out how (or if) it is possible to handle lists containing instances of an interface. Sample: // the interface public interface

Re: [betwixt] Versioning of XML Output

2006-05-17 Thread robert burrell donkin
On Thu, 2006-05-11 at 14:21 +0200, Holger Haag wrote: Hi all, I'm using betwixt in an environment where I'm converting beans to xml in order to build SOAP/XML messages. For proper SOAP handling, a WSDL definition is necessary including XSDs. To support all soap clients in the field (e.g.

Re: [betwixt] Betwixt mapping of generic lists with instances of an interface

2006-05-17 Thread robert burrell donkin
On Thu, 2006-05-11 at 14:22 +0200, Holger Haag wrote: Hi all, I'm trying to figure out how (or if) it is possible to handle lists containing instances of an interface. Sample: // the interface public interface MyInterface { .. } // an implementation public class MyImpl1

[ANNOUNCEMENT] Apache Jakarta Commons Logging 1.1 Released

2006-05-14 Thread robert burrell donkin
the usual repositories with codegroupId: commons-logging/code and codeartifactId: commons-logging/code. Please remember to verify the signatures. Robert Burrell Donkin signature.asc Description: This is a digitally signed message part

Re: Log4JLogger does not implement Log

2006-05-03 Thread robert burrell donkin
On Wed, 2006-05-03 at 11:25 +0300, Amit Jha wrote: I had the same problem when I included commons-logging.jar and log4j.jar in WEB-INF/lib Once I removed it from there everything was fine. It seems it has conflict with what Jboss log4j has already. if that doesn't work then please try JCL 1.1

Re: Why Log implementation is Serialized?

2006-05-03 Thread robert burrell donkin
On Wed, 2006-05-03 at 03:04 -0700, Meera Mehta wrote: Hi, I am new to commons logging, we are using commons logging in our next project. I want to know why Log implementations(Wrappers say Log4JLogger,Jdk14Logger) implements Serializable please let me kow. so that people who want

Re: [betwixt] Thanks (and qn re next release date)

2006-05-01 Thread robert burrell donkin
On Sat, 2006-04-29 at 16:45 +0200, Martin van den Bemt wrote: I will have a go at this if that is ok with you, fine though I am currently pretty swamped with other things (deadline before I go to JavaOne).. that's understandable :) i should have some more time once JCL 1.1 ships. will try

Re: [betwixt] className for String, Integer?

2006-05-01 Thread robert burrell donkin
On Sat, 2006-04-29 at 14:51 -0500, Michael Gardner wrote: I've un-suppressed the className attribute for all beans, but it doesn't seem to get outputted for Strings and Integers (presumably because those are handled specially, not being true beans). yep: mapped to simple rather than complex

Re: [betwixt] className for String, Integer?

2006-05-01 Thread robert burrell donkin
On Mon, 2006-05-01 at 15:10 -0500, Michael Gardner wrote: Robert, thanks for the quick response. I submitted a bug to Bugzilla ( http://issues.apache.org/bugzilla/show_bug.cgi?id=39460), though without a unit test yet since I'm having trouble getting the Betwixt test harness working. if you

Re: [betwixt] Thanks (and qn re next release date)

2006-04-25 Thread robert burrell donkin
On Sat, 2006-04-22 at 10:40 +0200, Martin van den Bemt wrote: Hi Simon, I am a bit rusty concerning betwixt (it's been a while since I did something for it), but before eg ddlutils can be released we prefer to have a released betwixt, so I will definitely start investing some time into

[ANNOUNCEMENT] Commons Logging 1.1 Release Candidate 8 Now Available

2006-04-09 Thread robert burrell donkin
Release Candidate 8 for the 1.1 release of Jakarta Commons Logging is now available: http://people.apache.org/~rdonkin/commons-logging/ http://cvs.apache.org/repository/commons-logging/jars/ Please download and check this candidate and report any defects. If no defects are found then this

Re: [betwixt] manage list

2006-04-09 Thread robert burrell donkin
On Wed, 2006-04-05 at 12:22 +0200, denis queffeulou wrote: Ok, I understand that the addDefaults tag is mandatory otherwise strange things happen. I think this is very confusing because the functionning of element tag depends on the addDefaults, but anyway... So I will put the addDefaults

Re: Dependencies needed

2006-04-05 Thread robert burrell donkin
hi jeff please remember to prefix the mail with name of the component in future. read http://wiki.apache.org/jakarta-commons/JakartaCommonsEtiquette. On Wed, 2006-04-05 at 14:37 -0700, Jeff Barnes wrote: I need the following dependencies to be satisfied before I can use commons net 1.4.1

Re: [betwixt] Partial bean support?

2006-04-02 Thread robert burrell donkin
On Fri, 2006-03-31 at 22:27 -0600, Michael Gardner wrote: Does betwixt support reading or writing partial beans? I have a large-ish hierarchy of beans, and I would like to send only those properties that have changed. For example, say I have the following: public class Game { public

Re: Betwixt question: Is it possible to marshal/unmarshal HashMap that contains custom type (CivicAddress, PhoneNumber) whith betwixt?

2006-04-02 Thread robert burrell donkin
On Sun, 2006-04-02 at 10:22 -0400, David Gagnon wrote: Hi all, I'm searching a way to marshal a hashmap that contains custom type like a CivicAddress, PhoneNumber into an XML file. I need to be able to read this XML and getting back the same HashMap with the same properties.The

Re: betwixt and mixed collections

2006-03-30 Thread robert burrell donkin
hi anil this isn't about betwixt: you're more likely to get a good answer quickly if you follow the list netiquette (http://wiki.apache.org/jakarta-commons/JakartaCommonsEtiquette) On Wed, 2006-03-29 at 10:29 +0530, Anil Mathew wrote: hai i am working on jelly unit but not able to find enough

Re: betwixt and mixed collections

2006-03-30 Thread robert burrell donkin
On Tue, 2006-03-28 at 10:04 +0200, Marcos Truchado Martín wrote: Hi Robert: hi marcos Thanks a lot for your help. I have tried to run the code with both alpha 1.0 and latest nightly (marked as 0.8-dev 20060327), and I obtaint the same wrong result I was receiving with 0.7

Re: betwixt and mixed collections

2006-03-26 Thread robert burrell donkin
On Thu, 2006-03-23 at 12:21 +0100, Marcos Truchado Martín wrote: Hi all, I´m having a problem trying to parse mixed collections. hi marcos are you using the latest code? if not please checkout and build or use a recent nightly and then retest. - robert

Re: Problem: BeanWriter not enforcing the element list order in Betwixt

2006-03-22 Thread robert burrell donkin
On Tue, 2006-03-21 at 20:24 +, Nikolay Jordanov wrote: Hi, hi Nikolay I am using a betwixt file to describe how to convert a Java complex type POJO (containing lists of other objects contained in ArrayLists) into XML. I need to ensure that the order of all attributes is preserved in the

Re: Betwixt and collections

2006-03-20 Thread robert burrell donkin
On Mon, 2006-03-20 at 10:04 +0100, RODRIGUEZ Eric wrote: Hi all, hi eric I'm sorry if this may seem to you a classic (dummy) question but I get some difficulties to get working betwixt with collections. Basically, my problem is with List I got a userlist with boys and girls list, and I

RE: Log4JLogger does not implement Log

2006-03-11 Thread robert burrell donkin
On Sat, 2006-03-11 at 09:17 -0800, Rick Herrick wrote: Is your classpath in your ant script (just ant, I think, on *nix, ant.bat on Windows) getting screwed up? And/or do you have your classpath configured correctly? Basically, you should check what classpath is getting passed into the JVM

Re: [dbcp] Jumping in...

2006-03-08 Thread robert burrell donkin
On Wed, 2006-03-08 at 21:21 +0100, Jörg Schaible wrote: Phil Steitz wrote: There is a growing backlog of bugs open against [dbcp]. Unless other committers object, I am going to jump in and start committing patches and develop a maintenance release plan. I plan to start with

Re: [betwixt] Exception suppression

2006-03-07 Thread robert burrell donkin
On Tue, 2006-03-07 at 11:13 -0500, Igor Marakov wrote: I recently ran into the situation where betwixt is suppressing exceptions during the translation. I don't think it is a good idea. Enclosing application code should be aware that data that it expecting ain't coming. Here is the example

Re: [betwixt] Current status of derived bean support?

2006-03-07 Thread robert burrell donkin
On Mon, 2006-03-06 at 23:39 -0600, Michael Gardner wrote: What is the status of derived bean support in betwixt? I searched the list archive, but found only some relatively old information. somewhere between started and finished :-/ it's a complex subject and a comprehensive solution would be

RE: [betwixt] Exception suppression

2006-03-07 Thread robert burrell donkin
On Tue, 2006-03-07 at 17:21 -0500, Igor Marakov wrote: Robert, Do you have an approximate list of exceptions that SHOULD be handled by betwixt? i'm not sure a general list is possible: the semantics of each method mean that it would need to be done on a case-by-case basis. for some APIs, an

Re: [betwixt] Reader registration problem

2006-03-01 Thread robert burrell donkin
hi igor are you using the latest code (from a recently nightly or subversion)? if not, could you retry using the latest code? if you can supply a test case (please attach it to a bugzilla) demonstrating the issue, i'll see if i can fix it. - robert On Wed, 2006-03-01 at 16:40 -0500, Igor

RE: Betwixt Tutorial Problem

2006-02-22 Thread robert burrell donkin
On Tue, 2006-02-21 at 05:52 -0800, Jeff Marendo wrote: Thanks for all of the replies. I finally got things to work, and the problems I had were due to my own misunderstandings rather than something with the tutorial's code. I think some of what is written in the different sections

Re: problem using betwixt

2006-02-19 Thread robert burrell donkin
hi Marcos On Thu, 2006-02-16 at 17:57 +0100, Marcos Truchado Martín wrote: /?xml version='1.0' encoding='UTF-8' ? info primitiveTypes='attribute' element name='first-element' attribute name=foo property=field1/ attribute name=bar property=field2/ addDefaults/

RE: Betwixt Tutorial Problem

2006-02-19 Thread robert burrell donkin
On Thu, 2006-02-16 at 05:48 -0800, Jeff Marendo wrote: Thanks for the suggestions, but things are still not working. The .betwixt files are found at runtime so I don't think there is a problem in that area. For whatever reason, the program is coming up with a null value for the

Re: help with .betwixt files

2006-02-19 Thread robert burrell donkin
On Thu, 2006-02-16 at 13:04 +0100, Marcos Truchado Martín wrote: Hi. hi marcus I´m looking for a way of set the property WrapCollectionsInElement in the info/ element under a .betwixt file. Does anyone know how to do it?, I think that must be a way in the same way you can tell betwixt to

Re: Format of .betwixt files

2006-02-19 Thread robert burrell donkin
On Thu, 2006-02-02 at 12:39 -0600, Joseph Larson wrote: Can someone point me to a full description of a .betwixt file? There is information scattered throughout the various betwixt documents, but I have been unable to find a complete description of the contents. there is a DTD:

Re: Log4JLogger does not implement Log

2006-02-07 Thread robert burrell donkin
please download the latest release candidate from http://people.apache.org/~rdonkin/commons-logging. replace *all* JCL jars (there will probably be a few in various classloaders since this causes the problem you note) with new jar's. - robert On Thu, 2006-02-02 at 16:33 +, Lee Hammond

RE: RE:Commons-logging WSAD5.1

2006-02-06 Thread robert burrell donkin
On Fri, 2006-02-03 at 11:19 -0600, Srilatha Alase wrote: Robert, thanks for correcting..good news is that It worked! I'm able to start and run my application. but I'm again back to square one :( the point is not where you are but what we have learnt :) we now now that you current

RE: RE:Commons-logging WSAD5.1

2006-02-02 Thread robert burrell donkin
On Thu, 2006-02-02 at 13:17 -0600, Srilatha Alase wrote: Robert, Thank you for the latest jar files and the information that you provided. I took the following steps:- Cleaned all the old commons-logging jar files. I removed commons-logging-api.jar in the WSAD provided libraries.

RE: RE:Commons-logging WSAD5.1

2006-02-01 Thread robert burrell donkin
On Tue, 2006-01-31 at 17:36 -0600, Srilatha Alase wrote: Hi Robert, Thank you for your input.. When I changed the commons-logging.properties to have the following entry:- org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4jLogger Now I'm getting an error on startup

Re: RE:Commons-logging WSAD5.1

2006-01-31 Thread robert burrell donkin
On Tue, 2006-01-31 at 14:47 -0600, Srilatha Alase wrote: Hi, I have a problem with DEBUG messages being printed in the SystemOut.log file. we have migrated from WSAD version 4 to WSAD 5.1 and we are encountering that commons-logging does not consider the level assigned in the

Re: [digester] create parent from child node value

2005-12-21 Thread robert burrell donkin
On Tue, 2005-12-20 at 18:10 +0100, Valerio Schiavoni wrote: Hello Marco, i've already considered that option, but it looks quite poor design to provide so many setXXX methods on objects that will be initialized once and forever. Further, there are no restrictions to call those set methods

Re: Betwixt and Log4j

2005-12-21 Thread robert burrell donkin
On Sun, 2005-12-18 at 22:26 +0100, Jakub Piechnik wrote: Hello I'm new to Betwixt. When I was creating my fiorst project using betwixt everything was ok, but then when I add that project into larger project - something went wrong. I mean code which was good, and worked started to faild.

Re: Can Betwixt/Digester directly access public data membersw/ogetters/setters?

2005-12-14 Thread robert burrell donkin
On Wed, 2005-12-14 at 15:47 +, Guillermo Bares wrote: I would like to help to code betwixt support. The approach I mentioned seemed to me to a step in that direction. If you have another approach in mind I would be glad to hear it. Please let me know what you have in mind, and I will

Re: Can Betwixt/Digester directly access public data members w/ogetters/setters?

2005-12-13 Thread robert burrell donkin
On Mon, 2005-12-12 at 20:56 +, Guillermo Bares wrote: I am definitely interested in adding support for fields. If you have ideas of what the best way to go about it would be, I would greatly appreciate it. T. Dudziak previously Thomas Dudziak that the SetPropertiesRule would be a

Re: Can Betwixt/Digester directly access public data members w/o getters/setters?

2005-12-11 Thread robert burrell donkin
On Wed, 2005-12-07 at 16:10 +, Guillermo Bares wrote: snip 2) If there is no configuration mechanism, I am willing to extend the Betwixt/Digester frameworks. I have a couple ideas on where to start, but I would like to hear others. for various pretty obscure reasons, i intend to add

Re: Betwixt - Strings set to null strings when reading a Collection of strings

2005-12-10 Thread robert burrell donkin
On Fri, 2005-11-25 at 09:13 +, David Gough wrote: I have been trying to get Betwixt to read/write my java classes and have run into a problem with read Collections of Strings. hi david (sorry for the late response: my ISP's had major major email issues for the last or so) this is a bug.

RE: Log4JLogger Not Thread Safe?

2005-12-01 Thread robert burrell donkin
On Tue, 2005-11-29 at 13:31 -0600, Wilson, Chris (SAHQ I/S) wrote: To preface, let me state I am certainly not a JVM, compiler, or threading expert! that makes two of us! however, the first step to knowledge is the acknowledgement of ignorance... The link you provided

Re: Log4JLogger Not Thread Safe?

2005-11-29 Thread robert burrell donkin
On Mon, 2005-11-28 at 10:15 -0600, Wilson, Chris (SAHQ I/S) wrote: Hello, I was looking at the source code of Log4JLogger and it seems to me that it may not be thread safe after deserialization. The implementation holds a transient variable called logger which is initialized at

Re: Betwixt : Class Loader - Food for thought

2005-11-20 Thread robert burrell donkin
On Sun, 2005-11-20 at 19:07 +0100, Thomas Dudziak wrote: On 11/20/05, Ryan McGuinness [EMAIL PROTECTED] wrote: I have been trying to get betwixt running with the IBM JDK within WebSphere. While sifting through the source, I noticed that each class that deals with loading classes does

Re: Betwixt: JRE compatabilities

2005-11-18 Thread robert burrell donkin
On Thu, 2005-11-17 at 21:39 -0600, Ryan R. McGuinness wrote: Which JRE's are betwixt compatible with? More directly, does it work with IBM JDK 1.3 (or 1.3 at all)? Which libraries are needed to make this work? the last betwixt release was compiled against using blackdown 1.3.1. (i don't

Re: [csv] Creating a CSV component

2005-11-18 Thread robert burrell donkin
On Thu, 2005-11-17 at 09:36 -0600, Don Seiler wrote: Stefan Rufer wrote: The discussion was continued on the commons-dev mailing list. Henri Yandell proposed to bring in the Netcetera CSV code via the Apache Incubator Project. I think that's a good idea and I will try to put some

Re: [betwixt] Array of extended class

2005-11-17 Thread robert burrell donkin
On Thu, 2005-11-17 at 10:08 -0500, Sacha Fournier wrote: Hi, I have something like this: MainClass.java class MainClass { private MyObject aObject[]; public MyObject[] getMyObject() { return this.aObject; } } MyObjectA.java class MyObjectA extends MyObject {

Re: [betwixt] mapping java.util.Map

2005-11-17 Thread robert burrell donkin
On Thu, 2005-11-17 at 12:13 -0800, Brian Ferris wrote: It seems that the rules for mapping a java.util.Map are determined by the BeanProperty.createDescriptorForMap() method. Is there any way to override this method or change the behavior of java.util.Map mapping. After examining the

Re: Menu In struts tiles

2005-11-16 Thread robert burrell donkin
On Mon, 2005-11-14 at 13:53 +, Kanuri, Chand wrote: Hi all, I am using struts tiles in my web app. can any one suggest me to build the menu in tiles purely using java code? you'll probably get a better answer quicker if you ask over on the struts user list. please read

Re: [OT] - UDDI Creation and administration tool question

2005-11-12 Thread robert burrell donkin
On Fri, 2005-11-11 at 09:39 -0600, Alfredo Ledezma Melendez wrote: Hello, hi In our company we are developing a SOA architecture using web services; I proposed to my boss to post them using an internal UDDI. The question is, are there some commons related projects can I use to

Re: [VFS] No binary downloads?

2005-11-08 Thread robert burrell donkin
On Tue, 2005-11-08 at 18:39 +0100, David J. M. Karlsen wrote: Mario Ivankovits wrote: David J. M. Karlsen wrote: Is this a current snapshot - or a 1.0 release. I'm interested in the stable release. I was still not able to create the 1.0 release. OK - now I get it. It's out of

Re: Betwixt : flavours for complex objects

2005-11-08 Thread robert burrell donkin
On Tue, 2005-11-08 at 00:48 -0800, Brian Ferris wrote: So I'd like to toss my two cents in on the issue. grand :) I was recently working with a custom IdStoringStrategy which used an Option value to determine if an instance of an object would be encoded with an id-ref or not.

Re: betwixt: can it round-trip a tree structure?

2005-11-07 Thread robert burrell donkin
hi ryan that's quite a cool example :) if you'd fancy contributing it to the betwixt documentation please submit a patch. (you'll find information about how to do this by browsing http://jakarta.apache.com/commons http://jakarta.apache.org and http://www.apache.org/dev. please attach patches

Re: LogConfigurationException NullPointerException

2005-11-03 Thread robert burrell donkin
On Thu, 2005-11-03 at 01:27 +, Ramu Srinivasan wrote: Hi, hi please remember to prefix with your subject I am using ant to build my EAR which is deployed in WAS 5.1. Log4J isn't getting initialized and I get the following exception. But it works file when I build the EAR file with

Re: Betwixt : flavours for complex objects

2005-11-02 Thread robert burrell donkin
On Tue, 2005-11-01 at 07:58 -0600, Ryan McGuinness wrote: I have an issue with objects and flavours, and need to know where to look. I have read the docs, and the source, at this point it still is unclear. I have two objects public Object1 { private String name; Object2

Re: HttpClient: can it cause too many open files ?

2005-11-02 Thread robert burrell donkin
On Wed, 2005-11-02 at 18:03 -0500, Zhaohua Meng wrote: HttpClient gugus, I have a HttpClientEngine (see code listing at the bottom ) which wraps commons HttpClient. It is used as following in my code deployed on SuSe Linux. for (int i=0; irequests.length; i++) }

RE: Commons-Betwixt : Few Queries

2005-10-27 Thread robert burrell donkin
On Wed, 2005-10-26 at 08:41 +0200, Alex wrote: Xstream is used in Axis Project, there you would find so many examples. to the best of my knowledge, xstream does not play a major role in either axis version. axis 1 uses castor. axis 2 uses xmlbeans amd jibx. but that's not to say it's not a good

Re: [betwixt] Only use idref for == objects, not for equal objects

2005-10-26 Thread robert burrell donkin
On Tue, 2005-10-25 at 13:35 +0200, Wim Deblauwe wrote: ok. What do you exaclty mean by saying that betwixt is a bean mapper (not an xml serializer)? Do you believe there are better options for serializing and deserializing java-objects to/from xml? serializers just concentrate on serializing

Re: [betwixt] Only use idref for == objects, not for equal objects

2005-10-24 Thread robert burrell donkin
On Sun, 2005-10-23 at 14:05 +0200, Wim Deblauwe wrote: ok, thanks. This will be in the 0.8 release then I guess? Any idea when this will happen? nope :) been a few months and the last of tasks done since the last release is quite long so if there's demand out there, i suppose we could look at

Re: [betwixt] Books on Betwixt

2005-10-22 Thread robert burrell donkin
On Tue, 2005-10-18 at 00:38 -0700, Konstantin Priblouda wrote: --- Sameer Nanda [EMAIL PROTECTED] wrote: I am still looking for good books on Betwixt, anyone wants to recommend any good books !!! I'm not aware of them. Try to look in O'Reily or Manning publishing. to the best of

Re: [betwixt] Only use idref for == objects, not for equal objects

2005-10-22 Thread robert burrell donkin
On Mon, 2005-10-17 at 10:12 +0200, Wim Deblauwe wrote: Hi, Betwixt outputs idref attributes for objects that are equal. It would be better if it only used idref for objects that are the same reference (==). Because when you use Betwixt now to serialize 2 equal objects, they turn into the

Re: Apache betwixt

2005-10-09 Thread robert burrell donkin
On Thu, 2005-10-06 at 15:44 -0700, vladimir lenin wrote: Hello, hi vladimir I am trying to use Betwixt to parse an XML document with elements from more than one namespace. But I am running into problems. Does Betwixt support namespaces? yes at the moment, there are no strategies so

Re: Fwd: Managing XML Output from Betwixt

2005-10-06 Thread robert burrell donkin
those of us who use filter will pick up questions much quicker if you prefix the subject (add [betwixt]). see http://wiki.apache.org/jakarta-commons/JakartaCommonsEtiquette. On Mon, 2005-10-03 at 11:46 -0400, Sameer Nanda wrote: Well thanks again Russell, Whatever you said is true, I can

Re: [betwixt] Cannot make collections work

2005-09-21 Thread robert burrell donkin
On Fri, 2005-09-16 at 11:07 +0200, Holger Haag wrote: snip Hello Robert, thank you very much for the information and your time. I actually have the same problems with maps and lists, so maybe the map example was not the best choice. The problem remains pretty much the same: I am

Re: [betwixt] Cannot make collections work

2005-09-20 Thread robert burrell donkin
On Fri, 2005-09-16 at 11:07 +0200, Holger Haag wrote: robert burrell donkin wrote: On Wed, 2005-09-14 at 23:23 +0200, Holger Haag wrote: Hello Robert, thank you very much for the information and your time. I actually have the same problems with maps and lists, so maybe the map example

Re: [betwixt] Specify a certain class in a betwixt file

2005-09-01 Thread robert burrell donkin
On Thu, 2005-09-01 at 14:10 +0200, Thomas Dudziak wrote: On 9/1/05, Wim Deblauwe [EMAIL PROTECTED] wrote: is it possible to specify a certain type of class in you betwixt file that the introspector should use? Not sure whether really helps, but you might want to try the

Re: Betwixt - convert XML to a bean Collection

2005-08-21 Thread robert burrell donkin
i think that this is caused by a bug which has now been fixed. could you try again using either the code from HEAD or a recent nightly? - robert On Fri, 2005-08-19 at 07:25 -0700, Cristiane Fogaça wrote: Hi, Does anybody know how to convert an XML to a Collection of beans? Here is the

Re: [betwixt] Time and memory performance

2005-08-09 Thread robert burrell donkin
On Tue, 2005-08-09 at 01:36 -0700, Kirill Grouchnikov wrote: I'm soory, but i am really tired of this fruitless dispute. i for one am very glad at that. i'm also glad that you finally got round to giving your plug for JAXB2 (bit slow, i thought). This will be my last mail on below issues. a

Re: [betwixt] Time and memory performance

2005-08-08 Thread robert burrell donkin
On Sun, 2005-08-07 at 07:06 -0700, Kirill Grouchnikov wrote: Robert, all dynamic binders by their nature require tuning. though your benchmarks are useful for generative binders, they not all that informative for the dynamic binders. all dynamic binders are slow (since they use

Re: [betwixt] Time and memory performance

2005-08-08 Thread robert burrell donkin
On Sun, 2005-08-07 at 07:12 -0700, Kirill Grouchnikov wrote: IMO your project would be far more effective if it didn't suffer so much from being obviously just one man's opinions. setting yourself up as a expert without taking great care to ensure that you understand the subject and

Re: [betwixt] Time and memory performance

2005-08-08 Thread robert burrell donkin
On Sun, 2005-08-07 at 07:06 -0700, Kirill Grouchnikov wrote: Robert, kirill # xml-commons jar files (resolver.jar and which.jar) have common names which can easily lead to jar name collision The jar naming *is* a big concern once you start to use open source libraries *and* your own. The

Re: [betwixt] Time and memory performance

2005-08-08 Thread robert burrell donkin
On Mon, 2005-08-08 at 13:43 -0700, Kirill Grouchnikov wrote: Robert, # xml-commons jar files (resolver.jar and which.jar) have common names which can easily lead to jar name collision The jar naming *is* a big concern once you start to use open source libraries *and* your

Re: [betwixt] Time and memory performance

2005-08-07 Thread robert burrell donkin
On Sat, 2005-08-06 at 10:14 -0700, Kirill Grouchnikov wrote: Robert, You are more then welcome to provide the correct use of Betwixt for optimal time and memory footprint. There are couple of things that you should be aware of: 1. The default options should be the best ones. If i need to

Re: [betwixt] Sample code not working

2005-08-06 Thread robert burrell donkin
On Fri, 2005-08-05 at 08:34 -0700, Kirill Grouchnikov wrote: So, two things that finally made the code work: 1. Betwixt can not handle private static inner classes as beans, only public static inner classes. betwixt uses standard java reflection to create classes. AFAIK private inner

Re: [email] progress on 1.0 release?

2005-08-02 Thread robert burrell donkin
On Tue, 2005-08-02 at 12:14 -0700, Eric Pugh wrote: First off, I'll start with a mea culpa. As one of the people who picked up commons-email and moved it from commons-sandbox into commons proper, and a committer on the Turbine project where commons- email came from, I should have done a

[ANNOUNCEMENT] Right Commons-Cli 1.0 Jar Now In Java Repository

2005-08-01 Thread robert burrell donkin
For many months, the Apache java repository has contained an unofficial snapshot named commons-cli-1.0 rather than the official 1.0 release. This jar has been mirrored to ibiblio and made available through Maven as commons-cli-1.0. I'd like to extend apologies to you all on behalf of the Jakarta

Re: [Betwixt] Customizing Vector binding with dot betwixt file

2005-07-31 Thread robert burrell donkin
On Tue, 2005-07-26 at 18:25 +0200, Rodrigo Partearroyo wrote: I´m trying to serialize a Vector of Strings. They are the security-roles allowed to access some part of my webapp. The output i need is this: security-roles security-role rol=rol1 / security-role rol=rol2 /

RE: [email] progress on 1.0 release?

2005-07-28 Thread robert burrell donkin
On Thu, 2005-07-28 at 16:34 +1200, Simon Kitching wrote: On Wed, 2005-07-27 at 22:25 +0100, robert burrell donkin wrote: it's rare that any initial release candidate survives scrutiny from the commons release maestros so i'm sure that an RC6 will have to be rolled anyway. i'm just

[ANNOUNCEMENT] Jakarta-Commons Betwixt 0.7 Released

2005-07-27 Thread robert burrell donkin
The Jakarta Commons Team is pleased to announce the latest release of common-betwixt from Apache. Betwixt is a flexible, dynamic, start-from-beans xml-object binder. For more information on Betwixt, please see http://jakarta.apache.org/commons/betwixt/. Betwixt 0.7 is a feature release adding

[ANNOUNCEMENT][email] commons-email release candidate 5 available

2005-07-27 Thread robert burrell donkin
the fifth release candidate for commons email is now available for download from http://people.apache.org/~rdonkin/commons-email/. feedback welcomed - robert signature.asc Description: This is a digitally signed message part

Re: Corrupt Word File Upload

2005-07-25 Thread robert burrell donkin
hi ken please read http://wiki.apache.org/jakarta-commons/JakartaCommonsEtiquette and remember to prefix your subject appropriately. most attachments are now stripped so i'd suggest creating an issue in bugzilla (http://issues.apache.org/bugzilla) and attaching the file to that. you can then use

Re: [email] progress on 1.0 release?

2005-07-24 Thread robert burrell donkin
On Sun, 2005-07-24 at 08:04 +1000, Dion Gillard wrote: On 7/24/05, robert burrell donkin [EMAIL PROTECTED] wrote: hi dion On Fri, 2005-07-22 at 21:13 +1000, Dion Gillard wrote: Yes. I have the source at a point where I'm happy to build an RC and make it available, however I have very

Re: [Messenger] Abandonware?

2005-07-24 Thread robert burrell donkin
On Sun, 2005-07-24 at 10:33 -0400, Henri Yandell wrote: snip As he was the only developer on Messenger, the one in Commons is effectively deprecated in favour of the Codehaus project. We need to come up with a dormancy process for the sandbox to make this more clear. hi hen managed to have

[all] archiving sandbox components [WAS Re: [Messenger] Abandonware?]

2005-07-24 Thread robert burrell donkin
On Sun, 2005-07-24 at 16:27 +0100, robert burrell donkin wrote: On Sun, 2005-07-24 at 10:33 -0400, Henri Yandell wrote: snip As he was the only developer on Messenger, the one in Commons is effectively deprecated in favour of the Codehaus project. We need to come up with a dormancy

Re: [betwixt] Making deserialise work like serialise (long)

2005-07-24 Thread robert burrell donkin
(back from apachecon now) On Fri, 2005-07-15 at 12:26 +0100, Ricardo Gladwell wrote: robert burrell donkin wrote: On Thu, 2005-07-14 at 17:46 +0100, Ricardo Gladwell wrote: it's a bit complicated by the fact that it's a release candidate (not a SNAPSHOT). release candidates should

RE: [betwixt] AddDefaultsRule bug in 0.7RC2

2005-07-24 Thread robert burrell donkin
On Thu, 2005-07-14 at 16:25 -0500, Glenn Goldenberg wrote: hi robert: you help's appreciated. if (in future) you want to help to speed the process of application, please read http://jakarta.apache.org/site/getinvolved.html and consider creating some patches (once you get the hang of

  1   2   3   4   5   >