Hard to say what the performance implications of Groovy are; it seems like a Tapestry application spends very little time in user code; most execution time is in framework code or in Hibernate/database access. So I doubt Groovy will have a major impact. I'm building a T5 Groovy app right now (you've seen some postings on my blog) and so far so good, with minor caveats (bug fixes going into 5.0.14).
IDEA Groovy support is limited and a bit buggy ... and, I'm told, still better that Eclipse support. To be honest, in terms of overall productivity, the gains addded by Groovy are (so far) offset by the clumsy IDE support and my relative unfamiliarity with the language. Regardless, I want 5.0 to work with Groovy and in 5.1 perhaps add some more involved support such as better handling of closures, optional Groovy-oriented APIs, and perhaps a groovy: binding prefix. On Tue, Jun 10, 2008 at 11:00 PM, Bill Holloway <[EMAIL PROTECTED]> wrote: > Actually, I started a new project in IntelliJ and am having no > problems. I started a blank Java project, added the built-in groovy > support (which I configured to point to my groovy 1.5.6 installation). > Then I just copied the tapestry libs over into a lib directory from > another project (5.0.11) and built up the web.xml by hand. I'll can > convert easily to manage the tapestry libs by ivy. > > No problems. > > The chief architect on our project is planning to use groovy classes > and scripts in our next version for dataloading and modeling. I'd > love to follow in with groovy-tapestry for the web app. Do you know > of anyone stress testing such an app, or have any ideas about > performance curves? > > On Tue, Jun 10, 2008 at 2:02 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: >> Which version of T5? I think 5.0.11 tripped across the Groovy >> metaClass field, and 5.0.12 is smart enough to ignore it. >> >> On Mon, Jun 9, 2008 at 11:10 AM, Bill Holloway <[EMAIL PROTECTED]> wrote: >>> In IntelliJ, I quickstart-mavened a new Tapestry 5 project, added the >>> Groovy facet, made sure I had the download (groovy 1.5.6), and wrote a >>> simple Groovy homepage: Home.groovy: >>> >>> class Home { >>> def getWelcome () >>> { >>> "Welcome, Bro!" >>> } >>> } >>> >>> In the resources package, I mirrored the pages package and put Home.tml: >>> >>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> >>> <head> >>> <title>Groovy-tapestry Home Page</title> >>> </head> >>> <body> >>> <h1>${welcome}</h1> >>> </body> >>> </html> >>> >>> Under a Jetty run config, visiting the homepage I get >>> >>> exception >>> org.apache.tapestry.internal.services.TransformationException: >>> Class us.antera.grapestry.pages.Home contains field(s) (metaClass) >>> that are not private. You should change these fields to private, and >>> add accessor methods if needed. >>> >>> Recommendations? >>> >>> -- >>> Bill @ PeoplePad >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> -- >> Howard M. Lewis Ship >> >> Creator Apache Tapestry and Apache HiveMind >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > Bill @ PeoplePad > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]