Solved

so Applets can't access the users hard drive...

Posted on 2004-09-29
10
161 Views
Last Modified: 2010-03-31
can they access and manipulate files on the web server?

Thanks
0
Comment
Question by:dds110
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 12183344
They can read them, but not write them unless there is a server-based mechanism to allow it (e.g. FTP)
0
 
LVL 8

Author Comment

by:dds110
ID: 12183391
hey cehj

well !@#$

is there no easy way of running a java application on the web server?  Without having to download, install, and configure a bunch of other !@#$?

0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 12183408
concepts like RMI will help you to access and modify the webserver files from applets
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 86

Expert Comment

by:CEHJ
ID: 12183437
>>is there no easy way of running a java application on the web server?

Not really - webservers are designed to server web pages ;-) Application servers are to run binaries (Tomcat, JBoss etc)
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 12183456
if you implement Applet as RMI client and RMI Server installed at webserver, then whenever rmi client request for modification of file or something else, rmi server should take care of that and do the related changes

regards
sudhakar
0
 
LVL 4

Expert Comment

by:gdrnec
ID: 12183495
Actually, there is a happy medium that requires only the installation of a JRE (a simple enough task). That medium is JNLP (Java Network Launch Protocol or WebStart). This allows you to distribute full blown applications that can have access to the user's hard drive and resources. Nice thing about JNLP is its versioning that allows the distributor to continually update the code without having any client side issues. It also allows the specification of a JRE version for compatibilty.

Maybe an alternative? I use it alot because of its flexibility.

Geoff
0
 
LVL 8

Author Comment

by:dds110
ID: 12183550
whoa...

slow down guys, i'm still a bit wet behind the ears when it comes to java to begin with.  All day I've been writing a "server utility" to "listen" to a file.

When the file changes, the "utility" kicks off my application (hopefully).

Everything mentioned here sounds good but...

Friday is my last working day in the civillian world.  My National Guard unit is being activated and I have to get this project done by Friday.  In other words, I don't have much time to "get into" a bunch of new stuff right now.
0
 
LVL 4

Expert Comment

by:gdrnec
ID: 12183631
Is it a client's (web client) responsibility to change the file that is being monitored? If so, you can always use an applet or a simple web page to talk to a servlet on a web server. That servlet can change files on the web server (but not the client).

Is this what you are looking for?
0
 
LVL 8

Author Comment

by:dds110
ID: 12183898
I'm not sure gdrnec, but your last post sounds promising.

Yes, the client will be changing the file.  However, my web server is IIS 5.0 on a WinXP box.  I don't think I can run a servlet without installing and configuring some third party program.

Unless you know something I don't.
0
 
LVL 4

Accepted Solution

by:
gdrnec earned 50 total points
ID: 12189280
Check out this link. It is a bit of work but nothing huge.

http://www.javaworld.com/javaworld/jw-06-2000/jw-0616-iis.html

At least it gets you across the hurdle.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question