Re: Java server technology question?
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,
It depends on what you mean by "interactive."
Click on links: use anything.
Forms and validation: many things do this, including I think Struts,
Java Server Faces, and Spring.
Web games, movies: get Flash.
A "J2EE Web container" is a program that sits behind a web server like
Apache and servers up Java to the web server. J2EE is a little like PHP
or CGI -- it's an add-on that allows the web server to "speak" Java and
a few other J2EE dialects (JSPs for example). Tomcat is probably the
best known J2EE container. Glassfish and WebBoss (IBM) are also often used.
And you can add a large number of frameworks to the J2EE container. And
I do mean large. Struts, Java Server Faces, Spring, Hibernate, lots
lots more. Check around the Apache website or Google. You might also
try to ask more specific questions, some folks here might be able to
give you direct advice.