Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread David Ward
Good point. Now you're introducing a more clustered approach. It really depends on what his needs are - and from the sounds of it the performance requirements don't seem very well known. I didn't know if he wanted to go that far. When it comes to applications, I usually warn people not to in

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread Emerson Cargnin - SICREDI Serviços
i think a better distribution would be not between layers, but having both layers in both machines, so that it scales nice and mantain web->ejb comunication inside the same vm. Beyond that , there won't be a single point of failure. You would use a cisco (hardware) or mod_jk (software) to do th

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread David Ward
Pavel, Feel free to run your own performance tests (always run your own tests since applications and configurations differ), however leverage the cummulative wisdom and experience that exists on this list (it's very significant here) as a good starting point. Generaly speaking, the advice I ga

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread Pavel Kolesnikov
OK, thanks for you response, I understand your point. But what should I do, if there's a need for better perfomance and customer says "well, I could buy another CPU or more RAM, but I have also an extra unused machine here - couldn't we use it instead of buying new CPU or RAM?" Should I try to exp

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread Greg Turner
The web container in the same JVM as the EJB container is the best for performance concerns. Pavel Kolesnikov wrote: On Wed, 20 Nov 2002, Dain wrote: There is no reason you have to separate the web container from the EJB container. I don't understand this - what if

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread David Ward
Maybe I'm coming in late on this thread... What *I* don't understand is why you think having your web container on one machine and your ejb's on another would perform better. Having your servlets run in the same JVM as your ejb's allows your servlets to access them with local interfaces, and y

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-21 Thread Pavel Kolesnikov
On Wed, 20 Nov 2002, Dain wrote: > There is no reason you have to separate the web container from the EJB > container. I don't understand this - what if I want to run my application on two machines because of performance reasons? What should I do instead of putting my webapp on one machine and m

Re: [JBoss-user] configuring security if web and ejbs on differentmachines

2002-11-20 Thread Emerson Cargnin - SICREDI Serviços
we use it. We have the same configuration (ldap) of both machines. The web tier just use it to make the authentication and propagate the principal to the other machine to be authorized. Pavel Kolesnikov wrote: Hello, I've configured my security realm on my JBoss 3.0.2 server. Everything works f