• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF 2.0: for non-fully j2ee apps as well?

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear authors,

I'm new to JSF 2.0...

Is JSF 2.0 a good option for light j2ee apps as well...
that is those applications that skip the security part
and maybe the jpa part of JSF 2.0?

Or would this be a too heavy approach?

Cheers,

Gian
 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gian,

to my knowledge it should be possible to use JSF 2.0 without the other parts of Java EE. But the better question is: What advantages do you get when you use the whole EE stack. In my opinion the different components and APIs of JEE (6) are really good but they are even more shining if you use them in combination with each other.

Unfortunately I don't know what exactly is needed or how you wire only a JSF 2.0 "view" to any arbitrary framework or application.

Marco
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From what I've seen, most Java webapps "skip the security part", if what you mean is that they invent their own security code and don't use what's in the standard.

And, they usually do a pretty poor job of it.

JPA is optional as well. I advise it for apps that have complex data interrelations or that could benefit from the performance boost that the data optimizers and caching mechanisms provide, but some apps don't need all that, so why add useless complexity?
 
Gian Franco
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...a scenario where skipping those two (important) parts might be relevant
is during the transition/migration to this technology from a different (older)
solution...
 
author
Posts: 82
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh yes, you can use JSF2 on any Servlet 2.5 container. For example, the website for the book http://jsfcompref.com/ is a JSF app on Google app engine, which is a FAR CRY from a J2EE container.

Ed
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic