axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Mike" <mike.br...@dor.state.wi.us>
Subject RE: Axis & workflow based services
Date Thu, 10 Feb 2005 20:09:25 GMT
Abdullah,
   What precisely is your business layer? You have a few options...One you
can use a delegate between your impl class and the business layer that knows
how to access the business layer and make the appropriate calls. Two, you
can have the impl access the business layer directly (I prefer to separate
the code myself, but the choice is yours).

So basically, web layer makes call to Axis, Axis uses delegate to access the
business layer, business layer performs its magic and returns to delegate
who returns to axis who returns to web layer.

Hope that helps,

Michael 

-----Original Message-----
From: Abdullah Jibaly [mailto:amjibaly@yahoo.com] 
Sent: Thursday, February 10, 2005 1:49 PM
To: axis-user@ws.apache.org
Subject: Re: Axis & workflow based services

Bill,

Thanks for the input. However, my presentation layer is going to be Laszlo,
and I want to communicate with the business layer using axis. That's why I
can't get to struts, axis will be processing the request first.

Thanks,
Abdullah 

--- Bill Keese <billk@tech.beacon-it.co.jp> wrote:

> Abdullah Jibaly wrote:
> 
> >I want my view layer to communicate with the business layer using web 
> >services ... I can't use a standard MVC framework like struts
> since
> >the request is sent to AxisServlet, right?
> >  
> >
> As far as I understand, people usually talk about separating the 
> "presentation layer" and the "business layer", rather than separating 
> the "view layer" from the "business layer". So, it sounds like you 
> should write the presentation layer (model, view, and controller) in 
> struts, but the struts Actions should call the "business layer" via 
> web services.  IE, the parts relating to displaying web pages and to 
> web page flow should be in struts, and the Business layer contains 
> "support"
> functions like "addEmployee()".
> 
> What do you think?
> 
> Bill
> 


Mime
View raw message