Re: Second 1.1 beta 1 snapshot

2007-07-02 Thread Sean Landis

  - Added JAXB 2.0 and StAX 1.0 libraries.

Hi Jerome,
Is there a reason that JAXB 2.1.3 wasn't used?

Thanks,
Sean


RE: Second 1.1 beta 1 snapshot

2007-07-02 Thread Jerome Louvel

Hi Sean,

The reason was that upon JavaSE 6.0 support (with includes JAXB 2.0) in
Restlet 2.0, I wanted to be automatically compatible. 

But, now that I think about it again, we could also maintain a JAXB 2.1
extension along with a org.restlet.resource.JaxbRepresentation class added
to Restlet 2.0.

Best regards,
Jerome  

 -Message d'origine-
 De : news [mailto:[EMAIL PROTECTED] De la part de Sean Landis
 Envoyé : lundi 2 juillet 2007 17:36
 À : discuss@restlet.tigris.org
 Objet : Re: Second 1.1 beta 1 snapshot
 
 
   - Added JAXB 2.0 and StAX 1.0 libraries.
 
 Hi Jerome,
 Is there a reason that JAXB 2.1.3 wasn't used?
 
 Thanks,
 Sean


Second 1.1 beta 1 snapshot

2007-06-19 Thread Jerome Louvel

Hi again,

As requested by some of you, here is a new snapshot of the upcoming 1.1 beta
1. We are still actively developing new features in the 1.1 roadmap and are
looking out for contributions too (check the list of RFEs in the roadmap).
http://www.restlet.org/downloads/1.1/current.zip


Changes since previous snapshot:

 - Added abstract CharacterRepresentation for representations based on
character streams.
 - Added ReaderRepresentation for representations based on characters
Readers.
 - Added WriterRepresentation for representations based on characters
Writers.
 - Added ByteUtils.toString(Reader) method and refactored
ByteUtils.toString(InputStream)
   to reuse it.
 - Added ByteUtils.getReader(InputStream, CharacterSet) method.
 - Added getReader() and a write(Writer) methods on Representation class.
 - Exposed the file property on the FileRepresentation class.
 - Added two new FreeMarker's TemplateRepresentation constructor to allow
more ways to
   provide the template (via a representation or directly as a FreeMarker
Template object).
 - Added W3C XML Schema and Relax NG media types.
 - Added validate() methods on XmlRepresentation to validate an XML
representation against
   a given schema.
 - Added a getSource() method on XmlRepresentation that results a JAXP
Source instance.
 - Added JAXB extension based on a contribution by Overstock.com (via Sean
Landis).
 - Added JAXB 2.0 and StAX 1.0 libraries.
 - Added a Template.getVariableNames() method. Suggested by Stian Soiland.
 - Added new Dimension.AUTHORIZATION enum entry. Suggested by Stian Soiland.
 - Optimized the Resource handling of conditional gets. If the conditions
are not met, the
   getRepresentation(Variant) method is never invoked. Suggested by Stian
Soiland.
 - The ServletConverter now also copy the Servlet's request attributes into
the Restlet attributes map. Suggested by Leigh Klotz.

Finally, the new Grizzly-based, full NIO HTTP/HTTPS connector is now
working, you can test it!

Best regards,
Jerome Louvel
--
http://www.restlet.org