You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John de la Garza <jd...@designinsites.com> on 2000/12/12 20:39:05 UTC

FW: java platform

Does anyone here have experience running java under Solaris on a sparc and
Linux on a x86?  I am looking to set up a server to run servlets and was
wondering which os runs java better.  I would assume running Solaris on a
sparc would be the best, but I just wanted some feedback.


Im using apache with tomcat.

I have only seen java run on Linux and windows both with x86 hardware.
Was also curious about BSD.

I am looking for the ideal server to run a webserver that will user
servlets.

any feedback would be appreciated.


Using Jspc for precompilation of JSPs

Posted by "G.Nagarajan" <gn...@dkf.de>.
Hi,

I am using JSPC for precompiling the jsp pages in my web applications. This
is to avoid the delay when the page gets
compiled for the first time. As far as I understood, jspc creates the .java
files in the specified directory after which we
have to compile them. The web.xml file has to modified to add the
servlet-mapping tag. A sample web.xml can be
obtained using the -webxml option.

I give the following command

jspc -d c:\tomcat\webapps\test\web-inf\classes -webxml web.xml  -webapp
c:\tomcat\webapps\test

The command creates the .java files in the c:\tomcat\webapps\web-inf\classes
and a sample web.xml in the current directory.

The web.xml file contains the servlet mappings like

	<servlet>
		<servlet-name>Login</servlet-name>
		<servlet-class>Login</servlet-class>
	</servlet>

	<servlet-mapping>
		<url-pattern>\Login.jsp</url-pattern>
		<servlet-name>Login</servlet-name>
	</servlet-mapping>

Now, when I try to access Login.jsp, tomcat ignores the above and creates a
_0002f...test.java file and executes it.
But when I change the web.xml to say, (with "/" instead of "\")

	<servlet-mapping>
		<url-pattern>/Login.jsp</url-pattern>
		<servlet-name>Login</servlet-name>
	</servlet-mapping>
it works properly.

Is there any option which will make the web.xml to have the "/" instead of
"\". I am using tomcat 3.2.1 on Windows NT .

Thanks
Nagaraj.


Re: FW: java platform

Posted by Martin Kuba <ma...@twelvehorses.com>.
John de la Garza wrote:
> 
> Does anyone here have experience running java under Solaris on a sparc and
> Linux on a x86?  I am looking to set up a server to run servlets and was
> wondering which os runs java better.  I would assume running Solaris on a
> sparc would be the best, but I just wanted some feedback.

To my experience IBM JDK runs faster than SUN JDK on Linux
and there is no IBM JDK for Solaris. See
http://www.volano.com/report.html
for detailed comparison.

Also I have the feeling that my simple PC with Pentium III 500
runs a java application server faster than SUN E250, both
with SUN JDK, but I did not any detailed tests to prove it.

Martin

Re: FW: java platform

Posted by Trevor Little <tl...@hoaglandlongo.com>.
I'm not sure but I thought about it this way... Sun = java and Sun =
Solaris.  


John de la Garza wrote:
> 
> Does anyone here have experience running java under Solaris on a sparc and
> Linux on a x86?  I am looking to set up a server to run servlets and was
> wondering which os runs java better.  I would assume running Solaris on a
> sparc would be the best, but I just wanted some feedback.
> 
> Im using apache with tomcat.
> 
> I have only seen java run on Linux and windows both with x86 hardware.
> Was also curious about BSD.
> 
> I am looking for the ideal server to run a webserver that will user
> servlets.
> 
> any feedback would be appreciated.

RE: java platform

Posted by David Rees <dr...@ebetinc.com>.
Here's a comprehensive benchmark of one application under a variety of
different JVMs on the x86 platform:

http://www.volano.com/report.html

Keep in mind that the results found here may not be the same for your
particular application!

-Dave

> -----Original Message-----
> From: John de la Garza [mailto:jdelagarza@designinsites.com]
> Sent: Tuesday, December 12, 2000 11:39 AM
> To: Tomcat-Users (E-mail)
> Subject: FW: java platform
>
>
>
> Does anyone here have experience running java under Solaris on a sparc and
> Linux on a x86?  I am looking to set up a server to run servlets and was
> wondering which os runs java better.  I would assume running Solaris on a
> sparc would be the best, but I just wanted some feedback.
>
>
> Im using apache with tomcat.
>
> I have only seen java run on Linux and windows both with x86 hardware.
> Was also curious about BSD.
>
> I am looking for the ideal server to run a webserver that will user
> servlets.
>
> any feedback would be appreciated.
>


RE: java platform

Posted by micky mimo <mi...@truexchange.com>.
Are you developing commercial apps?

/===============================\
| Micky Mimo                    |
| Systems Specialist            |
| (781) 457 - 1317              |
| micky@truexchange.com         |
\===============================/


-----Original Message-----
From: John de la Garza [mailto:jdelagarza@designinsites.com]
Sent: Tuesday, December 12, 2000 2:39 PM
To: Tomcat-Users (E-mail)
Subject: FW: java platform



Does anyone here have experience running java under Solaris on a sparc and
Linux on a x86?  I am looking to set up a server to run servlets and was
wondering which os runs java better.  I would assume running Solaris on a
sparc would be the best, but I just wanted some feedback.


Im using apache with tomcat.

I have only seen java run on Linux and windows both with x86 hardware.
Was also curious about BSD.

I am looking for the ideal server to run a webserver that will user
servlets.

any feedback would be appreciated.