Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Java & Web

Thread view: 
miki.miska@yahoo.com - 22 Oct 2005 21:08 GMT
Hi !

For the last few year, everything I CGI'ed was writen in Perl. Also,
everything, what was writen in Java, was mostly server-like standalone
application or gui. Because I am mostly building libraries in Java,
I want to use it also as a Web application programming language.

I hear all the time about application servers, frameworks, Tomcat etc..

Can someone give me some advice, what is currently in use (so I wouldnt
stuck with some old technology on a start). I have read today about
Strut Shale. I use apache for a Web server.

How things in Java works, when they're put as a web content. How apache
and Tomcat cooperate ?

Any advice would be apreciated.
Steve Sobol - 22 Oct 2005 21:19 GMT
> How things in Java works, when they're put as a web content. How apache
> and Tomcat cooperate ?

Well, you can run Tomcat on some nonstandard port and use mod_jk to pass
requests on ports 80 and/or 443 to Tomcat from Apache. Many people do this.
I imagine one of the big benefits is not having to run Tomcat as root in
this case.

Or you can run a standalone server (Tomcat, BEA, whatever; I use Jetty) and
have it answer on 80 and/or 443. This is the way I have my JSP/Servlet sites
set up.

Signature

Steve Sobol, Professional Geek   888-480-4638   PGP: 0xE3AE35ED
Company website: http://JustThe.net/
Personal blog, resume, portfolio: http://SteveSobol.com/
E: sjsobol@JustThe.net Snail: 22674 Motnocab Road, Apple Valley, CA 92307

Steve Sobol - 23 Oct 2005 00:04 GMT
>> How things in Java works, when they're put as a web content. How
>> apache and Tomcat cooperate ?
[quoted text clipped - 7 lines]
> and have it answer on 80 and/or 443. This is the way I have my
> JSP/Servlet sites set up.

I should point out that you can use mod_jk with other servlet containers
too, not just Tomcat.

Signature

Steve Sobol, Professional Geek   888-480-4638   PGP: 0xE3AE35ED
Company website: http://JustThe.net/
Personal blog, resume, portfolio: http://SteveSobol.com/
E: sjsobol@JustThe.net Snail: 22674 Motnocab Road, Apple Valley, CA 92307



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.