Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Tapestry looks very nice

Tapestry Home While leaving a comment on my ActionForms: Struts' bastard child post, Erik Hatcher sounds like a broken record:

> When are you going to just quit asking questions and try out Tapestry? 
> You can build it from CVS HEAD easily or just grab a 3.0 binary (currently 
> beta, but way stable). Drop in the WorkBench WAR file and see for yourself.

So I took 5 minutes and downloaded and deployed the WorkBench WAR. Check it out if you like. Looks pretty nice to me. The DatePicker is pretty cool, but it shows up in the wrong spot on Firefox - and it's annoying that I can't close it just by clicking on the screen somewhere (like most popup calendars). Also the Chart doesn't work on my Linux box (it worked fine on Windows).

However, if you're looking for something like the DisplayTag, Tapesty has that. The URLs it constructs for everything look a little ridiculous though. I wonder if a Filter with smarts could pretty those up?

Posted in Java at Feb 09 2004, 12:24:39 PM MST 10 Comments
Comments:

to get the chart to work, you will probably have to go into your tomcat's (or whichever server) startup script and enable the headless option for the JDK (assuming you are running 1.4.x). i dont' remember the exact variable to set, but you can google for it.

Posted by anon on February 09, 2004 at 03:31 PM MST #

I seem to recall the Tapesty's inspiration was WebObjects; though I rather liked WO, Tapestry has kept the "ugly URL" tradition alive for sure.

Posted by Lance on February 09, 2004 at 03:43 PM MST #

Thanks anon - I added "-Djava.awt.headless=true" to my CATALINA_OPTS environment variable and it fixed the problem.

Posted by Matt Raible on February 09, 2004 at 04:18 PM MST #

Glad you like it. Seems like Erik is much more aggresive than me about promoting Tapestry of late! URLs are probably people's sorest point, but I have plans for that in 3.1. We need more flexibility to modularize the application properly (just to be compatible with J2EE authentication, if for no other reason).

Posted by Howard M. Lewis Ship on February 09, 2004 at 04:45 PM MST #

I was going to use tapestry on a project but the client absolutely refused. The Information Architect responsible for the site navigation, search ... couldn't tolerate the ugly URLs generated by tapestry, he even caused a fuss about jsessionid in the url.

Posted by Unknown on February 09, 2004 at 05:24 PM MST #

Yes, the URL's are ugly. But, the counterpoint is do you want to concern yourself with plumbing and URL's or simply tie a hyperlink to Java code? It is a bit of different thinking than with the Struts style, where you must think of URL's first. As Howard mentioned, work will be done to partition URL's and perhaps pretty them up some.
Re: jsessionid in the URL: Ummm.... Struts has that too.... if you disable cookies. Sheesh.
As for the DatePicker (and also Inspector, the floating "T" icon) - these are a bit broken in Safari as well. Your JavaScript wizardry could really come in handy :) I'll take a stab at fixing these eventually, if no one beats me to it.

Posted by Erik Hatcher on February 10, 2004 at 04:15 AM MST #

What i meant to say was that we did the project in struts and this Information Architect was even complaining about the jsessionid that appeared during his testing.

Posted by Unknown on February 10, 2004 at 05:16 AM MST #

Can someone who has used both xwork/webwork2 compare it to Tapestry?

Posted by Unknown on February 10, 2004 at 09:12 AM MST #

quite frankly, I don't see what the big fuss is with long convoluted url's. It doesn't seem to hurt amazon or ebay. if tapestry gets the job done, then the url size seems a small matter, pun intended.

Posted by Jason Boutwell on February 10, 2004 at 10:23 AM MST #

I've been using tapestry for a few months now. It aint perfect but I'm finding it really nice to work with. The URL's suck but it's great to never have to worry about URL management. The whole model feels much more like GUI development than web development.

Posted by Glen Stampoultzis on February 10, 2004 at 04:58 PM MST #

Post a Comment:
  • HTML Syntax: Allowed