• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic Framework Question

 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I've just started to learn about frameworks, its benefits and the MVC model architecture. However, as I am a newcomer, many terms still don't make sense for me.

I've seen in many docs and tutorials citations about Struts, Ajax, JavaServer Faces and Springs as framework options for a given scenario, but I'm unable to define how different they are.

So, could you please briefly explain how different they are, what technologies they use (as Ajax for example that sends data to WebServer in background preventing the user to reload the entire page) and what would be the best options for simple or complex web applications ?

I know that many things must be considered before opt for a given framework, but in my case, I think I need basic explanations about what core technologies they use and how different they are.

I would be highly thankful if you could also post some links for reference.

Thanks in advance.

Edisandro Bessa.
[ May 12, 2006: Message edited by: Edisandro Bessa ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edisandro, I don't intend to sound mean but your question does not apply to anything that the SCWCD exam covers. But since you're asking for a comparison of 4 completely different technologies, I'm at a loss as to what other forum I could move this to.

So I'll attempt to give a brief overview.

First off, AJAX isn't a framework. AJAX is a technique for using Javascript to make a tiny call to the server, usually to update just a portion of a page on someone's browser. Usually AJAX is really handy when you want something to change on a page when another component is effected. For instance, for addresses, you might want to change the values in a State/Province dropdown whenever the the value from a Country dropdown is changed.

Struts is a very popular MVC framework that has been around for a few years. It is an open source Apache project.

JavaServer Faces is a newer MVC framework built from Java Spec requests. I believe it is scheduled to be part of the Java 5 EE spec. I like it a lot and I can't wait to see it fully supported in the various IDEs.

Spring I don't know much about but I think one of it's boasts is that it handles some middle-tier mumbo jumbo and that you have the option of using that with a different presentation tier technology like Struts.

Since your question is so general I don't know what kind of links I could give that would help. Your best best is to search the terms individually on your favorite search engine.
[ May 12, 2006: Message edited by: Marc Peabody ]
 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Marc for your prompt reply.

Although my question is so general, your reply was really helpful and now these terms makes sense for me. I really treasure your valuable input.
[ May 12, 2006: Message edited by: Edisandro Bessa ]
 
Mihai Lihatchi
Ranch Hand
Posts: 138
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well if you have a look at Spring MVC you may find something similar to Struts , but Spring in general is a glue-code like framework ... you can use it from MVC to business layer however you choose by making use of something called Inversion of Control(IoC) or dependency injection.
And no there is no framework requirement in the SCWCD although Struts is presented in the now famous HFSJ book in order to present some design patterns -I am studying that chapter right now.
The only thing that is out of the way here is AJAX which is not a web-framework as far as I know.
But indeed this is not a web framework forum .
Regards, Mihai
[ May 12, 2006: Message edited by: Mihai Lihatchi ]
 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mihai for your valuable reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic