Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Java server...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 14 Topic 16075 of 16590
Post > Topic >>

Re: Java server technology question?

by Dave Miller <dave@[EMAIL PROTECTED] > May 12, 2008 at 08:10 PM

Knute Johnson wrote:
> My total exposure to web delivered Java is Applets.  What is the current

> Java technology that you would use to create an interactive website that

> requires a database to manage data on the server end?  I'm looking for 
> the simplest technology to do this.  The web server that I am familiar 
> with is Apache.  Does Apache have built-in Java capabilities?
> 
> Thanks very much,
> 
Apache (the web server) does not have Java built in. Apache (the 
foundation) has Apache-Tomcat which is a Servlet and JSP engine. It is 
relatively simple to integrate the two via mod_proxy or mod_jk2. In both 
cases Apache handles static content and transparently p***** JSP and 
Servlet calls to Tomcat.

You can use either Servlets or JSP to connect to resources on the server 
including (obviously) your database. JSP can be thought of as html pages 
with integrated java code while Servlets are more like applications that 
easily handle GET, POST, etc. calls. While a Servlet can be built to 
write to output and generate an html page, JSP is the better route for
that.

Most db have ready made jdbc drivers to make that process relatively 
painless as well.


-- 
Dave Miller
Java Web Hosting at:
http://www.cheap-jsp-hosting.com/
 




 14 Posts in Topic:
Java server technology question?
Knute Johnson <nospam@  2008-05-12 11:58:14 
Re: Java server technology question?
Daniel Pitts <newsgrou  2008-05-12 12:16:29 
Re: Java server technology question?
Dave Miller <dave@[EMA  2008-05-12 20:10:44 
Re: Java server technology question?
Mark Space <markspace@  2008-05-12 15:44:29 
Re: Java server technology question?
Roedy Green <see_websi  2008-05-13 11:21:36 
Re: Java server technology question?
"Hal Rosser" &l  2008-05-12 18:47:22 
Re: Java server technology question?
Roedy Green <see_websi  2008-05-13 11:30:00 
Re: Java server technology question?
"Hal Rosser" &l  2008-05-13 21:57:25 
Re: Java server technology question?
Roedy Green <see_websi  2008-05-14 05:36:23 
Re: Java server technology question?
"Hal Rosser" &l  2008-05-14 15:21:18 
Re: Java server technology question?
Roedy Green <see_websi  2008-05-13 10:56:15 
Re: Java server technology question?
Roedy Green <see_websi  2008-05-13 11:19:04 
Re: Java server technology question?
Knute Johnson <nospam@  2008-05-13 16:59:17 
Re: Java server technology question?
RedGrittyBrick <RedGri  2008-05-14 10:04:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 15:22:12 CST 2008.