• 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

Can we consider JSF & JPA as framework ?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just want to know whether JSF and JPA can be considered as framework..

I think these are specification given by Sun with reference implementation. Any vendor can provide implementation for these technologies.

In short, A framework is a set of classes/libraries for the standard services, which are used to reduce the amount of coding in an applictaion.

So just wondering whether JSF, JPA, & EJB are these technologies can be considered as JEE frameworks like Spring, Hibernate etc. ?

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes. One can, reasonably, look at the JEE framework consisting of Component Based Frameworks (like EJB, JSF, JPA...) etc

I just want to know whether JSF and JPA can be considered as framework..
I think these are specification given by Sun with reference implementation



Well, the entire JEE is a spec too, isn't it?

Cheers
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would say both JSF & JPA are API. They are not frameworks.
 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"JSF technology is a user interface framework for building Java-based web applications that run on the server side, and render the user interface back to the client. " as found on http://java.sun.com/developer/technicalArticles/GUI/JavaServerFaces. JSF helps a user build web applications around Model-View-Controller design pattern. FacesServlet acts as a controller (front controller) that delegates to JSF managed JavaBeans and dispatches requests to view JSP pages. Managed JavaBeans can act as application controllers that use model components from business layer (e.g. session beans) and provide the means to get/set model data. JSP pages format and render model data in the managed JavaBeans.

I'd consider Servlet, JPA and EJB to be APIs that can be used in various frameworks.
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSF,JPA and EJB's are specs.

Now the vendors including Sun provide their implementation for these specs.

for example JSF has following implementations

Sun -- Sun Mojarra( or Sun RI)
Apache -- My faces

Similarly SUN has the RI for JPA and Hibernate has also got JPA implementation

Thanks
Ashu
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic