Re: When were JSF and JavaBeans created and is this the "correct" way to build web pages in Java technologies?



jmDesktop wrote:
In my move away from Microsoft and ASP.NET to Sun and Java (various
technologies), I started reading about JSP and Servlets. I had no
other knowledge of Sun's products, and I was quickly dismayed at the
mixture of embedded code and presentation. I was wondering why this
was any better than classic ASP or PHP (no offense to anyone.) I knew
I had to be missing something. Anyway, I kept reading and finally
found Java Server Faces and JavaBeans. This made me feel much better
and unless something is trivial, I guess this is the way I'm
"supposed" to go about designing websites with Java outside of some
framework. That's simplistic, but it appears to be essentially
correct. Please let me know if I am wrong here. This appears to be
the current standard in Java when creating web pages, but I'm still
very new.

I am curious about something, though. Was JSF and JavaBeans created
as a response to the separation of layers found in ASP.NET (at least
2.0) or were they simultaneous, or just one quicker than the other to
get it to market?

No. Separation of presentation and code was done before ASP.NET existed.

Look for framework like Struts.

JSF is just the newest and official way of achieving the same.

Arne
.



Relevant Pages

  • Re: tiny java web framework
    ... I was referring to the impression I got of the example code - pages and backing Java - that Wicket presented on its site. ... I saw no real advantages here over how I'd code those examples up using JSF and Facelets. ... I agree that there are no framework that is less complex for all ... Many Java developers report success and satisfaction with Java Server Faces over Java Server Pages (JSP). ...
    (comp.lang.java.programmer)
  • Re: What is the most popular java framework for web applications ?
    ... dominating ones in the next years to come? ... I'm a newcomer to both Java and web applications so my conclusion is ... I've been working with JSF for the past several months, having experience with Struts and "Model 2" programming without a framework. ...
    (comp.lang.java.programmer)
  • Re: tiny java web framework
    ... MVC web framework for java. ... I don't doubt that Wicket is quite lightweight, but in looking at their examples I don't see anything that I couldn't accomplish just as easily using JSF and Facelets. ... I'd be concerned about deploying a framework that few folks know about. ...
    (comp.lang.java.programmer)
  • Re: The difference between running and jogging
    ... The book I'm currently reading that I *really* like so far for where I am now is Joel Friel's Heart Rate Training Book. ... In contrast to Kevin Beck's book Run Strong, which is an assortment of disconnected chapters by various authors, this is a unified approach to training. ... Some ideas that have been rattling around in my brain for the last couple years, but more at the level of "this worked for me" and "this didn't work for me", he's provided a framework that some of my thoughts fit into. ... In contrast, when I'm rested and tapered for a big race, my HR will respond to effort as if nitro is kicking in. ...
    (rec.running)
  • Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
    ... >> A few months ago I had an introductory class on Java programming. ... reading from console can be done via a call to ... just one character at a time). ... Stream reader, or an HTTP Input Stream reader, or an Audio Input Stream ...
    (comp.lang.cobol)