No subject


Sat Nov 12 19:29:10 PST 2005


Somebody can correct me if I'm wrong, but I don't think getting images off
the net is an applet  security violation.  Mainly the security problems you have
to worry about are:
      1) Saving files to disk. (Obviously)
      2) Copying stuff to the clipboard (Who knows why they did this, but there
are some workarounds available.)

To do those things is a pain 'cuz the applet has to be signed and all that
hooplah.

Other than that, I'd go applet all the way!

-KC





"Sameer Gurung" <anikomei at hotmail.com> on 10/18/2001 12:26:43 AM

Sent by:  "Sameer Gurung" <anikomei at hotmail.com>


To:   advanced-java at lists.xcf.berkeley.edu
cc:    (KC Eilander/MTN/US/3Com)
Subject:  [Advanced-java] (no subject)



Hi folks,
     I need opinions....I was developing an application that did some image
processing and displayed those images( which were got from the Net ) on the
screen according to a certain criteria. To display the images I drew the
images onto a canvas then added the canvases onto a Panel.Then I added the
Panel on the fram which was displayed on the screen. Also I first created
Thumbnails of the images and then drew them onto the Canvas.
     Now my problem is I now have to convert this application into one which
runs on a browser. I have two choices...
     (a) Applets : Convert the app into an applet. But there are a host of
security restriction vis-a-vis applets. One way I've thought of getting
around them is using RMI. where i'll have a process running on the local
machine that will act as  a server which will contact the Net and get the
Images. The Applet can then just be responsible for displaying the images.
     (b) JSP, Servlets and Beans: Here I'll have one bean that will invoke all
the other classes that fetch the images and do the processing and then use
HTML to display the images rather than Panels etc..... But I think this
would mean quite a lot of changes in the existing code. And I dont have much
time :-(
     It would be great if you guys could send in some suggestions. Maybe you
have better ideas than the two presented above.


Cheers and happy programming

Sameer ;-)




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

_______________________________________________
Advanced-java mailing list
Advanced-java at lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java







More information about the Advanced-java mailing list