struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Burgess <RBurg...@nuvox.com>
Subject Re: Struts serving both HTML requests and web service?
Date Thu, 28 Feb 2008 23:18:04 GMT
If you have shared functionality then it sounds like a good candidate for
web services. I wouldn't do the shared JAR deal.

Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications



> From: "Allen, Daniel" <Daniel.Allen@kbcfp.com>
> Reply-To: Struts Users Mailing List <user@struts.apache.org>
> Date: Thu, 28 Feb 2008 16:59:03 -0500
> To: Struts Users Mailing List <user@struts.apache.org>
> Subject: RE: Struts serving both HTML requests and web service?
> 
> Well, the same application is now expected to talk to the public at
> large via a web site and also provide updates about their interactions
> to an internal web site. So, I do need to expose some sort of web
> service. It will actually be different business logic, but it will refer
> to a lot of the same classes, the same database access, etc. Are you
> saying that you think it would make more sense to just refactor that
> into a separate shared JAR and then have three projects, Struts, Shared,
> and WebService (possibly running CXF on the last)?
> 
> Thanks for the advice,
> ~Dan
> 
> -----Original Message-----
> From: Randy Burgess [mailto:RBurgess@nuvox.com]
> Sent: Thursday, February 28, 2008 4:49 PM
> To: Struts Users Mailing List
> Subject: Re: Struts serving both HTML requests and web service?
> 
> That thread was about exposing business logic used in a S2 app as web
> services for use in other applications. If you are interested in web
> services then the CXF site is a good place to start. Personally I
> wouldn't
> go to the trouble of creating web services just to use them in an S2 web
> app. 
> 
> There is an STP Eclipse plugin that will work with CXF but AFAIK there
> is no
> direct integration between CXF and Struts 1/2.
> 
> http://incubator.apache.org/cxf/
> 
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
> 
> 
> 
>> From: "Allen, Daniel" <Daniel.Allen@kbcfp.com>
>> Reply-To: Struts Users Mailing List <user@struts.apache.org>
>> Date: Thu, 28 Feb 2008 14:20:54 -0500
>> To: Struts Users Mailing List <user@struts.apache.org>
>> Subject: Struts serving both HTML requests and web service?
>> 
>> I saw a thread go by while back about Struts and web services, and
>> someone suggested Spring and CXF. I've got Spring integrated into my
>> Struts (2.0.11) application, but I'm not familiar with CXF at all, nor
>> have I actually ever put together a web service before.
>> 
>> Does anyone know of a good guide to integrating those, or an example?
> Is
>> there a CXF struts plugin? I mostly need the really basic stuff, like
>> the result type for a struts action that would be accessed as a web
>> service. (Or should I just have a separate servlet running on the same
>> server?)
>> 
>> I know this is a very general question, but anything will help.
>> Thanks,
>> ~Dan
>> 
>> -- 
>> This message may contain confidential, proprietary, or legally
> privileged
>> information. No confidentiality or privilege is waived by any
> transmission to
>> an unintended recipient. If you are not an intended recipient, please
> notify
>> the sender and delete this message immediately. Any views expressed in
> this
>> message are those of the sender, not those of any entity within the
> KBC
>> Financial Products group of companies (together referred to as "KBC
> FP").
>> 
>> This message does not create any obligation, contractual or otherwise,
> on the
>> part of KBC FP. It is not an offer (or solicitation of an offer) of,
> or a
>> recommendation to buy or sell, any financial product. Any prices or
> other
>> values included in this message are indicative only, and do not
> necessarily
>> represent current market prices, prices at which KBC FP would enter
> into a
>> transaction, or prices at which similar transactions may be carried on
> KBC
>> FP's own books. The information contained in this message is provided
> "as is",
>> without representations or warranties, express or implied, of any
> kind. Past
>> performance is not indicative of future returns.
>> 
> 
> 
> 
> This email and any attachments ("Message") may contain legally
> privileged and/or confidential information.  If you are not the
> addressee, or if this Message has been addressed to you in error, you
> are not authorized to read, copy, or distribute it, and we ask that you
> please delete it (including all copies) and notify the sender by return
> email.  Delivery of this Message to any person other than the intended
> recipient(s) shall not be deemed a waiver of confidentiality and/or a
> privilege.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> -- 
> This message may contain confidential, proprietary, or legally privileged
> information. No confidentiality or privilege is waived by any transmission to
> an unintended recipient. If you are not an intended recipient, please notify
> the sender and delete this message immediately. Any views expressed in this
> message are those of the sender, not those of any entity within the KBC
> Financial Products group of companies (together referred to as "KBC FP").
> 
> This message does not create any obligation, contractual or otherwise, on the
> part of KBC FP. It is not an offer (or solicitation of an offer) of, or a
> recommendation to buy or sell, any financial product. Any prices or other
> values included in this message are indicative only, and do not necessarily
> represent current market prices, prices at which KBC FP would enter into a
> transaction, or prices at which similar transactions may be carried on KBC
> FP's own books. The information contained in this message is provided "as is",
> without representations or warranties, express or implied, of any kind. Past
> performance is not indicative of future returns.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



This email and any attachments ("Message") may contain legally privileged and/or confidential
information.  If you are not the addressee, or if this Message has been addressed to you in
error, you are not authorized to read, copy, or distribute it, and we ask that you please
delete it (including all copies) and notify the sender by return email.  Delivery of this
Message to any person other than the intended recipient(s) shall not be deemed a waiver of
confidentiality and/or a privilege.

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


Mime
View raw message