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

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,