I can see the appeal of exposing the web application's code as web
services
using Axis. It seems like exposing Action classes directly as web
services
will be more trouble than it's worth. It would seem better to move the
code
in the Action class into another class (not tied to Struts/Web)
Mike -
If we start with the idea [Kevin's suggestion] that on the Axis side we
develop a Web Service that accepts SOAP Requests with an XML payload and
spins that payload into an HTTP POST/GET to a Struts Application as if
that POST or GET was coming from a Web Browser. Then we need not
*FridayModeOn*
Axis and Struts, like ice cream and sex, are both good things, but I
don't
see much benefit to combining them.
I think it depends on the flavor of the Ice Cream... ;-)
*FridayModeOff*
Is the idea behind Axis for Struts to expose Action classes as Web
Services?
Yes.
I still haven't really absorbed the rationale for this, and my
difficulty in answering some of your questions make me willing to
step up and say so.
Maybe it would help if we could frame the goal of the project, in
terms of more than wouldn't it be cool?
How about:
My understanding
True. But somehow, to leverage what struts really is, you would need to
communicate some kind of instructions from the server side controller.
The idea is to have the SOAP request contain essentially the same data as
would be in an HTTP post (or get). Then you invoke Struts Actions the same
]
[EMAIL PROTECTED] cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)
01/21/2003 12:53 PM Subject: RE: Axis4Struts package names
Craig M. asked:
I thought the convention for SF-based Java projects was net.sf.package
or something like that?
If the code is later migrated into Struts and/or Axis, package names
changes are pretty trivial, and shouldn't require fixing anything more
than some import statements.
One of the first topics of discussion is where the Axis4Struts entry
point should be?
I can see several possibilities:
One would be to clone/extend the ActionServlet as it is the component in
standard struts that calls the Module's RequestHandlers. The advantage
here would be the
[EMAIL PROTECTED] To: Struts Developers List
[EMAIL PROTECTED]
01/20/2003 11:54 AM cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife
Thanks Kevin,
I agree from a 30,000' point of view. See my comments below.
Thanks Mike - at least there's a basis to begin more discussions now!
http://www.strutskickstart.com
[Mike Oliver] BTW Bought the book.
deep bowThank you thank you thank you!/deep bow
2. Struts would
Kevin,
I don?t read Struts-user, so sorry if you?ve already discussed this...
I?m not figuring out what are the usage scenarios for this integration.
What are the advantages of having this integration ?
Why do this if you already have this:
---SOAP
Is org.apache.struts.axis4struts ok for a package?
This may not be as simple as it seems. If the requirements are:
- Some code will be required to be used in Struts apps
- Some code will be required to be used in Axis apps
- It would be nice to have a single JAR file that could be
]
[EMAIL PROTECTED] cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)
01/06/2003 11:43 AM Subject: Re: Proposal: Use java2html
to generate browseable source code
,$s/.$//
This simply deletes the last character on every line of the file.
Kevin
Craig R. McClanahan [EMAIL PROTECTED] on 11/08/2002 12:20:45 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:Struts Developers List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO
This looks great. Thanks for the thoughts -
Chip Paul [EMAIL PROTECTED] on 11/01/2002 10:25:47 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Struts WML Tag Library
I'm currently
Any way to combine forces?
Daniel Honig [EMAIL PROTECTED] on 11/01/2002 10:25:26 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:Struts Developers List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:RE: Struts WML Tag Library
Chip
PROTECTED]
Sent by:news [EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Re: Struts IRC Channel
Also, if a question is answered, at least in theory you can say Search
the mail archive for post X and thus preserving the knowledge.
.V
[EMAIL PROTECTED] on 10/16/2002 09:45:02 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:'[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Does anyone successfully run the StrutsTestCase example?
If so do you recommended using
: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Re: Future Release Suggestion
As Craig pointed out recently, we all really do this for our own use, and
if someone else can use it too, then
that's icing on the cake.
Most of the Committers are highly enough placed in their own organizations
at:
http://strutstestcase.sourceforge.net/
Best of luck,
Kevin
--
Kevin Bedell
author, Struts Kickstart - SAMS Publishing
Craig R. McClanahan [EMAIL PROTECTED] on 10/02/2002 12:21:53 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:Struts Developers List
Erik -
Thanks for informing the list -
Erik Hatcher [EMAIL PROTECTED] on 09/18/2002 11:01:22
AM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:Struts Developers List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Re: StrutsTestCase
PROTECTED] on 08/20/2002 10:02:29
AM
Please respond to Struts Developers List [EMAIL PROTECTED]
To:Struts Developers List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Re: Struts related application server errors?
Sorry, I didn't answer this in my earlier
: Kevin Bedell/Systems/USHO/SunLife)
Subject:Struts related application server errors?
At first I was chalking this up to some Jetty strangeness (the JBoss
version with it embedded) but we just got the same error deploying our
app to JRun - so I'm suspecting something fishy with Struts classes
Developers List' [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:RE: Struts related application server errors?
The constant that is not being found (EVAL_BODY_AGAIN) was introduced in
JSP
1.2, and it looks like your container does not support that. The constant
does
Good insight - thanks for the comments.
1) Object explosion for large sites--1-to-1 mapping of URLs to objects
can
lead to hundreds of small classes. It really bothers me that Struts
encourages this kind of situation. Although the DispatchAction helps a
lot.
The value Struts adds (and why
Congratulations to everyone on this milestone. Thanks for the hard work.
-- Forwarded by Kevin Bedell/Systems/USHO/SunLife on
08/13/2002 09:41 AM ---
Martin Cooper [EMAIL PROTECTED] on 08/13/2002 02:32:54 AM
Please respond to Struts Developers List
Some thoughts...
- Is it such a good idea to pour much of fundamental application design
into
xml files?
- Should config files be confined to things such as database parameters?
- Tendency for xml config to become a mini programming language in
itself
- Lacks type safety, syntax checking
PROTECTED]
To:Struts Developers List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:RE: cvs commit:
jakarta-struts/src/share/org/apache/struts/action ActionServlet.java
On Tue, 23 Jul 2002, Martin Cooper wrote:
Date: Tue, 23 Jul 2002 17:46:20 -0700
From
Normally, namespaces should also work with DTD, ensuring proper
validation (or did I miss something ?)
As far as I can tell, the one-and-only DTD that you declare at the top of
your original source document is the only one that is used for the entire
thing -- and this DTD has to be
- which btw allows them to be easily included in the doc
distribution.
Kevin
Ted Husted [EMAIL PROTECTED] on 06/11/2002 04:09:19 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife
[EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Re: [WANTED] Struts Editor for Jakarta Newsletter
We're getting a little bit off topic here, but the typical reply to a
posting like this is going to be Thanks for volunteering
Not sure -
try just changing it in your directory structure prior to running te build.
[EMAIL PROTECTED] on 05/31/2002 02:13:29 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife
in the web_inf directory?
Should be the WEB-INF directory - case counts in Java. Is this it?
[EMAIL PROTECTED] on 05/30/2002 02:39:14 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO
]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Contributions I would like to make to Struts 1.1
I would like to make a couple of small contributions to this next
release (1.1) of Struts:
1. The Struts version of a guessing game app like the one in the Tomcat
release
2. A minor re
development.
Best of luck!
FWIW -
Kevin
[EMAIL PROTECTED] on 05/29/2002 07:05:59 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Small question on Struts !
Hi All,
I am
: Kevin Bedell/Systems/USHO/SunLife)
Subject: DO NOT REPLY [Bug 9461] - Can't compile due to errors
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9461.
ANY REPLY MADE TO THIS MESSAGE
]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Re: Resource Page...
When building the nightly build from CVS, I'm getting
D:\jakarta\cvsroot\jakarta-struts\build.xml:320:
javax.xml.transform.TransformerConfigurationException: File
file:D
Thanks for the input. If you think there's a need, then there likely is
Thanks again -
kevin
Michael Marrotte [EMAIL PROTECTED] on 05/17/2002 05:14:50 PM
Please respond to Struts Developers List [EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
cc:(bcc: Kevin
Hello all. I'm posting this to the dev list.
I've got the nightly build going and have been going through it. I'm
interested in making some contributions to the codebase.
I can come up with ideas - but where is the need? What needs to be done?
I've been doing Java for a few years and did
I don't disagree with this approach.
One of the problems with using a check-login tag in the jsp is that the
check is postponed until you're actually in the jsp. The action servlet is
a better place to handle this kind of decision making.
By subclassing the Action servlet you ensure you have
You're using database security for a web application?
SuppressUrgeToAskWhy /
Here's some sample code snippets you'll have to hack together. It should
give you an idea to begin with.
import java.sql.*;
// Initialize these somehow from your login page...
Gee -
No sooner did I fire off my response, then I read this response telling me
I was all wrong.
egg-on-face/
I guess I'm specifying how I design code myself - not how struts does it.
That being said, this limitation of having to specify a concrete class only
should be logged as an
42 matches
Mail list logo