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.

Spring Web Flow and JSF

Keith Donald has a nice and long writeup on Spring Web Flow 1.0.3's stellar support for JSF:

One important area where our integration is growing is with the Java Server Faces (JSF) community. Beginning with Spring Web Flow 1.0.3, our JSF integration is on-par with what the Spring community expects, and delivers what JSF developers in the trenches need most. This blog will illustrate the integration enhancements to show you the difference Spring Web Flow is making for JSF developers.

One of the most interesting parts of the post is a few paragraphs down:

Basically, Web Flow solves every problem this pour soul experienced with JSF's basic navigation capabilities. As one of our leading users noted, Web Flow can be used as a complete replacement for JSF's default "forward-centric" navigation model.

It's also interesting to note that ideas from SWF could be incorporated into JSF 2.0:

I'd also like to take this opportunity to encourage those already using Spring Web Flow in a JSF environment to speak out about your experience?send me an email, leave a comment here, write an article on JSF central, tell leaders in the JSF community about your experience. Your real world experience can help influence the direction of the JSF 2.0 specification in a time where the specification lead has asked for community feedback. Interface21 has been extended an invitation from Ed Burns, the JSF specification lead, to be a part of the JSF 2.0 expert group, which is a recognition of Web Flow's contribution as an innovative JSF extension. We have accepted that invitation and are excited about helping channel whats proven to work in the area of navigation and state management on a general basis back into JSF 2.0, while continuing to chart new territory and remaining usable in any environment.

Are you using SWF with JSF? If so, have your experiences been good or bad? I'm sure Keith would love to hear about them either way.

I think it's interesting to note that both Interface21 and JBoss are doing a lot to build solutions to JSF's problems. Is there money to be made from supporting JSF? In reality, you have to like what both companies are doing: they're building solutions to overcome the shortcomings of JSF and they're contributing those solutions back to the community for free. Even cooler is the fact that both companies are trying to get their solutions into the next version of JSF. This benefits everyone as far as I'm concerned.

What about those of you using Spring Web Flow with Spring MVC or Struts? How is it working for you?

I recently integrated Spring Web Flow into my current project using the Spring Webflow Plugin. In the past, I've used SWF with Spring MVC and JSF, so the Struts 2 Plugin seemed a bit odd. I guess I'll know more once I start using it more.

This brings up a good question - do you think it's better to create a page flow (i.e. a shopping cart) without Spring Web Flow first, and then refactor? Or do you think it's easier to use SWF from the beginning? My gut feeling is to start w/o it because you may not need it. Then if you do need it, you'll understand the problems it solves. What are your thoughts?

Posted in Java at Apr 21 2007, 10:22:32 AM MDT 8 Comments
Comments:

I am currenltly beginning to learn swf and my first impression is that you can start with swf first because it might replace lots of the code from the controler. But It is a very first impression

Posted by G. on April 22, 2007 at 05:02 AM MDT #

I'm using JSF, Facelets with Ajax4jsf and my application has a data entry wizard like this example (http://livedemo.exadel.com/a4j-include/), i.e. when a button is clicked a part of the page is refreshed (not a whole new page is loaded). Does SWF work in this case?

If you have an example like the one above using SWF, JSF and Ajax4jsf, I'll be very thankful if you could send it to me at [email protected].

Posted by Thai Dang Vu on April 23, 2007 at 11:23 AM MDT #

http://livedemo.exadel.com/a4j-include/ does not work for Safari.

Posted by Johan Eltes on April 30, 2007 at 02:11 AM MDT #

can anybody provide me sample application of Spring MVC,SWF and JSF

Posted by umesh on May 29, 2007 at 01:36 AM MDT #

umesh - you generally don't mix web frameworks. You should look for examples with Spring MVC and SWF or Spring MVC and SWF. I'd suggest downloading SWF's examples using the SourceForge download page.

Posted by Matt Raible on May 30, 2007 at 09:46 AM MDT #

Hi, I am trying to integrate SWF with JSF. The problem I am running into is trying to access the JSF managed beans inside the SWF webflow.xml. How do i access the JSF managed bean inside the Spring webflow.xml ? TIA, Vijay

Posted by Vijay on July 06, 2007 at 06:45 PM MDT #

@Thai Dang Vu It's been more than a year now... but see http://static.springframework.org/spring-webflow/docs/2.0.1.RELEASE/reference/html/ch11s09.html

Posted by yincrash on September 24, 2008 at 09:56 AM MDT #

I'm using JSF, Facelets with Ajax4jsf and my application has a data entry wizard like this example (http://livedemo.exadel.com/a4j-include/), i.e. when a button is clicked a part of the page is refreshed (not a whole new page is loaded). Does SWF work in this case?

If you have an example like the one above using SWF, JSF and Ajax4jsf, I'll be very thankful if you could send it to me at [email protected] .

Posted by Murali on April 22, 2011 at 08:13 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed