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 t

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: > >

Design Patterns in Tomcat

2019-12-08 Thread M. Manna
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) Factory 4) Builder 4) Adapter Perhaps I missed any confluence link or something that confir

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
2 systems and merge them back. > > Yuck. Good luck. I think this design is going to make it very difficult > to manage and maintain. If you can't migrate systems, can you migrate > APIs? If you use SOA, you can just re-implement one service and then > combine using any approp

Re: Design Question

2011-08-06 Thread Christopher Schultz
... rewrite URLs. > Mess :) Yes kind of but there is a risk involved since all the > functionality is not moving to the new system. Yes requests split > accross 2 systems and merge them back. Yuck. Good luck. I think this design is going to make it very difficult to manage and ma

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

Design Question

2011-08-05 Thread Mohit Anchlia
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. This switch calls HttpCli

Ajax, Lizard Brain Web Design, JSF, Struts, JavaScript, Mobile Web, Fl ash, jQuery, GWT, Harmony at India’ s No.1 Software Developer Conference

2010-04-09 Thread satpal
steps to improve the IT profession in India. Featured talks at GID.Web also include: * Web 2.0 Checklist - Deconstructing Modern Websites, Scott Davis * Choosing an Ajax/JavaScript Toolkit: Comparison of Popular JavaScript Libraries, Marty Hall * Lizard Brain Web Design, Scott Davis * Effective D

Re: Code/Design Mapping in Tomcat

2009-03-14 Thread Mark Thomas
Michael Vitousek wrote: > Greetings, > > First of all, this isn't a question about how to use Tomcat, but > rather a research question about its architecture, so if this should be > going to a different mailing list, please let me know. Here is fine. A few comments. Executors (shared thread p

Re: Code/Design Mapping in Tomcat

2009-03-13 Thread Michael Vitousek
ek Caldarale, Charles R wrote: From: Michael Vitousek [mailto:mvito...@willamette.edu] Subject: Code/Design Mapping in Tomcat if there are any gross violations or omissions here please let me know where I should look. You left out the Service layer; it should go between Server and Engine.

RE: Code/Design Mapping in Tomcat

2009-03-13 Thread Caldarale, Charles R
> From: Michael Vitousek [mailto:mvito...@willamette.edu] > Subject: Code/Design Mapping in Tomcat > > if there are any gross violations or omissions here please > let me know where I should look. You left out the Service layer; it should go between Server and Engine. Connect

Code/Design Mapping in Tomcat

2009-03-13 Thread Michael Vitousek
Greetings, First of all, this isn't a question about how to use Tomcat, but rather a research question about its architecture, so if this should be going to a different mailing list, please let me know. From working over the documentation available online and in the Tomcat javadocs, I've

Form design or framework from Eclipse or Tomcat.

2008-08-14 Thread Sam Wun
Hi, I m using Eclipse 3.4 (in Vista) and Tomcat 5.5 (in linux) as J2EE development environment. I want to build a online order form to interact with backend database in linux. I know I can use dreamweaver to create web page (html template), but I don't know how to use it and dont' have the time to

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
siness and persistence things handled in ONE engine. - Original Message - From: "Mohammed Zabin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 19, 2007 9:26 AM Subject: Design > Hi All > > I am developing an online exam site as a gr

Re: Design

2007-06-19 Thread Kevin Wilhelm
List" Sent: Tuesday, June 19, 2007 9:26 AM Subject: Design Hi All I am developing an online exam site as a graduation project. I have some questions regardsing the design: 1. In such a program which is a web site that introduce some multiple choice questions, and shows the result of

Design

2007-06-19 Thread Mohammed Zabin
Hi All I am developing an online exam site as a graduation project. I have some questions regardsing the design: 1. In such a program which is a web site that introduce some multiple choice questions, and shows the result of user answers, DO I HAVE TO USE EJB??

guarantee code matches the design

2007-03-15 Thread Dean Hiller2
There is a pretty interesting article on a tool that guarantees your design/dependencies is up to date located here... http://www.devx.com/opensource/Article/33729 Just thought you might be interested in using for tomcat(or for any other project). You can actually enforce that components ONLY

Re: Static vars / connection pools / tomcat app design

2006-08-16 Thread David Smith
Jon Yeargers wrote: Hi. I have a series of tomcat based apps that all use a single .jar to do some common admin tasks like sending mail and connecting to a DB. The .jar file uses the Tomcat/JNDI connection pooling to save overhead (supposedly). In the other apps (that use the above .jar) I h

Re: Static vars / connection pools / tomcat app design

2006-08-16 Thread Leon Rosenberg
whats wrong with separating resources for independent applications? Leon On 8/16/06, Jon Yeargers <[EMAIL PROTECTED]> wrote: Hi. I have a series of tomcat based apps that all use a single .jar to do some common admin tasks like sending mail and connecting to a DB. The .jar file uses the Tomcat/J

Static vars / connection pools / tomcat app design

2006-08-16 Thread Jon Yeargers
Hi. I have a series of tomcat based apps that all use a single .jar to do some common admin tasks like sending mail and connecting to a DB. The .jar file uses the Tomcat/JNDI connection pooling to save overhead (supposedly). In the other apps (that use the above .jar) I have both servlets and

Windows XP SP2 - design question

2006-01-20 Thread Snow white
Hello fellow tomcat users, I have a problem with how IE works on Win XP SP2. I did not find anything in the archives so posting it here. I have a web page with an activex control in it served through a servlet. the javascript in the webpage interfaces with the activex and then refreshes the page t

Re: Windows XP SP2 - design question

2006-01-20 Thread Snow white
> So, presumably, your app already breaks if a user uses the 'Refresh' > button on the page, even pre-SP2? Its a quickly passing intermediate page, that checks for a few things on the end user pC and sends a report back to the server. Ofcourse the app breaks if the user uses the 'Refresh' button,

RE: Windows XP SP2 - design question

2006-01-20 Thread Peter Crowther
> From: Snow white [mailto:[EMAIL PROTECTED] > We use a > cookie to maintain the state that determines what is sent to the > client, and we update the cookie in every response of this URL > request. So, presumably, your app already breaks if a user uses the 'Refresh' button on the page, even pre-

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
that's already present in the > Commons DBCP that's included with my Tomcat installation. However, > establishing contexts is "expensive" in terms of performance (again, > so I've read), so I want to just use the DataSource I have set up in > my context.xml. So mor

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

2006-01-18 Thread Warrick Wilson
that use a "Singleton Pattern". Only I thought I already had a connection pool, and I'm trying to figure out how to make my design share the DataSource I was setting up in my servlet init() method, because I thought that would help my servlet's performance. Am I way of