Sorry,

 

Let me be more explicit – the definition of a resultClass=”xml” in the “straight-to-xml” example (which is flat) doesn’t seem to allow for multiply records like the List.

 

Sorry getting late East Coast time…

 

Bill Morone

 

-----Original Message-----
From: Morone, Bill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 5:17 PM
To: discuss@restlet.tigris.org
Subject: RE: RE: XForms, Restlet/Tomcat Integration

 

Hey Good folks:

 

I am trying to turn a multiple row record set straight into an xml doc – it doesn’t seem to be working – is it not yet possible?

 

Thanks,

Bill

 

-----Original Message-----
From: Jerome Louvel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 11:57 AM
To: discuss@restlet.tigris.org
Subject: RE: XForms, Restlet/Tomcat Integration

 

Hi Frederic,

 

The Servlet connector integrated with the Restlet was tested with Tomcat 5.5 on JDK 5.0. This part should work fine :-) Do you still have issues?

I will expand the Javadocs of ServerServlet with the information from my email below in order to make this easier for future users.

 

Concerning XForms, the Chiba project has two related parts:

 - chiba core : XForms processor

 - chiba web : integration with Servlet containers

 

The quickest path for you is probably to use Tomcat and chiba Web. But, then, what kind of integration are you expecting with Restlets?

Ideally, you should directly integrate the chiba-core with Restlets, replicating and adapting the job done on the Chiba Web.

 

Cheers,

Jerome

 


De : Frédéric Rougeot [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 24 mai 2006 09:34
À : discuss@restlet.tigris.org
Objet : Re: XForms, Restlet/Tomcat Integration

Hello,

I have a generic question regarding an implementation of XForm with Restlet (for instance Chiba).

 

As a first step, this involves using a servlet engine, as Tomcat. If someone has just tried to do such thing, sharing his experience could prevent from common pitfalls. (tomcat version, JDK version ....)

 

I translate here an exchange with Jerome Louvel that provides me with the answer to the frequently asked question of the integration of Restlet with Tomcat.

----------

Hello,
 
There is no tutorial that explains how to integrate Restlet with Tomcat, only a point in the FAQ:
http://www.restlet.org/faq#02
 
As a summary, the goal is to use the class com.noelios.restlet.ext.ServerServlet as a Servlet Adaptator within Tomcat
and as HTTP connector within the Restlets.
 
1) Configure a webapp for Tomcat, see descriptor model:
http://www.restlet.org/docs/nre/com/noelios/restlet/ext/servlet/ServerServlet.html
You have to replace com.noelios.restlet.test.TraceTarget by your class that implements the interface Restlet (subclass of RestletContainer for instance). This class will be automatically instanciated at the first call to the connector and this instance will be used afterwards.


2) Include at least the following JARs:
org.restlet.jar
com.noelios.restlet.jar
restlet.servlet.jar
 
You may need a ServletContext that is accessible thanks to ServletCall. 

Regarding XForms, it seems perfectly feasible with a REST architecture .


Jérôme Louvel

----------------

 

 

Frédéric Rougeot

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

 

This message, including any attachments, is intended only for the recipient(s) 
named above. It may contain confidential and privileged information. If you have 
received this communication in error, please notify the sender immediately and 
destroy or delete the original message. Also, please be aware that if you are not 
the intended recipient, any review, disclosure, copying, distribution or any 
action or reliance based on this message is prohibited by law.

This message, including any attachments, is intended only for the recipient(s) 
named above. It may contain confidential and privileged information. If you have 
received this communication in error, please notify the sender immediately and 
destroy or delete the original message. Also, please be aware that if you are not 
the intended recipient, any review, disclosure, copying, distribution or any 
action or reliance based on this message is prohibited by law.  

Reply via email to