Article View: borland.public.jbuilder.java.language
Article #8141Re: Dephi -> java app
From: HankC
Date: Fri, 20 Apr 2001 15:42
Date: Fri, 20 Apr 2001 15:42
38 lines
2527 bytes
2527 bytes
On 19 Apr 2001 22:29:57 -0700, "Torsten Welches" <torsten.welches@who.cares.netcologne.de> wrote: > >no, normal Applets are not allowed to load DLLs from the client >box, that's no-no-territory outside of their sandbox. >http://java.sun.com/docs/books/tutorial/applet/practical/security.html > Thanks, that makes sense. But what sort of java application can use JNI then? You might want to see the final paragraphs before answering. >If your Java code runs on the server (e.g. Servlet) rather than on the client (Applet) your approach would work - as long as >your Internet server is on Windows. >http://java.sun.com/docs/books/tutorial/servlets/index.html > I haven't picked up the java lingo yet and can't really differentiate between application, applet, and servlet ;) >BTW - Delphi has strong Internet capabilities as well. Why >don't you do that? > Let me give an example of what I'm trying to do. It's a stupid example but demonstrates the concept. Suppose I have a delphi application that zip's files. Rather than selling this application for $50, I want to provide a web interface and charge people $1 per file they zip. The current idea under consideration is to put my zipping code in a dll, then write a java interface that would call the dll (via JNI?) to zip the file they requested. The dll would, of course, be stored on the users machine. Please keep in mind that the ultimate goal isn't to zip a file, it's to execute some code derived from my delphi app on the users machine. Thanks much! I know this can be done but just need a push in the right direction.
Technical Details
Message-ID:
<3hl0etcs72dag9o3otlhirvhsgph6bcs8j@4ax.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<6v9udt8dnjt9h5hcg190sdhp0hei59ihgn@4ax.com> <3adfc955$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,90dd49e6eea27079 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-20 08:46:01 PST From: HankC <hankc@nospam.com> Newsgroups: borland.public.jbuilder.java.language Subject: Re: Dephi -> java app Date: Fri, 20 Apr 2001 08:42:48 -0700 Message-ID: <3hl0etcs72dag9o3otlhirvhsgph6bcs8j@4ax.com> References: <6v9udt8dnjt9h5hcg190sdhp0hei59ihgn@4ax.com> <3adfc955$1_2@dnews> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 148.71.83.210 X-Trace: dnews 987781289 148.71.83.210 (20 Apr 2001 08:41:29 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews