The Artima Developer Community
Sponsored Link

Java Community News
More on Web Frameworks: A RIFE Blog Example

1 reply on 1 page. Most recent reply: Apr 9, 2006 12:04 PM by Vijay Nathani

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

More on Web Frameworks: A RIFE Blog Example Posted: Mar 17, 2006 7:27 AM
Reply to this message Reply
Summary
RIFE is a "full-stack component framework to quickly and consistently develop and maintain Java web applications." In this article, Geert Bevin provides an introduction to RIFE with an example blog application.
Advertisement
Geert Bevin contributes to a comparison of Web frameworks with a recent introduction to the RIFE Web application framework.

RIFE combines request-based and component-based approaches to Web application development:

Request-based frameworks [...] use controllers and actions that directly handle incoming requests. Each request is fundamentally stateless. With the introduction of server-side sessions, a certain degree of statefulness has been achieved. The different frameworks basically differentiate themselves by the way they map logic to URLs and how data is structured and provided to the developer.

Component-based frameworks abstract the developer away from the internals of the request handling and encapsulate the logic into reusable components. [...] This development model is very similar to the features offered by desktop GUI toolkits. The different frameworks basically differentiate themselves by the provided component API and how components are combined together.

[...] Instead of mapping actions and controllers directly to the request, RIFE provides a component object model that behaves identically in many different situations such as individual pages, intercepted requests, portal-like page fragments and integratable widgets. Components can be wired together and be packaged as groups that are components in their own right.

RIFE also offers a rich set of features, including:

  • Web application engine
  • Integrated web continuations
  • IoC support
  • Out of container testing
  • Content management framework
  • Bidirectional multi-format template engine
  • Template content transformation
  • Centralized meta-data facility
  • Authentication framework
  • JDBC abstraction layer
  • Database query builders
  • Persistence layer
  • Configuration framework
  • Central application life-cycle management
  • Cron-like scheduler
  • Asynchronous mail queue
  • Content syndication framework
  • Resource abstraction
  • Web services

In this article Geert emphasizes RIFE's usability:
We firmly believe that it's important to have a high-level, self-documenting overview of your web application. This allows teams to work independently and simultaneously on different parts. At any moment they can integrate their work without stepping on each other's toes. This approach led to the creation of a site-structure that handles both the logic flow and the data flow, as a state machine.
What do you think of RIFE's approach to Web development?


Vijay Nathani

Posts: 29
Nickname: vijaynath
Registered: Jan, 2006

Re: More on Web Frameworks: A RIFE Blog Example Posted: Apr 9, 2006 12:04 PM
Reply to this message Reply
I think that the designing most applications for the browser is a mistake. Why? Because
1. Richer interfaces are possible with Java web start or Flash.
2. Network round trips are avoided or less information is sent over the network. So it appears faster.

From mainframe applications, we moved to client server, and then to Browser based applications. The next step seems to be to develop full GUI frontends in flash or Java web start or .NET.
Regards..........Vijay.

Flat View: This topic has 1 reply on 1 page
Topic: More on Web Frameworks: A RIFE Blog Example Previous Topic   Next Topic Topic: Cyclomatic Complexity as a Measure of Code Quality

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use