Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Java applet require webserver?

Status
Not open for further replies.

hilbertl3

Technical User
Sep 22, 2004
77
US
This is a real newbie issue.
I am new to Java programming and have a basic query.
If I build a java applet that reads from and writes to an Oracle database, would the applet/java application require any kind of webserver (eg Apache) to work, or is the java virtual machine sufficient to handle this kind of communiation?

Thank you,

Hilbertl
 
Apache would also serve your applets fine, if you are more familiar with that.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Yeah, a web server is enough, you don't need a whole application server, as the only funtion is has is deliver files to the client.

Another issue is that if you're planning to connect to a DB, remember that you need to sign your applet.

Cheers,
Dian
 
just to say another thing. If you build a java application as opposed to an applet then you won't need a web server or an app server. For example - a java application would be delivered as a jar and run from a console, but an applet will be delivered over a web browser.
 
But you'd need to distribute the application.

Cheers,
Dian
 
of course - he didn't specify what he was building and there seemed to be some lumping together of java application/applet. Just wanted to clarify for him.

Hilber - how will users use this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top