You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Ditlinger, Steve" <SD...@ebuilt.com> on 2002/02/26 22:22:11 UTC

Plug in services


We'd been wondering here how one could invent a mechanism to mix and match
different Struts extensions.  i.e. combine Tiles (and its
ActionComponentServlet) with our SSL switching extension (and its
SecureActionServlet) without having to rewrite SecureActionServlet to extend
ActionComponentServlet.

I found some struts-dev threads from last summer and autumn discussing the
idea of plug-in services so that developers can perhaps add capabilities to
ActionServlet without extending ActionServlet.  Related to this, I saw
references to something written by Oleg Alexeev called "ServiceManager" that
sounded like an attempt to this.  However I can't find any reference to it
on the Resources page.  

What's the status of these ideas?  Will they be incorporated into a future
release? Or is there a different way to do this?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Plug in services

Posted by Martin Cooper <ma...@tumbleweed.com>.
Craig just checked in a new lightweight PlugIn mechanism a few days ago. The
commit message is here:

http://www.mail-archive.com/struts-dev%40jakarta.apache.org/msg05002.html

Coincidentally, this is almost identical to a mechanism I implemented in one
of my own apps recently.

The PlugIn API is somewhat stripped down compared to the ServiceManager, so
it's possible that it won't meet your needs. The ServiceManager itself has
largely been moved to Jakarta Commons, and is currently in the sandbox:

http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/services/

I don't know what the timeline is for progress on that.

--
Martin Cooper


----- Original Message -----
From: "Ditlinger, Steve" <SD...@ebuilt.com>
To: <st...@jakarta.apache.org>; <go...@penza.net>
Sent: Tuesday, February 26, 2002 1:22 PM
Subject: Plug in services


>
>
> We'd been wondering here how one could invent a mechanism to mix and match
> different Struts extensions.  i.e. combine Tiles (and its
> ActionComponentServlet) with our SSL switching extension (and its
> SecureActionServlet) without having to rewrite SecureActionServlet to
extend
> ActionComponentServlet.
>
> I found some struts-dev threads from last summer and autumn discussing the
> idea of plug-in services so that developers can perhaps add capabilities
to
> ActionServlet without extending ActionServlet.  Related to this, I saw
> references to something written by Oleg Alexeev called "ServiceManager"
that
> sounded like an attempt to this.  However I can't find any reference to it
> on the Resources page.
>
> What's the status of these ideas?  Will they be incorporated into a future
> release? Or is there a different way to do this?
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>