RE: [NEWBIE] RESTlet with JDBC tutorial

2009-04-08 Thread wouter88
I am solving with the same problem!
I want to create a database resource with jdbc connection.
I have read a lot of documentation this week but I don't know how i can 
integrate jdbc in this samples!
I want a user to login with a username and password (saved in the database) for 
the beginning and then do some user related stuff!

Can someone help me please!

Thx


Hi there,

Just look at the example provided with Restlet (org.restlet.example
packages). You will see how persistence of resource's state is done. 

It should then be straightforward to adapt that to JDBC/Hibernae/JPA or
similar technologies. Nothing really Restlet specific here.
 
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-Message d'origine-
De : webp...@tigris.org [mailto:webp...@tigris.org] 
Envoyé : mercredi 1 avril 2009 18:47
À : discuss@restlet.tigris.org
Objet : [NEWBIE] RESTlet with JDBC tutorial

Do anybody know where can I find tutorials to understand how to implement
simple resources with persistence through JDBC (ex: MySQL, ...) ?

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=15088
25

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1532664



-- 
View this message in context: 
http://n2.nabble.com/-NEWBIE--RESTlet-with-JDBC-tutorial-tp2570201p2605328.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1596609


RE: [NEWBIE] RESTlet with JDBC tutorial

2009-04-03 Thread Jerome Louvel
Hi there,

Just look at the example provided with Restlet (org.restlet.example
packages). You will see how persistence of resource's state is done. 

It should then be straightforward to adapt that to JDBC/Hibernae/JPA or
similar technologies. Nothing really Restlet specific here.
 
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-Message d'origine-
De : webp...@tigris.org [mailto:webp...@tigris.org] 
Envoyé : mercredi 1 avril 2009 18:47
À : discuss@restlet.tigris.org
Objet : [NEWBIE] RESTlet with JDBC tutorial

Do anybody know where can I find tutorials to understand how to implement
simple resources with persistence through JDBC (ex: MySQL, ...) ?

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=15088
25

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1532664