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.

JSF: Allows WebWork style Actions

Am I working too late or does JSF allow a WebWork style Action? According to this post, you can have your properties and your logic in the same class (like WebWork). Also, no more worrying about BeanUtils.copyProperties()?

Struts encourages you to use Strings for field values that might need conversion, in order to redisplay correctly in case of conversion errors. You don't need to worry about that with JavaServer Faces, because the redisplay is handled by the components themselves. You will generally use the native data types for your field properties.

Regardless of what the WW Developers say, I think I'm gonna dig Java Server Faces.

Posted in Java at Sep 17 2003, 07:03:34 PM MDT 5 Comments
Comments:

The WW guys talk shit about everything that's not WW, so I don't even bother with their opinions about server side stuff any more. That said, JSF is freakin' frightening. I tried to grok it by downloading the Web Services pack and checking it out, but just the XML config document is beyond comprehension. They're trying to compete with Microsoft instead of trying to solve a problem and are creating a monster instead of a clean solution. -Russ

Posted by Russ on September 18, 2003 at 11:18 AM MDT #

I agree that the XML config file is hideous, and that the JSP tags/syntax are even worse. I believe that Sun is planning on making up for this by getting a lot of support from the tools vendors (or their own: Rave) to make JSF drag-n-drop development. This sucks IMO b/c I've never liked drag and drop development.

Posted by Matt Raible on September 18, 2003 at 12:22 PM MDT #

I'm working my way through the 500+ page spec and I like what I see. I'm not done, but it appears to me that the UI component concept in JSF is a great improvement over plain old Web MVC frameworks like Struts and Webwork. I think you are correct: the form bean concept goes away. If Sun gets support from the tool vendors, that will be great, but one of the goals of the spec is to allow JSF development without any tools (other than your favorite code editor). If JSF succeeds, we'll see libraries of JSF UI components that can be used with any JSF implementation - and, so far, I don't see why both Struts and Webwork can take advantage of this by providing implementations of JSF.

Posted by Dave Johnson on September 18, 2003 at 01:01 PM MDT #

I never said there isn't something to like with JSF... I'm concerned with the same things you are. I don't want to be required to use a GUI builder for it... I'm also concerned about the performance of a system which does so many roundtrips and so much processing per request. It should be possible for us to integrate WebWork with JSF the same way Craig did for Struts, and I'll probably get around to that at some point.

Posted by Jason Carreira on September 18, 2003 at 01:45 PM MDT #

If that is what you are interested in, you might want to look at a project Lars Hoss and I are working on: Struts Action Invocation Framework (http://struts.sf.net/saif). Basically, it seeks to combine WW2/XWork ideas regarding action handling with Struts 1.1+. We will have the first release out in the next few days.

Posted by Don Brown on September 18, 2003 at 04:57 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed