mark evilsizor

Greenhorn
+ Follow
since Oct 25, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by mark evilsizor

Resin sounds promising, how does it handle this scenario. I have a standard header bean and it takes 3 parameters to generate each page's header. Now on the development box I change this bean to require 4 parameters and I update the JSP pages that use this bean so that they feed it the required parameters.
With Tomcat to deploy these changes I need to copy over the .jsp and .class files and then stop and start Apache/Tomcat, and people already logged in loose their session. Can Resin handle this scenario without restarting?
Another scenario is that someone is logged into our site and they have items in their shopping cart, which is a java class. On my test box I modify the cart class. Now I need to deploy it. Again with Apache/Tomcat I must stop and start the server processes which empties the JVM and therefore the customer's cart. How does Resin handle this and resolve any differences between the old and new revisions of the cart class?

Originally posted by Frank Carver:
I use Resin, from http://www.caucho.com/ which reloads classes and wars if they change without needing a reboot and usually without affecting other web-apps.


22 years ago
What are you doing with regard to production JSP/Servlet engines and installing new class files?
I am using Apache 1.9/Tomcat 3.1 and from reading the posts and from our experiencce, it seems like I must stop and start Apache and Tomcat to install the new version of a class file.
So in a production environment, the current "state" of sessions will be lost when this happens. How do you deal with this? Are there servlet engines that handle class updates better?
Thanks
22 years ago
I apologize for my lack of knowledge, but I hope this is the place to ask such questions.
What is the relationship between Tomcat, Apache, and mod_jserv.
My understanding is that Apache serves HTTP requests primarily by returning HTML to the browser. Tomcat handles JSP requests. When Apache gets a JSP requests, it knows to let Tomcat handle it. Tomcat then uses the JDK to turn the JSP into a servlet and work with it.
So what does mod_jserv do?
Also what is the relationship between the Apache group JServ and Tomcat?
Thanks for your help
23 years ago
Do the jdks for Linux implement native or green threads? Specifically JDK 1.1.8, 1.2.2 or 1.3?
How can I know in general if a given jkd implements native or green threads?
Thanks for your help!