You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "John B. Walker" <jw...@rsimail.com> on 2006/05/01 20:11:10 UTC
Re: .NET/WebServices/Java
Ted,
On 4/25/06, John B. Walker <jw...@rsimail.com> wrote:
> My boss is running it by the lawyers. I will keep you posted, and
> keep working on the framework.
Thank you for the patience. We're all clear for submission. I have
permission from the company's lawyers to submit this code to SF.
Ted Husted <hu...@apache.org> wrote:
> The first step would be to get the code "out there" where people can
> try it.
...
> If you don't want to start your own project, there is a Struts
> SourceForge project ( struts.sf.net) where you could upload the code.
> Just take out a SourceForge account and let me know what your user id,
> and a working name for the product, and I'll setup a module for you,
My SF account is johnwalker00.
I have been calling this thing "Girders", so I would like to use that as a
working name for the product.
Thanks for going the extra mile with me on this one Ted. I appreciate the
hand-holding.
Thanks and regards,
John Walker
Re: .NET/WebServices/Java
Posted by "John B. Walker" <jw...@rsimail.com>.
On 5/1/06, Jason Carreira <fo...@opensymphony.com> wrote:
> Ok, so I'll bite... What's "Girders"?
Girders is a framework that's derived from Apache Struts. I had an "itch"
for a .NET front-end, Java web service back end. I have been infatuated
with the Struts framework and its keen ability to separate developers'
concerns since I first used it back in 2002, but I have some software
requirements that warrant using .NET for my user interface.
I apologize for picking this conversation up in dev@ and dropping user@, but
Ted and I thought that the discussion was more appropriate to this group.
And here is how it works.
.NET (either ASP.NET or Windows Forms .NET)
| - represents the "View"
|
| [INTERFACE: API direct calls]
V
Girders .NET Controller
| - Turns View information into Girders Form (the "Model") represented as XML
| - Interfaces with web services proxy on the back end
| - Executes Action Forwards (to navigate to other .NET View)
|
| [INTERFACE: SOAP through .NET Web service proxy]
V
Girders .NET Web Service Proxy
| - calls AXIS web service
|
| [INTERFACE: SOAP/HTTP or SOAP/HTTPS for secure processing]
V
Apache AXIS web services (Residing in Apache Tomcat)
| - calls Girders Java Controller
|
| [INTERFACE: AXIS uses Java reflection here]
V
Girders Java Controller
| - Executes Actions & Action Forwards (to other actions)
| - turns Girders Form XML into a Java Girders Form object
|
| [INTERFACE: AXIS uses Java reflection here]
V
Girders Actions (similar to events)
- API users place their business logic code here
- API users can reference and call any code they so choose
- Girders Java Controller passes in the Girders Java Form
so that the Action can process the data that was entered
on the View
So, for the sake of continuity, the original text of the conversation is as
follows:
On 4/23/06, John B. Walker <jw...@rsimail.com> wrote:
>
> Ted wrote:
> > If the situation is that you have business logic trapped in Struts
> > Actions that you want to access from an ASPX application, then you
> > might be able to create web service to front the Action, and have the
> > ASPX application access the web service. (The inverse of what I
> > mentioned before.)
>
>
> Thanks Ted, that does help. I have taken this one step further than your
description.
>
> I am a Sr Dev/Architect at my present company, and we've been using a
tiered architecture that flows like so:
>
> .NET (either ASP.NET or Windows Forms .NET)
> | (SOAP through .NET Web service proxy)
> V
> Apache AXIS web services (Residing in Apache Tomcat)
> | (AXIS uses Java reflection here)
> V
> Business Delegate pattern Java classes
> | (Didn't really delegate too much :) )
> V
> Custom DAL layer
> | (JDBC)
> V
> Database
>
> Seeing the power of Struts, I wanted to move more toward an MVC
architecture, esp. since we have two "view" apps for this application.
>
> Instead of utilizing Struts, because of its Java-centric view pieces, I
have developed an architecture based on the open source STRUTS
framework. Right now this has three man-weeks worth of work into it. I have
checked with the Director of Technology at my company, and the company wants
to contribute to Open Source, since Struts and other Apache Group projects
have made my life ever so much easier.
>
> I thought that since my custom framework was based on STRUTS, that this
was the right project to try to contribute back to the community. My simple
code may not be "up to snuff", but it's my meagre attempt at a
contribution. I must admit, I would LOVE to begin to contribute back to the
community because of all that I have learned and benefited.
>
> My next question for you Ted (or others), is:
> "How would I contribute this source back to Struts, and do you think that
the committee would be interested in adopting this framework into the Struts
project?"
>
> Thanks and Regards,
>
> John Walker
>
>
>
>
>
> On 4/23/06, Ted Husted <te...@gmail.com> wrote:
> > > > Is there a way that I can have a Struts application that services a
.NET
> > > > view, Struts controller, and Struts model objects?
> >
> > If you need to render an ASPX page, then either ASP.NET or MONO needs
> > to be in the picture. Right now, I don't know of a way to run both
> > ASP.NET and J2SE in the same application space. They could both use a
> > common set of web services. I do know people who use ASP.NET to create
> > web services, and then use a Java web framework on the front end.
> >
> > If the situation is that you have business logic trapped in Struts
> > Actions that you want to access from an ASPX application, then you
> > might be able to create web service to front the Action, and have the
> > ASPX application access the web service. (The inverse of what I
> > mentioned before.)
> >
> > One effort in that regard is
> >
> > * http://sourceforge.net/projects/strutsws
> >
> > If you are developing an ASPX application, I've found the Spring.NET
> > framework very userful in my own work.
> >
> > * http://springframework.net/
> >
> > HTH, Ted.
> >
> > On 4/23/06, John B. Walker <jw...@rsimail.com> wrote:
> > > yes, an ASPX file
> > >
> > >
> > > On 4/21/06, Ted Husted < ted.husted@gmail.com> wrote:
> > > >
> > > What do mean by a .NET view? Are you talking about a .ASPX file with
a
> > > code-behind?
> > >
> > > -Ted.
> > >
> > > On 4/21/06, John Walker <jo...@gmail.com> wrote:
> > > > Is there a way that I can have a Struts application that services a
.NET
> > > > view, Struts controller, and Struts model objects?
> > > >
> > > > I've recently been writing my own framework to do such a thing, and
I'm
> > > > wondering if I should have deferred to the wisdom of Struts users :)
> > > before
> > > > delving into my own development.
> > > >
> > > > Regards,
> > > > John Walker
> > > >
> > > > johnwalker00@gmail.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
Regards,
John Walker
Re: .NET/WebServices/Java
Posted by Martin Cooper <ma...@apache.org>.
On 5/1/06, Jason Carreira <fo...@opensymphony.com> wrote:
>
> Ok, so I'll bite... What's "Girders"?
Why, it's the stuff that Irn-Bru is made from, of course!
http://en.wikipedia.org/wiki/Irn_Bru
--
Martin Cooper
---------------------------------------------------------------------
> Posted via Jive Forums
>
> http://forums.opensymphony.com/thread.jspa?threadID=27484&messageID=56099#56099
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
Re: .NET/WebServices/Java
Posted by Jason Carreira <fo...@opensymphony.com>.
Ok, so I'll bite... What's "Girders"?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=27484&messageID=56099#56099
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: .NET/WebServices/Java
Posted by Ted Husted <te...@gmail.com>.
OK, you should be all set with a "girders" subproject on the Struts SF
site, John.
We had been using CVS (because that's all there was), but I just
enabled Subversion if you want to use that instead.
-Ted.
On 5/1/06, John B. Walker <jw...@rsimail.com> wrote:
> Ted,
>
>
> On 4/25/06, John B. Walker <jw...@rsimail.com> wrote:
> > My boss is running it by the lawyers. I will keep you posted, and
> > keep working on the framework.
>
> Thank you for the patience. We're all clear for submission. I have
> permission from the company's lawyers to submit this code to SF.
>
>
> Ted Husted <husted@apache.org > wrote:
> > The first step would be to get the code "out there" where people can
> > try it.
> ...
>
> > If you don't want to start your own project, there is a Struts
> > SourceForge project ( struts.sf.net) where you could upload the code.
> > Just take out a SourceForge account and let me know what your user id,
> > and a working name for the product, and I'll setup a module for you,
>
>
> My SF account is johnwalker00.
>
> I have been calling this thing "Girders", so I would like to use that as a
> working name for the product.
>
> Thanks for going the extra mile with me on this one Ted. I appreciate the
> hand-holding.
>
> Thanks and regards,
> John Walker
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org