ok, thanks
Can I simply return a jdbc resultset to a tapistry object? Sorry I am so dense on this. I have done JSP websites,
I wish there were more Tapestry database examples like struts has. I learn best by simple examples. I really want to learn Tapestry over struts. The only other framework I have been looking at is JSF and Studio Creator.
Frank
----- Original Message ----- From: "Andrus Adamchik" <[EMAIL PROTECTED]>
To: <tapestry-user@jakarta.apache.org>
Sent: Tuesday, April 12, 2005 10:43 AM
Subject: Re: AW: Looking for a database tutorial
Frank,
Then I think you need to realize that there is nothing database-specific in Tapestry. Tapestry pages will work with any objects you give them. It makes no difference whether such objects that were retrieved from the database or created by your application.
So how about you split your problem into two parts:
1. How do I get my data and convert it to objects. 2. How do I display these objects with Tapestry.
There is a number of choices for (1). The links I sent describe one of them - Cayenne object relational mapping. But you can simply use JDBC, hardcode a SQL query, read the result set into some Java objects that you define on your own... Do an Google search for JDBC-specific tutorials - there is nothing Tapestry specific in this...
For (2), just look into existing Tapestry applications (like Hangman) and substitute the part that creates in-memory data objects with a JDBC call above.
Andrus
Hello,
Thanks for the links.
I am new to this, and these tutorials seem too much for me.
I really just want a simple example for reading a database and displaying records from within Tapestry.
Regards,
Frank
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]