Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 70858 invoked from network); 7 Jun 2002 07:56:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Jun 2002 07:56:48 -0000 Received: (qmail 25846 invoked by uid 97); 7 Jun 2002 07:56:58 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 25814 invoked by uid 97); 7 Jun 2002 07:56:57 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 25782 invoked by uid 97); 7 Jun 2002 07:56:56 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 7 Jun 2002 07:56:39 -0000 Message-ID: <20020607075639.99313.qmail@icarus.apache.org> From: jstrachan@apache.org To: jakarta-commons-sandbox-cvs@apache.org Subject: cvs commit: jakarta-commons-sandbox/betwixt/xdocs faq.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jstrachan 2002/06/07 00:56:39 Modified: betwixt/xdocs faq.xml Log: Updated the FAQ to include the recent discussion on betwixt versus JAXB / Castor Revision Changes Path 1.2 +30 -0 jakarta-commons-sandbox/betwixt/xdocs/faq.xml Index: faq.xml =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/xdocs/faq.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- faq.xml 6 Jun 2002 14:31:29 -0000 1.1 +++ faq.xml 7 Jun 2002 07:56:39 -0000 1.2 @@ -29,6 +29,11 @@ Why is this called Betwixt? +
  • + + How does Betwixt compare to technologies like JAXB and Castor? + +
  • Building Betwixt

      @@ -67,6 +72,31 @@ +
      +
      + + How does Betwixt compare to technologies like JAXB and Castor? + +
      +
      + Where JAXP and Castor are strong is when you have a well agreed schema (XML + Schema for Castor or a DTD in the case of JAXB, last time I looked) and want + to auto-generate beans for parsing and processing the XML. +
      +
      + Betwixt is strong is when you've already got the beans and just want a nice + looking XML format to serialize/deserialize your beans. + Indeed with Betwixt you can just write your beans and not even worry + about XML schemas and providing you follow a simple bean naming convention + (the use of getter, setter and adder methods) you'll get nice looking XML for free. +
      +
      + In JDK1.4 there is a + long term bean serialization + mechanism which you can use. However Betwixt generates cleaner looking XML which can be customized + to your own look and feel. Long term bean serialization doesn't generate nice looking XML. + +
      -- To unsubscribe, e-mail: For additional commands, e-mail: