I'm writing to share ideas with you, and maybe find people to help me push a concept forward...
I'll try to be as concise and clear as possible, to present things quickly here and let you browse existing resources to keep my post a bit short.
All my story is, in a few words, about presenting "customized pages" to end-users (I'm talking about HTML pages of course) depending on their "role", "group", or whatever else...
As a matter of fact, many of you may remember an application that included the infamous "login page", and where specific pages had to be presented for users of different "nature"...
Well, I looked for something cool on the web to do so a few years ago, but nothing existed yet (or I did not find it).
Some ideas from great people (through the CorbaWeb project) came on top of this, and I started thinking about a framework to do this...
'JWebViews' was born.
It's a frawemork built on top of the servlet API that allows to display customized pages for some "profiles" and some "target objects".
In a few words, this allows to assign "actions" (some controllers that are invoked by the framework on the behalf of user interactions) to some "objects" and some "profiles". Of course, the "profiles" represent you application's users, roles, etc.
This allows to define profiled views of your model's objects...
Describing all this short is quite hard actually, so don't hesitate to read the framework documentation there :http://www.rvkb.com/jwebviews/doc/Framework/index.html
I've been using this "home-made" framework in several applications (even other developers did ! :-) ), and it revealed very efficient. I think it's much simpler than struts (actually because it has no such taglib and tools... but it keeps the MVC principle which is always good IMHO) but lets you do very powerful things when it comes to designing multi-profile web applications.
With JWebViews, not only the code has a place, but it has a place for each profile !
If you'd like to react, don't hesistate ! I'm looking for people to push this concept forward.
I think this concept of executing UI code for objects and profiles is quite interesting...
Also, some points in the framework are still to be investigated (JAAS-based auth., action linking, tools, ... so many things actually :-) ) to make it even more cool !
Well, enjoy it :-)