Hi All,
Thankyou for the emails that I received with helpful webpages (Serge
especially). My prototype (see parent post) is now working, and each
resource is simply returning a static XML document containing parameters
passed through in the URI.
I now have moved forwards and have a few more
Hello Marcus,
about point #1 have a look at this article [1] and the javadocs of the
TunnelService [2], especially the parameter "method" which is used in
the query string of URIs :
http://kjhkjhkh/klkjlkjl?method=put"; method="post">
best regards,
Thierry
[1] http://www.restlet.org/documentation
On this last point (how to do the persistence layer), there are many ways to
approach it. A good quote from Jerome:
> no particular persistence technology is favored by the Restlet API. Here are
> some possibilities for resources:
> - object database (such as db4o)
> - XML database (such as eXi
Hello,
We're working on an abstract UI framework based on Xul. It's well under way with
SWT and Swing support. Our plan is to use Java2JavaScrpt to reuse UI models and
event handlers.
However, we need to abstract Business Object calls in a generic way. Web clients
would XMLHttpRequest calls, Fat
Hi Bruno,
> I've been busy with other things since I volunteered last week, so I
> haven't started to work on the getRemoteUser() sub-problem yet, but I
> think I've got a reasonable patch regarding the client certificates.
Cool!
> There are a few problems, though.
>
> 1. Even with a clean d
Hi Aaron,
If you run in standalone mode, then you should call stop() on the Component
instance. If will stop the connectors and the applications.
By default, stopping an application does nothing and is left to developer.
Best regards,
Jerome
> -Message d'origine-
> De : news [mailto
Hi Nick,
On the server-side, Restlet can meet your needs, exposing RESTful services
as JSON or XML. If you prefer the RPC paradigm, (XML-RPC, JSON-RPC or SOAP),
Restlet may not be the best fit. If you are not sure, let us know, we can
provide more advices.
On the client-side, Rob Heittman is wor
Hi Jerome,
Jerome Louvel wrote:
1. Even with a clean download of the SVN trunk at the moment
(without my
patch), I can't get it to pass all the tests (in
'verify-tests'). I've
tried to build the latest code and test it on a Mac (10.5 and Java 5)
and on a Linux (Java 6), but there's always o
> 1) How can I submit PUT and DELETE HTTP requests to my URIs, to test that my
> various handler methods are working? Obviously GET and POST ones can be
> issued by knocking up a simple form...
> 2) When I eventually issue PUT and POST requests, how do I pass in data to
> create and update (re
Hi Paul,
> Well, at least update the Javadoc so it specifically says that the
> strings returned are not decoded.
Actually, there is already a paragraph on this in the Javadocs (1.1 M2) at
the class level, but not for each getter. I have just added a note to each
getter returning encoded strin
Hi Bruno,
[...]
> 1. I can't find which properties need to be used for setting the
> keystores and truststores used by the clients. Did I miss something?
> I've had to use -Djavax.net.ssl.keyStore, and similar VM parameters.
No those parameters are indeed missing :-/
> 2. As Chuck Hinson poi
I'm using Restlet 1.0.8, JDK 1.5.0_10 running on Tomcat 5.5.
Seems like this has been covered before but I couldn't find anything, my
apologies if it's been raked over many times.
If I post form data that includes a pull down menu (HTML SELECT), it
doesn't show up in the request's attributes,
Hi,
I've been looking at getting the preferred locale and I have a couple of
questions.
I see that getPreferredVariant() uses apaches content negotiation
algorithm
(http://httpd.apache.org/docs/2.2/en/content-negotiation.html#algorithm)
which includes using the Accept-Language header:
"|A
Hi Jerome,
Jerome Louvel wrote:
Hi Bruno,
[...]
1. I can't find which properties need to be used for setting the
keystores and truststores used by the clients. Did I miss something?
I've had to use -Djavax.net.ssl.keyStore, and similar VM parameters.
No those parameters are indeed missing
Hello Dustin,
your web form is in fact the entity of the POST request sent to the
server, thus you have access to it via request.getEntity().
There is a shortcut which allows to have a list of all input fields :
Form form = request.getEntityAsForm();
for (Parameter parameter : form) {
System.
Oh good, thanks very much!
Dustin
Thierry Boileau wrote:
Hello Dustin,
your web form is in fact the entity of the POST request sent to the
server, thus you have access to it via request.getEntity().
There is a shortcut which allows to have a list of all input fields :
Form form = request.ge
Hello Thierry,
I think request.getEntityAsForm() is THE solution. Why only use it as
workaround? What are I missing?
best regards
Stephan
Thierry Boileau schrieb:
Hello Dustin,
your web form is in fact the entity of the POST request sent to the
server, thus you have access to it via reque
Hi,
What is the correct way to start, stop and destroy applications. I am
doing the following at the moment
class Application1 extends Application {...}
class Application2 extends Application {...}
// start a minimal version of the applicaton while i do some stuff
// i.e. migration etc
Appli
Once i do Application.setRoot(...) do i need to do anything else for it
to take effect.
cheers
Hi, Jerome,
I am quite interested in the GWT implementation of Restlet Client API. Is
there any pre-release or SNAPSHOT version available that I can take a look?
On Wed, Mar 12, 2008 at 12:10 AM, Jerome Louvel <[EMAIL PROTECTED]> wrote:
>
> Hi Nick,
>
> On the server-side, Restlet can meet your
Sounds like this GWT library would make it through the J2S compilation, though
we had planned on hand-cranking some Javascript. I'm convinced that Restlets are
a good fit for our thin-clients. The fat-clients are my concern.
How do intra-process "server-side" calls work? Does there always have t
Hi Adam,
Thanks for pointing me towards curl. What an infinitely useful little CLI
utility for web development. I can see myself using this a lot from now on!
I plan communicating throughout the whole REST application in XML.
To test, I am simply using "curl --data-binary @input.xml --request
On Mar 11, 2008, at 9:46 AM, Jerome Louvel wrote:
Actually, there is already a paragraph on this in the Javadocs (1.1
M2) at
the class level, but not for each getter. I have just added a note
to each
getter returning encoded strings.
Thanks.
I meant that it might 'clutter' the class to ad
Thankyou Thierry,
Wow, this is all so flexible. I'm very excited about the way this is going!
One question though - I seem to be getting the TunnelService mechanism 'for
free'. How come?
Cheers,
Marcus.
(I will read the AJAX related pages properly when I come to my interface - I
can see how t
Hi Rob,
Thankyou for the very sound advise. I know exactly what you are saying about
having an object layer that communicates through a data access layer, to a
persistant storage.
I think I agree, I will leave my restlet app to the side for now, and start to
implement domain objects that can
25 matches
Mail list logo