Hi Fred,
even if nobody did portlets<=>servlets, it shouldn't be that
difficult to allow RIFE to run as a portlet inside a portlet
container (running any portlet as an embedded element is more work).
The actual request and response have been abstracted:
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/engine/Request.java?r=trunk
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/engine/Response.java?r=trunk
You can for example look at the implementations for the testing
framework:
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/test/MockRequest.java?r=trunk
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/test/MockResponse.java?r=trunk
And compare them with the servlet response and request versions:
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/servlet/HttpRequest.java?r=trunk
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/servlet/HttpResponse.java?r=trunk
For the servlet API invocation of the engine's Gate class, you can
look at:
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/framework/com/
uwyn/rife/servlet/RifeFilter.java?r=trunk
Hope this helps a bit.
Best regards,
Geert
On 12-feb-06, at 23:52, Fred Baube wrote:
Quoting Geert Bevin:
http://uwyn.com/issues/browse/RIFE-261
http://uwyn.com/issues/browse/RIFE-260
Feel free to work on it :-)
I'm looking at portlets stuff and it really does not look terribly
different from the servlet API. Okay, portlets have three modes
(VIEW, EDIT, HELP) and they deal in markup fragments not complete
documents, but beyond that, is there anything mysterious ?
I googled around a bit trying to see if anyone has written an
adapter class, portlets<=>servlets, but I did not find anything.
fred
fwiw, resources:
"What Is a Portlet" http://www.onjava.com/lpt/a/6208
part 2: http://www.onjava.com/lpt/a/6459
"Developing Portlets with Apache Pluto"
http://www.intranetjournal.com/articles/200511/pij_11_16_05a.html
I would think that Rife World Domination would be _greatly_
assisted by a system to put Elephant, Bamboo, and one's own
servlet to work inside a portlet framework ! Single sign-on
for complete workgroup support.
http://www.onjava.com/pub/a/onjava/2005/09/14/what-is-a-portlet.html
--
F.Baube *
Georgetown/MSFS/1988 * Think pangalactically.
fbaube#saunalahti.fi * Act locally.
gsm +358 41 536 8192 *
wmd 60°11'10.8"N 24°57'36.9"E
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users