πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3633

Re: URGENT: How to manage files in a server from an applet

#3633
From: Rich Wilkman
Date: Thu, 30 Oct 1997 00:00
74 lines
3107 bytes
Gil:

You can do quite a bit with applets, you just work harder at it and get
frustrated faster.  I have a couple of applets that display the data from a
semi-real time weather station I have at my house (it would be real time if I
ran the weather station on the server).  Animations, etc. are also common uses.

The biggest drawback to Applets is size.  If you use a really fancy data-aware
component, then you have to deploy all the dependancies of that component.  This
makes it really slow for your end-user pulling this down across a modem line.

Applications are far more powerful and far reaching.

-Rich

Gil Delavous wrote:

> Hey, this is too bad. What can you do with an applet so? Display fancy
> rotating logos? It would have been good that the server could be used to
> store files, without implementing a c/s logic... I'm quite frustrated about
> this!
>
> Gil
>
> Rich Wilkman a οΏ½crit dans le message <3458BE6C.67BDB929@corp.borland.com>...
> >Greg:
> >
> >Fishing with a shotgun again? <g>  Yes, that would work but only those that
> >control the
> >server could deploy such an applet.  Probably overkill in this case.
> >
> >-Rich
> >
> >Greg Hamer wrote:
> >
> >> now that rich says you don't, you can do it if you write a client server
> >> applet and then
> >> have the server do all the file stuff with your applet instructing it
> >> what to do. Lots of work
> >> though. You can wade through  samples\borland\apps\chess\client & server
> >> if your really
> >> need to do it.
> >>
> >> Rich Wilkman wrote:
> >>
> >> > Gil:
> >> >
> >> > You don't.  An Applet cannot write files (or create files/directories)
> >> > on the
> >> > server where it lives, only read.  All the File related classes
> >> > implement
> >> > security manager and will stop those activites (even checking for
> >> > write
> >> > permision, if memory serves).  You are pretty much limited to
> >> > activities based
> >> > upon InputStreams.
> >> >
> >> > -Rich
> >> >
> >> > Gil Delavous wrote:
> >> >
> >> > > Hi, I want to create an applet the basically displays files and
> >> > directories
> >> > > in the server where this applet is located. I'd like my applet read
> >> > and
> >> > > write some of the files, create/remove directories, and so on.
> >> > > It seems that I cannot use the File and RandomAccessFile classes,
> >> > because
> >> > > they only work with local system.
> >> > > So, how can I easily handle this from an applet?
> >
> >
> >
Technical Details
Message-ID: <3458FE0F.8F7C2D8A@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> <345815FD.5946E259@borland.com> <3458BE6C.67BDB929@corp.borland.com> <63ak6q$n8s2@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,42fb639896549357
X-Google-Attributes: gid1089d0,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: URGENT: How to manage files in a server from an applet
Date: 1997/10/30
Message-ID: <3458FE0F.8F7C2D8A@corp.borland.com>
X-Deja-AN: 286033654
References: <6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> <345815FD.5946E259@borland.com> <3458BE6C.67BDB929@corp.borland.com> <63ak6q$n8s2@forums.borland.com>
Organization: None
Newsgroups: borland.public.jbuilder.java.api