• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to serve feeds in Faces application?  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have a Faces application and I want to add RSS feeds to it.
How to generate syndication feeds in Faces application (not in terms of how to generate the feed, but in terms of how to serve feeds at Faces code level).
Thanks.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While I think I MAY have seen something on some sort of JSF RSS feed control, RSS is just an XML spec, and doesn't need anything as elaborate as JSF to be renderable - a simple servlet or XML JSP would suffice.

Remember, each and every bit of output in a JSF needn't be produced by JSF. Use JSF where it makes sense and use other technologies as appropriate.

It's perfectly admirable to create a site with JSF-managed application objects that are serialized as RSS feed items via a JSPX, for example.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!