Re: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Anders Engström
On Tue, Feb 25, 2003 at 07:03:39PM -0800, Jason Carreira wrote: > > -Original Message- > > From: James Cook [mailto:[EMAIL PROTECTED] > > > > > > And eventually SLSB -> Action -> Web Tier? > > > > > > > > > > Well, one would hope not. Again, it's dependent on how you're > > > using you

Re: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Anders Engström
On Tue, Feb 25, 2003 at 09:16:36PM -0500, James Cook wrote: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Anders Engström > > > The idea is to make the actions "mobile" and move their place > > of execution to the EJB-container. This w

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Jason Carreira
> -Original Message- > From: James Cook [mailto:[EMAIL PROTECTED] > > > > And eventually SLSB -> Action -> Web Tier? > > > > > > > Well, one would hope not. Again, it's dependent on how you're > > using you Actions. > > Gotcha, I just thought that was his intent because he said he >

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread James Cook
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jason Carreira > > And eventually SLSB -> Action -> Web Tier? > > > > Well, one would hope not. Again, it's dependent on how you're > using you Actions. Gotcha, I just thought that was his int

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Jason Carreira
> -Original Message- > From: James Cook [mailto:[EMAIL PROTECTED] > > Maybe I'm missing it, but moving action execution to the > EJB-tier is a good idea why? Why not just code some POJO's to > perform the business logic on the EJB-tier. For more > complicated workflow, the workflow eng

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread James Cook
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Anders Engström > The idea is to make the actions "mobile" and move their place > of execution to the EJB-container. This way you minimize the > amount of network use - instead of letting each act

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread James Cook
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jason Carreira > I think his suggestion makes sense. It's a valid pattern, IMHO. Maybe I'm missing it, but moving action execution to the EJB-tier is a good idea why? Why not just code some POJO's

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread James Cook
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jason Carreira > Sent: Tuesday, February 25, 2003 3:47 PM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] WW and Business Logic in EJB > > > > > &

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Matt Ho
> This sounds Ok - but this might generate a lot of network round-trips > from the web-tier <-> ejb-tier. > > > 2. Use a filter to implement similar logic. * Allow request scoped interceptors. Solution is otherwise the same as a filter. Request scoped interceptors are nice as filters are web bo

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Jason Carreira
> -Original Message- > From: Anders Engström [mailto:[EMAIL PROTECTED] > > > 3. Pull the code out of your SLSBs into POJOs and create a > new wrapper > > SLSB which puts together these POJO calls in the correct order / > > workflow and call that from your Action. > > > > I assume you

Re: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Anders Engström
On Tue, Feb 25, 2003 at 12:46:57PM -0800, Jason Carreira wrote: > > > > -Original Message- > > From: James Cook [mailto:[EMAIL PROTECTED] > > > > Sorry but this doesn't make much sense to me. When you say Actions, I > > guess you are not referring to WW actions. If you are, I > > thin

Re: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Anders Engström
On Tue, Feb 25, 2003 at 03:38:11PM -0500, James Cook wrote: > On Tuesday, February 25, 2003, at 02:54 PM, Anders Engström wrote: > > >We want each HTTP-request to run under the scope of one transaction in > >the business layer. This is where I need some advice - how do we best > >utilize WW to ach

RE: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread Jason Carreira
> -Original Message- > From: James Cook [mailto:[EMAIL PROTECTED] > > Sorry but this doesn't make much sense to me. When you say Actions, I > guess you are not referring to WW actions. If you are, I > think you may > need to re-read some documentation. :-) I think his suggestion mak

Re: [OS-webwork] WW and Business Logic in EJB

2003-02-25 Thread James Cook
On Tuesday, February 25, 2003, at 02:54 PM, Anders Engström wrote: We want each HTTP-request to run under the scope of one transaction in the business layer. This is where I need some advice - how do we best utilize WW to achieve this? Most of the transactions in our application are initiated on t