Yes, you did the right thing. You cobbled up enough code to prove the concept and 
brought it out to show before it was too late to go another way. :)

I've an interest in Web Services, so I'll be taking a closer look at this. But here 
are some superficial points:

* Please consider putting the code under Apache License 2.0 
<http://apache.org/licenses/>. I

* It's true that, in practice, the Struts Actions create a coarsely-grained business 
API. But, attaching the moniker "business logic" to Actions will start theological 
discussions. It's true that if an Action is factored properly, it would be easy to 
recreate as some web service class. It's also true that exposing existing Actions as 
Web Services, would be valuable to a lot of people. So, keep the idea but drop 
references to "business logic" from the documentation. An Action is what an Action is 
:)

* Working at the RequestProcessor level seems like the right approach to me, but 
you'll want to take a look at the Struts-Chain RequestProcessor in Contrib. It's based 
on the Commons Chain package and is slated to become the default RequestProcessor in 
the Struts 1.3.x series.

  * http://cvs.apache.org/viewcvs.cgi/jakarta-struts/contrib/struts-chain/

  * http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/chain/

I'll take a closer look at the code tonight, but wanted to get these preliminary 
points off to you.

-Ted.


On Thu, 03 Jun 2004 15:46:23 -0400, Frank Zammetti wrote:
> Hello devs!  This is my first time posting here, and my first
> attempt at contributing to an Apache project.  I hope I'm going
> about it properly! :)
>
> In short, I have a little project going with the stated goal of
> allowing a Struts developer to expose any existing business logic,
> as implemented in Struts Actions and their subordinate helper
> classes, as Web Services, and do this with NO changes required to
> any existing application code, and as little change to Struts
> itself as possible.  Simplicity is the key to this!
>
> Today I released a second version of this project to the user's
> mailing list, and after some feedback I think it's at a point where
> I'd like to make you all aware of it, and get some higher-level
> feedback.  It's certainly far from complete at this point, but I
> think even now it's in a useful form.
>
> My hope is that eventually it will be good enough to be included in
> the base Struts distro, but that's obviously a long way off, if
> ever.
>
> With all that in mind, please at your convenience visit
> http://www.omnytex.com/strutsws
>
>
> There you will find some more detailed technical information and a
> download which contains everything you need, including a simple
> sample webapp demonstrating the whole mess.
>
> I thank you in advance for any time you spend on this!
>
>
> Frank W. Zammetti



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to