Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  yaws 2.0

Guest
Posted: Tue Apr 03, 2007 9:07 pm Reply with quote
Guest
About making Yaws more pluggable I wonder if something like OSGIs Service
Registry and so called white-board pattern could be of any use.
Now OSGI is Java, but I think the concepts could be useful anaway Smile
Actually Erlang/OTP already solves a lot of the basic things in OSGI
(lifecycle management and component deployment) I think and adding something
like a Service Registry could make it more easy to build "component" based
apps.
The second link actully has an example of registering a servlet into a http
service.
http://www.osgi.org/documents/osgi_technology/whiteboard.pdf
http://www.knopflerfish.org/osgi_service_tutorial.html

http://www.osgi.org/documents/collateral/TechnicalWhitePaper2005osgi-sp-overview.pdf

Regards
Mikael


lördag 24 februari 2007 01:26 skrev Roberto Saccon:
> I have one feature request I would like to bring into this discussion:
> making yaws more pluggable.
>
> Let me give a concrete example for better illustration:
>
> in yaws conf there should be an option to define a module name for the
> yaws_session_server functionality. When somebody now wants to have session
> data stored e.g. in mnesia, or tight into some external application, he
> just brings in his own implementation of yaws_session_server, defines it in
> yaws.conf and can continue to use the yaws_api for seesion specific stuff
> without changing anything in his web app.
>
> Now I hope this all makes sense. In case there is an easier way to achieve
> the same, I would love to get educated ...
>
> regards


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum