Depends... if you have the DB under your control and have a complex object 
model that maps to a relational model then Tapestry is great. If however the DB 
is under the control of a DB Administrator, then you would be better of to use 
IBatis SQL Maps. 

If you are new to all this stuff, I would suggest to use pick up one technology 
at a time and get familiar with it: Java, Servlet Containers, Web Apps, JDBC, 
Tapestry, etc...

One of the tutorials that was suggested guides you to setup an environment, I 
would suggest to do that. Once you have your environment (Eclipse + spindle + 
Jetty + ...) under control, you can start learning and you don't have to worry 
about deployment etc.

Hope this helps,

Saqib

http://galaxy.sagadc.com
- Web Services in 15 Minutes -



> -----Ursprüngliche Nachricht-----
> Von: Frank [mailto:[EMAIL PROTECTED]
> Gesendet: Tuesday, 12 April 2005 5:04 PM
> An: Tapestry users; [EMAIL PROTECTED]
> Betreff: Re: AW: Looking for a database tutorial
> 
> ok, I was thinking of learning Hibernate, but did not want to take on too
> much too soon.
> Is Hibernate the best way to work in Tapestry?
> 
> I coming from an ASP/.NET background where I really did not have to think
> of
> all these things to get a web app running. I keep coming back to Java.<g>
> 
> Regards,
> 
> Frank
> 
> 
> ----- Original Message -----
> From: "Andrus Adamchik" <[EMAIL PROTECTED]>
> To: <tapestry-user@jakarta.apache.org>
> Sent: Tuesday, April 12, 2005 10:59 AM
> Subject: Re: AW: Looking for a database tutorial
> 
> 
> > IMO it is a bad idea to bind an open ResultSet to a page directly.
> You'll
> > get all kind of leaks and unpredictable behavior. If you want to stick
> > with JDBC in your app, the simplest way to bind your results is to first
> > process the ResultSet in a page Java class, converting it to a List of
> > Maps. Then set this list as a page property, binding it to @Foreach
> loop.
> >
> > Andrus
> >
> >
> >> 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]
> >
> >
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to