Re: Struts 2 and SOA

2008-02-27 Thread Richard Sayre
2008 15:32:56 -0330 To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts 2 and SOA Ok. All of my actions call my DAOs for their logic. Most of my actions look like this: public String myActionMethod() { myDAO.getARecord(); //populate

Struts 2 and SOA

2008-02-26 Thread Richard Sayre
If I have a struts application, is it posssible to expose some of the functionality as a Web Service? After reading some SOA documents on the Sun website, it is possible to expose servlets as web services. Is this possible with Strus and J2EE? Is there a document that I can read on it? Are there

Re: Struts 2 and SOA

2008-02-26 Thread Lukasz Lenart
Hi, I think, it will be better if try to use XFire / CXF or Axis2, you can create simple POJO and expose it as WebService and from the other side you can use such POJO in your Struts2 actions. And of course you can use Spring to initialize it and inject to your actions ;-) If you want to have

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
Date: Tue, 26 Feb 2008 11:05:48 -0330 To: Struts Users Mailing List user@struts.apache.org Subject: Struts 2 and SOA If I have a struts application, is it posssible to expose some of the functionality as a Web Service? After reading some SOA documents on the Sun website, it is possible

Re: Struts 2 and SOA

2008-02-26 Thread Richard Sayre
Could you elaborate a bit. Would the POJO contain the Business logic for calling My DAO and other classes? Would the POJO replace the action functionality? Then my action would use a POJO to do all of the work? So any logic in MyAction.save() would go into POJO.save() which would then be

Re: Struts 2 and SOA

2008-02-26 Thread Richard Sayre
user@struts.apache.org Subject: Struts 2 and SOA If I have a struts application, is it posssible to expose some of the functionality as a Web Service? After reading some SOA documents on the Sun website, it is possible to expose servlets as web services. Is this possible with Strus

Re: Struts 2 and SOA

2008-02-26 Thread Dave Newton
--- Richard Sayre [EMAIL PROTECTED] wrote: I dont see any need for .NET interoperability in the future, but it would hurt to have that option. I like your typo more than what you actually meant ;) After talking briefly with a more experienced analyst, he mentioned that SOA might be worth

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
Subject: Re: Struts 2 and SOA I am not using Spring yet. We currently just finished migrating our application to struts 2. We have not had a chance to look into Spring yet but it was recommended by the person who started the struts migration. If this is part of the solution to getting our

Re: Struts 2 and SOA

2008-02-26 Thread Richard Sayre
I dont see any need for .NET interoperability in the future, but it would hurt to have that option. I like your typo more than what you actually meant ;) Ha ha, that is quite funny. Another thing to look at is the RESTful plugin. It allows the same action to serve back data in

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
From: Richard Sayre [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Tue, 26 Feb 2008 14:08:18 -0330 To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts 2 and SOA Could you elaborate a bit. Would the POJO contain the Business logic

Re: Struts 2 and SOA

2008-02-26 Thread Lukasz Lenart
Hi, It is too complex to answer in one post ;-), but you almost answer all your questions ;-) I don't know all the details about your system (will it be base on some J2EE App server?), but for example: - you can implement all your core business logic as simple POJO's base on Spring, it will allow

Re: Struts 2 and SOA

2008-02-26 Thread Richard Sayre
@struts.apache.org Subject: Re: Struts 2 and SOA Could you elaborate a bit. Would the POJO contain the Business logic for calling My DAO and other classes? Would the POJO replace the action functionality? Then my action would use a POJO to do all of the work? So any logic

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
From: Richard Sayre [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Tue, 26 Feb 2008 15:32:56 -0330 To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts 2 and SOA Ok. All of my actions call my DAOs for their logic. Most of my