Re: Re: Can I call my Restlet classes without a Web container?

2007-06-01 Thread Bryan Loofbourrow
For example: Thanks, this is just what I was looking for. The sample code is much appreciated. I'll give it a whirl. I am certainly in agreement with the wisdom of separating business logic from the vehicle used to convey it, where feasible. I'm dealing with existing code here -- but also there

RE: Re: Can I call my Restlet classes without a Web container?

2007-05-31 Thread Chuck Hinson
(){ . . . } . . . } --Chuck -Original Message- From: Adam Taft [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 9:13 PM To: discuss@restlet.tigris.org Subject: Re: Can I call my Restlet classes without a Web container? Bryan, I know this isn't directly answering

Re: Can I call my Restlet classes without a Web container?

2007-05-31 Thread Jim Alateras
; } public void delete(){ . . . } . . . } --Chuck -Original Message- From: Adam Taft [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 9:13 PM To: discuss@restlet.tigris.org Subject: Re: Can I call my Restlet classes without a Web container? Bryan, I know

Re: Can I call my Restlet classes without a Web container?

2007-05-30 Thread Adam Taft
Bryan, I know this isn't directly answering your question, but how we do testing is by integrating with the Spring Framework. With Spring, you get various DAO and service layer support classes which are easily testable. Essentially, if you make your Restlets as dumb as possible by