• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF & large applications  RSS feed

 
Jussi Taimiaho
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers.

I'm quite a newbie to JSF, never done any real application, apart from experimenting. I was just wondering has anyone done a rather large application with JSF? The problem I sort of smell is that making the config-file with all those navigation rules would be a pain in the behind. That is if you're wouldn't be using any good graphical editor for that.

Yes, I know you can split that config into several files, each managing it's own logical part, but still I see that as far from ideal way to handle the navigation & transitions between pages.

Any comments on the subject?

j
 
Josh Juneau
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written some rather large applications using JSF. The configuration file has never grown enormously large. I'll admit that at times it gets tough parsing through the XML to make navigation/bean adjustments, however, I document my XML and try to organize it into seperate divisions. For instance, I think it helps to keep all mangaged bean definitions near the top of the file (each documented seperately), and then navigation following. Each <navigation-rule> should also be documented for ease of use.

I do not use a special tool...just NetBeans. Also, I have never utilized seperate navigational files...just one. If you keep your XML organized, then I have found that it is easy to manage.

Hope this helps.

Josh
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although I don't use it myself, if you feel you need some sort of graphical editor for the config file, Faces Console is probably the way to go. James Holmes also made Struts Console if you are familiar with that. It's a good free product.
 
Jussi Taimiaho
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been evaluating MyEclipse as editor, but perhaps I should check that Console as well...

And 4 Josh, I think you're right. With properly organized xmls, it'll work out fine.

thnx,
jussi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!