Re: Design Patterns in Tomcat

2019-12-09 Thread M. Manna
Chris, On Mon, 9 Dec 2019 at 17:10, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > M, > > On 12/8/19 17:10, M. Manna wrote: > > Hi All, > > > > A numpty question as its best, but I was trying to summarise the > > design patterns

Re: Design Patterns in Tomcat

2019-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 M, On 12/8/19 17:10, M. Manna wrote: > Hi All, > > A numpty question as its best, but I was trying to summarise the > design patterns used for tomcat. So far I could see the following, > but shouldn't be limited to: > > 1) Mediator 2) Observer 3)

Re: Design Question

2011-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/6/2011 9:41 PM, Mohit Anchlia wrote: > thanks for your input. Is it ok to make Http Calls and wait for > response inside of Valve or Filter? Sure. You can do whatever you'd like. > Are there any problems that might arise because of this

Re: Design Question

2011-08-06 Thread Mohit Anchlia
On Sat, Aug 6, 2011 at 6:10 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 8/5/2011 5:46 PM, Mohit Anchlia wrote: >> I also need to use mod_rewrite to direct request to new Servlet. Can >> I use rewrite to say abc.com/abc to abc.com/switch/abc? >

Re: Design Question

2011-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:46 PM, Mohit Anchlia wrote: > I also need to use mod_rewrite to direct request to new Servlet. Can > I use rewrite to say abc.com/abc to abc.com/switch/abc? Of course. That's kind of what mod_rewrite was written to do... rewrite

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 2:41 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 8/5/2011 5:05 PM, Mohit Anchlia wrote: >> On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz >>> Uh, why not use an HTTP proxy instead of using HttpClient. Squid, >>> Apa

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:05 PM, Mohit Anchlia wrote: > On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz >> Uh, why not use an HTTP proxy instead of using HttpClient. Squid, >> Apache httpd, countless LBs, and many others have this capability >> without

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 8/5/2011 1:59 PM, Mohit Anchlia wrote: >> This switch calls HttpClient Post calls using thread pools to send >> the request to other systems. > > Uh, why not use an HTTP p

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 1:59 PM, Mohit Anchlia wrote: > This switch calls HttpClient Post calls using thread pools to send > the request to other systems. Uh, why not use an HTTP proxy instead of using HttpClient. Squid, Apache httpd, countless LBs, and

Re: Design Question

2011-08-05 Thread André Warnier
Mohit Anchlia wrote: We are developing a new system that will run in parallel with old system. So some requests will go to new system and some old based on configuration. We will put software switch software which will read configuration and the request and decide which system this will go to. Th

RE: Design

2007-06-19 Thread Nelson, Tracy M.
| From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 19 June, 2007 05:59 | | And, no, definitely you don't need EJB : that's a too heavy-weight | technology for such a project. And the learning curve is far more longer. Actually, with annotations and a supportive IDE (NetBeans, and pr

Re: Design

2007-06-19 Thread Pierre Goupil
Hello, Learning curve means : the time it will take you to learn a new technology. While learning it, you're not using it, that's the concept. And yes, definitely, you should learn to use Spring : it's a kind of an EJB-like service provider, but a lightweight one. As said, it will help you code

Re: Design

2007-06-19 Thread ben short
"Mohammed Zabin" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" > > Sent: Tuesday, June 19, 2007 9:42 AM > > Subject: Re: Design > > > > > > >I am using a Tag that render the whole questions, can i create another > tag > > &g

Re: Design

2007-06-19 Thread Mohammed Zabin
to proceed with > questionaires. > > > - Original Message - > From: "Mohammed Zabin" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tuesday, June 19, 2007 9:42 AM > Subject: Re: Design > > > >I am using a Tag that render the w

Re: Design

2007-06-19 Thread ben short
EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 19, 2007 9:42 AM Subject: Re: Design >I am using a Tag that render the whole questions, can i create another tag > that deals with user request? > > On 6/19/07, Kevin Wilhelm <[EMAIL PROTECTED]> wrote: >

Re: Design

2007-06-19 Thread Kevin Wilhelm
n" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 19, 2007 9:42 AM Subject: Re: Design I am using a Tag that render the whole questions, can i create another tag that deals with user request? On 6/19/07, Kevin Wilhelm <[EMAIL PROTECTED]> wrote: No!

Re: Design

2007-06-19 Thread Mohammed Zabin
I am using a Tag that render the whole questions, can i create another tag that deals with user request? On 6/19/07, Kevin Wilhelm <[EMAIL PROTECTED]> wrote: No! This sounds like a simple webapp to me. Just use some Servlet Container (Tomcat) and have all of the presentation (JSP), business an

Re: Design

2007-06-19 Thread Kevin Wilhelm
No! This sounds like a simple webapp to me. Just use some Servlet Container (Tomcat) and have all of the presentation (JSP), business and persistence things handled in ONE engine. - Original Message - From: "Mohammed Zabin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday,

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-19 Thread Ritchie Gillam
I just wanted to add the Hibernate is very good for dealing with Database stuff. Ritchie >>> [EMAIL PROTECTED] 18/01/2006 9:04 pm >>> > Ah, well, it's for things like this that we schedule a long test/fix cycle, right? Indeed... :( Here the links to those frameworks: http://www.springframewo

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Giorgio Clavelli
> Ah, well, it's for things like this that we schedule a long test/fix cycle, right? Indeed... :( Here the links to those frameworks: http://www.springframework.org/ http://wicket.sourceforge.net/ Have fun. Giorgio On 1/19/06, Warrick Wilson <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm in your s

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Warrick Wilson
> Hi, > I'm in your same boat (like many I guess). In an effort to learn best > pratice and avoiding to reinvent the wheel, I thought, it may be wise to > stick with one of the several java web application frameworks. > I'm trying with Spring, which seems quite good, but at least for me, it is >

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Giorgio Clavelli
Hi, I'm in your same boat (like many I guess). In an effort to learn best pratice and avoiding to reinvent the wheel, I thought, it may be wise to stick with one of the several java web application frameworks. I'm trying with Spring, which seems quite good, but at least for me, it is not that easy