A much earlier version of the framework (an early beta) 
included a JDBCQuery component that would execute a JDBC 
query, then iterate over the result set, converting each 
row into a Map and rendering its body (like a Foreach).

About the rest ...

Tapestry is just the presentatation layer, it has no 
real designs on being the data access layer and it is 
completely agnostic about all that.

However, showing how it operates within a J2EE 
environment is important.

The JBoss requirement is JUST FOR THE TURN-KEY DEMO.  
Tapestry is coded completely against standard APIs 
(i.e., javax.servlet) and has no dependencies on any 
particular servlet container or application server.  You 
can use Tapestry in anything from single-layer flat-file 
database, to globe-spanning EJBs ... as long as it looks 
like objects and JavaBeans properties, Tapestry will be 
happy.

OGNL is actually someone else's product.  It was much 
better than the equivalent code in Tapestry, so I 
stripped out my code and plugged in Drew's.  The less 
code in Tapestry, the better my code coverage reports 
look!



--
[EMAIL PROTECTED]

http://tapestry.sf.net
> I just started looking into Tapestry for use on my next project which is 
> primarily a large report generating on-line database.  In the past I had 
> used a combination of JSP/Servlets, Hibernate (for object persistence), and 
> my own custom package which amounted to a custom tag library for iterating 
> over and navigating thru persisted objects.
> 
> It sounds like Tapestry's OGN library is close to a drop-in replacement for 
> my custom library, but I was wondering if there were any components for 
> iterating directly over a JDBC Resultset?  The data in this project lends 
> itself to direct access (for some pages) and creating objects to 
> encapsulate it all seems a bit of a waste.
> 
> 
> As a follow-up, I had downloaded Tapestry once before, but had not had a 
> chance to try it out.  The old Tutorial docs do not insist on the use of a 
> EJB container while the new docs do.  I currently have no interest in using 
> EJBs and *almost* gave up on Tapestry when it looked like it was only able 
> to run within an EJB container.  Almost as a shot in the dark, I started 
> the tutorial using the non-JBoss instructions from the older version and it 
> worked!  Perhaps the tutorial could be a bit more inviting to non-EJB users?
> 
> Thanks for your help,
> 
> Eric Everman
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to