axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Mike" <>
Subject RE: Axis & workflow based services
Date Thu, 10 Feb 2005 20:09:25 GMT
   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,


-----Original Message-----
From: Abdullah Jibaly [] 
Sent: Thursday, February 10, 2005 1:49 PM
Subject: Re: Axis & workflow based services


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.


--- Bill Keese <> 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

View raw message