Hi,
I want to get into some JAVA servlet programming. Does apache support java servlets properly or do I need the SUN web server and indeed does that cost anything?
cheers and thanks for any information.
Stephen
Some browsers on some OSs can't handle java or java script. In the not too distant past, linux users had to disable jave and java scripts because it would freeze everything. Firefox seems to have taken care of that problem.
Apache by itself does not do servlets, but what you want is to setup tomcat along with apache. Then you can do dynamic pages with jsp's and servlets. Free, multiplatform, and many hosts can support it for you.
for a novice wont he just include the applet in his HTML file and away he goes? as long as accesses the applet through a competent browser, or am i wrong there?
i am about to do the same and this was my plan gulp!
warby1212 asked about servlets. They run server side. Servlets running on server place no java requirements on the browser. The browser has no clue how the html got created.
Whether to use an applet or not depends where you want the processing to take place. If you want dynamic processing on the server, go with tomcat.
If you want to do processing on the client, trick menus etc., go with the applet. With applet, stay away from swing or your clients will need to download java plugin to run them.
Applets can communicate back to the server they came from for some interaction like retrieving data in the background, but that then requires somekind of script processing on the server to be very useful.
Check out the java tutorial at java.sun.com for more on applets.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.