RE: Where to put the business logics?

2004-09-21 Thread Matthew Ryan
W. Ambler and Tyler > Jewell. > I have been reading this book, it is a good book for beginners. > > Sridhar > > -Original Message- > From: PC Leung [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 21, 2004 7:04 AM > To: Struts Users Mailing List > Subject: Re

RE: Where to put the business logics?

2004-09-21 Thread sridhar ramalingam
Subject: Re: Where to put the business logics? Lots of people support the use of EJB. I have not touched EJB before. I have a book about EJB which is quite difficult. I am afraid of being too old to learn. Any other simpler methods for oldies (nearly 41

Re: Where to put the business logics?

2004-09-21 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 9/21/2004 11:51 AM: Take a look at the Spring framework - it helps use POJO's rather than EJB's I think everyone is making this more difficult than it needs to be. I think as start just have your actions call some delegate or service class or whatever the

Re: Where to put the business logics?

2004-09-21 Thread dhay
rs Mailing List" <[EMAIL PROTECTED]> | | cc: | | S

Re: Where to put the business logics?

2004-09-21 Thread DGraham
gt; 09/21/2004 10:38 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject Re: Where to put the business logics? Any suggested POJO web sites so that I can have a glance?

Re: Where to put the business logics?

2004-09-21 Thread Nicolas De Loof
I don't agree : - My app will NEVER be anything else than a webapp - We are 3 developpers working both on business and web BUT we defined a business API using interfaces for business logic Using this, we can change business tier for a mock one for application demo or testing cases that may be d

Re: Where to put the business logics?

2004-09-21 Thread PC Leung
Any suggested POJO web sites so that I can have a glance? - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tue, 21 Sep 2004 10:12:16 -0400 Subject: Re: Where to put the business logics? To: Struts Users Mailing List <[EMAIL PROTECTED]> Depending on y

R: Where to put the business logics?

2004-09-21 Thread Amleto Di Salle
ggetto: Re: Where to put the business logics? What is POJO anyway? Why differs from other J2EE technologies? Is it requires AS? -- Regards, M. Onur Tokan On Tue, 21 Sep 2004 10:18:38 -0400 (EDT), Frank W. Zammetti (MLists) <[EMAIL PROTECTED]> wrote: > Thanks for defining POJO Dennis! I&#x

Re: Where to put the business logics?

2004-09-21 Thread PC Leung
I strongly agree with you of decoupling business logic and action class. If ejb is the right way, any easy tutorial online? On Tue, 21 Sep 2004 07:23:32 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > > > PC Leung wrote: > > >In the mailing list, I have read some people suggesting not to p

Re: Where to put the business logics?

2004-09-21 Thread Frank W. Zammetti (MLists)
That's a good point... If you KNOW your application is NEVER going to be anything other than a web-based application, and if you KNOW you won't need to re-use your business logic (or expose it in any way outside the application), and if your development team is not really separated (especially if

Re: Where to put the business logics?

2004-09-21 Thread Onur Tokan
d in Rod Johnsons > > "Expert J2EE w/o EJB" book: > > http://www.bookpool.com/.x/7dybtc9v34/sm/0764558315 > > > > Dennis > > > > > > > > > > PC Leung <[EMAIL PROTECTED]> > > 09/21/2004 10:03 AM > > Please respond to

Re: Where to put the business logics?

2004-09-21 Thread Michael McGrady
PC Leung wrote: In the mailing list, I have read some people suggesting not to put business logics in Action class. Certainly, business logics should not be in JSP or Form class. Then where should the business logics be put? Thanks A good answer to this question is impossible to give, PC, without

Re: Where to put the business logics?

2004-09-21 Thread Frank W. Zammetti (MLists)
ECTED]> > > > To > Struts Users Mailing List <[EMAIL PROTECTED]> > cc > > Subject > Re: Where to put the business logics? > > > > > > > Lots of people support the use of EJB. > I have not touched E

Re: Where to put the business logics?

2004-09-21 Thread DGraham
21/2004 10:03 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject Re: Where to put the business logics? Lots of people support the use of EJB. I have not touched EJB before. I have a b

Re: Where to put the business logics?

2004-09-21 Thread PC Leung
Lots of people support the use of EJB. I have not touched EJB before. I have a book about EJB which is quite difficult. I am afraid of being too old to learn. Any other simpler methods for oldies (nearly 41)? - To unsubscribe, e-

Re: Where to put the business logics?

2004-09-21 Thread Frank W. Zammetti (MLists)
One thing to be careful of, a mistake I've seen made often, is a clean separation of the business delegates and the Actions... When calling on your delegates, be sure NOT to pass anything that is web-specific like session or request objects. This will make changing business classes a lot easier an

Re: Where to put the business logics?

2004-09-21 Thread brenmcguire
A common practice is to use the J2EE design pattern "Business Delegate", that provides a clean separation between the technology used to store data and all the rest of the application. The Business Delegate will expose some "APIs", but it does not show how it is really implemented (JDBC, EJB,etc.)

Re: Where to put the business logics?

2004-09-21 Thread Onur Tokan
I think accessing(reading data) one or more table using join is very difficult using EJB's. I prefer JDBC (sometimes using PL/SQL for oracle databases) for reading from datasources and CMP Entity Object's for writing to the database. Sincerly Onur On Tue, 21 Sep 2004 17:49:09 +0800, PC Leung <[EM

Re: Where to put the business logics?

2004-09-21 Thread Nicolas De Loof
In model ! Struts is a MVC framework without any 'M' support : you can use anything you want to build your model. > In the mailing list, I have read some people suggesting not to put > business logics in Action class. Certainly, business logics should not > be in JSP or Form class. Then where

Re: Where to put the business logics?

2004-09-21 Thread Jitender K Chukkavenkata
hi, Action classes must be delegates to the actual business logic. Make business logic available in a different layer (say helper classes) and let the action class to invoke the actual business logic. Jitender Kumar C.V.

Where to put the business logics?

2004-09-21 Thread PC Leung
In the mailing list, I have read some people suggesting not to put business logics in Action class. Certainly, business logics should not be in JSP or Form class. Then where should the business logics be put? Thanks - To unsubscr