You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Ben Anderson <be...@benanderson.us> on 2004/10/04 17:23:25 UTC

xtags

Hi,
I'm at the beginning stages of writing a client for xml-rpc using jsp tags. 
First I thought I'd use the combination of the xtags and io libraries.  Then, I
realized that jstl supports most xml functionality that I can think of
(transformation/xpath/parsing).  Does this mean that xtags should be
depracated?  Is there any use for it?  Also, I believe I still would need the
io library as the c:import in jstl doesn't support features like including
content in a post request.  Am I on the right track here?
Thanks,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: xtags

Posted by Malcolm Cowe <Ma...@Sun.COM>.
Yes. Started looking at it last night.

Not sure what all the fuss is about with XML-RPC. It's just sending XML 
via post... I've been doing that just using JSP and taglibs for a while. 
It's just that, because we don't follow a standard, our protocol is 
technically a hack, so I need to evaluate the efficacy of a more 
portable tool.

Regards,

Malcolm.


Kris Schneider wrote:
> Quoting Malcolm Cowe <Ma...@Sun.COM>:
> 
> 8< snip >8
> 
> 
>>As an aside, I'm looking for a cheap and nasty server side XML-RPC 
>>implementation for an upcoming demo. Any pointers?
> 
> 
> Have you looked at Apache XML-RPC? I'm not really familiar with it, but it's got
> the right name ;-).
> 
> http://ws.apache.org/xmlrpc/
> http://ws.apache.org/xmlrpc/server.html
> 
> I'm not sure if Axis (http://ws.apache.org/axis/) supports XML-RPC or not...
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: xtags

Posted by Kris Schneider <kr...@dotech.com>.
Quoting Malcolm Cowe <Ma...@Sun.COM>:

8< snip >8

> As an aside, I'm looking for a cheap and nasty server side XML-RPC 
> implementation for an upcoming demo. Any pointers?

Have you looked at Apache XML-RPC? I'm not really familiar with it, but it's got
the right name ;-).

http://ws.apache.org/xmlrpc/
http://ws.apache.org/xmlrpc/server.html

I'm not sure if Axis (http://ws.apache.org/axis/) supports XML-RPC or not...

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: xtags

Posted by Kris Schneider <kr...@dotech.com>.
XTags is not deprecated, and I don't recall any discussions about moving in that
direction. However, it does seem like the arrival of JSTL has taken most of the
wind out of its development sails.

As for <c:import> and POST, here's a relevant snippet from the JSTL spec:

When importing an external resource using the HTTP protocol, <c:import> behaves
according to the semantics of a GET request sent via the
java.net.HttpURLConnection class, with setFollowRedirects set to true.

So, if you want to use something other than a GET via a taglib, IO's the way to
go. It's your call as to whether XTags or JSTL is a better fit to process the
results...

Quoting Malcolm Cowe <Ma...@Sun.COM>:

> I personally find XTags to be extremely useful, particularly during 
> prototyping, since it if more functional than the JSTL XML 
> implementation. In particular, it is useful to me to be able to add and 
> remove XML elements before applying a stylesheet. Please don't deprecate it!
> 
> Would agree with your assessment of the IO library, though. I have used 
> it as an XML-RPC client before with good results.
> 
> As an aside, I'm looking for a cheap and nasty server side XML-RPC 
> implementation for an upcoming demo. Any pointers?
> 
> Regards,
> 
> Malcolm.
> 
> Ben Anderson wrote:
> > Hi,
> > I'm at the beginning stages of writing a client for xml-rpc using jsp tags.
> 
> > First I thought I'd use the combination of the xtags and io libraries. 
> Then, I
> > realized that jstl supports most xml functionality that I can think of
> > (transformation/xpath/parsing).  Does this mean that xtags should be
> > depracated?  Is there any use for it?  Also, I believe I still would need
> the
> > io library as the c:import in jstl doesn't support features like including
> > content in a post request.  Am I on the right track here?
> > Thanks,
> > Ben

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: xtags

Posted by Malcolm Cowe <Ma...@Sun.COM>.
I personally find XTags to be extremely useful, particularly during 
prototyping, since it if more functional than the JSTL XML 
implementation. In particular, it is useful to me to be able to add and 
remove XML elements before applying a stylesheet. Please don't deprecate it!

Would agree with your assessment of the IO library, though. I have used 
it as an XML-RPC client before with good results.

As an aside, I'm looking for a cheap and nasty server side XML-RPC 
implementation for an upcoming demo. Any pointers?

Regards,

Malcolm.

Ben Anderson wrote:
> Hi,
> I'm at the beginning stages of writing a client for xml-rpc using jsp tags. 
> First I thought I'd use the combination of the xtags and io libraries.  Then, I
> realized that jstl supports most xml functionality that I can think of
> (transformation/xpath/parsing).  Does this mean that xtags should be
> depracated?  Is there any use for it?  Also, I believe I still would need the
> io library as the c:import in jstl doesn't support features like including
> content in a post request.  Am I on the right track here?
> Thanks,
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org