Best way to have signed applet pass parameters to local Java applicaiton

Hi all, I have a web application that needs to interact with a camera on the local computer. I first created an applet but the time to start the camera up was un acceptable. Now I have converted the applet to an application on the local user's computer that keeps the driver running. I call the applet from the web page to pass information to the local applicaiton that will take the pic and then load it into a database using jdbc.
The question is how to pass the parameters from the applet to the java applicaiton? Iwas thinking of using network sockets to have the local app listening and then a signed aplet that will connect to the port and pass the parameters (just text fields).
Has anyone already done this and have a better method?

It will be working only on a computer, where JRE is installed. I assume that if someone has installed JRE nowadays, it will be "higher" version than is needed for your applet.
L.P.

Similar Messages

  • How is the best way to have Itunes notice your app or drive traffic to the app store?

    How is the best way to have Itunes notice your app or drive traffic to the app store? What are the best ways based on experiance that works to drive traffic to your app as a paid game for .99?

    Write an app people want to buy and rate highly.

  • What is the best way to have access to OSX and OS9 from the same machine?

    What is the best way to have access to OSX and OS9 from the same machine?
    Do I need to partition the hard drive? Installed both Tiger and OS 9 on the G5 and it is having problems starting up properly.
    G5   Mac OS X (10.4)  

    And here is the prove for Edwin's message: Macintosh: Some Computers Only Start Up in Mac OS X

  • What is the best way to have Mac setup for sync-ing 2 calendars?  Any way to change? When we 1st got our Macbook we unknowingly set it up wrong--as 2 separate users, with separate everything. Good for contacts and email, bad for calendar, photos, music.

    What is the best way to have Mac setup for sync-ing 2 calendars?  Any way to change?  When we first got our Macbook we unknowingly set it up as 2 separate users, with separate everything.  Now I have an iphone and I want to sync calendars but not contacts or email.  Any direction you could give would help! thx

    Anyone...anyone? Bueller...Bueller?

  • Best way to have only one  instance of an object in web application.

    Hello,
    I defined a class that provides services to my web application: subscribes user, check if user already subscrubed etc. The objects don't need to save any session information. So it is like a Stateless Session Bean (from what I've read about Session beans).
    The webapp is small and I don't want to use EJBs.
    What would be the best way to have one instance of the above class in my webapp ?
    Would making the class static be a good method ? Using a factory ?
    Is there a way to put in web.xml something that asks the container to instantiate an object that is not a servlet and place it in Application scope, so that I cann retrieve it whenever required in my app ?
    Other suggestions ?
    Thank you,
    Vlad.

    Hi
    The best way to have only one instance is use the singleton pattern. The idea is : the class has a private
    contructor, a public static method that returns an instance of this object and a static member that is false if not any instance and true if there si an instance.
    To obtain one instance you can do some like
    MyObject ob=MyObject.getIntance();
    this method inspect the static member and returns null if true. If false set to true and return the object
    via the private constructor.
    You can lear more at book of Gramma .... (gang of four)
    Hope this helps

  • Best way to control selected plug in parameters?

    Hi all,
    I've got an M-Audio ProjectMix I/O which Logic sees as a Mackie Control. I'm looking for the best way to control plug in parameters. I know I can navigate through the plug in parameter pages on my PMix, but what I want is a screenset that has each needed parameter assigned to a fader or something.
    Can it be done using folders? Any ideas?
    Thanks a bunch!

    I think I figured it out.
    Use a folder, make a track for each parameter I want to control (or click that arrow to make another instance), then on my PMix I have to click the track view button a few times to view my plugins.
    Cheers.

  • What is the best way to have multiple devices on the same account so we can still share the same library.  Right now I have 7 and I believe it's causing them to malfunction.

    I have multiple devices on the same itunes library and they all starting to have the same issues.  Not recognizing numbers previously stored, not sending/receiving tests.  Do I need to get everyone separate itunes accounts? 

    What is the best way to set up itunes on our home network? 
    One iTunes library per person.  One iTunes account per person.
    If people wish to share songs, they can make copies.
    When the inevitable day comes when the kids get older, you will not have to come back here and post asking how all that stuff can get separated!

  • Best way to have multiple arrangements in one project file?

    Hello everybody,
    I am trying to figure out a smart way of having multiple arrangements associated with one project. More importantly, this would allow me to have multiple arrangements associated with the same pool of audio files in one audio window -- without needing to import/export audio.
    In DP this is achieved with multiple "sequences". I am aware this feature is not in Logic. However, perhaps there is a way to achieve a similar process?
    I guess a not-so-elegant approach would be to simply save a new song; however, if I want to use new song audio files in the old song, i'd have to import the new song audio files to the old song. Not a big deal, I guess.
    Thanks,
    D
      Mac OS X (10.4.5)  

    Thanks for responding Justin & David,
    Let me to try to better explain what I am trying to achieve.
    (Currently my problem is that I am thinking in the "workflow language" of DP, trying to figure out an analogous "translation" in Logic. For those familiar with DP, I am simply wanting to create a new sequence, within the same "song" file.
    Let's say I create a bunch of audio tracks, and compile them into arrangement A. I would like to work on a new idea that may be part of the final piece; So, I would like to have a clean, new arrangement page where I can put some of the previous audio files generated & used in arrangement A, as well as make some new ones. I'll call this arrangement B. So, in other words, arrangement B is a fresh new arrangement page that uses audio files from arrangement A as well as new ones.
    If any previous/current DP users know the best way of approximating DP's use of multiple sequences, I'd love to know what you do.
    I will explain what I am able to do if I were in DP (for the sake of communicating my problem, but not intended to begin a DP vs. LP thread).
    I will use Logic terminology, but DP concept:
    In DP, one can have multiple Arrangement windows that share a pool of audio files from one Audio Window. This allows one to try different arrangements, without keeping track of new/old audio files; and without needing importing and exporting them between songs.
    I have been reading the Project Manager section in the Logic manual. (By the way, I am not seeking a DP functionality in Logic; I am seeing how one achieves a similar workflow approach in Logic.)
    I realize I cannot even explain myself well. Perhaps I should consider the concept of sub-arrangements, and master arrangement. I guess, sub-songs, and work-in-progress master song. The master songs should have all audio files, and sub-songs have whatever audio files were created while working on that particular sub-song. So, with this, whenever I want to go back to master song, I've got to import the audio files from the sub-song.
    This may make sense - & may work smoothly. I've got to try it out.
    (Btw, David, I captured a screen shot, but I don't know where/how to post it.)
    A major thanks to all who have the patience to read so many words for a one word sentence.
    Thanks,
    Danny

  • What is the best way to deploy an applet using iWeb

    I have an applet with a very standard applet tag.
    I don't see any way to deploy that directly.
    So instead, I just create an html snippet widget, and paste in the applet tag.
    Very simple standard stuff
    <applet codebase="xx" code="xx.class" etc>
    <parameter ...>
    <parameter ...>
    etc
    </applet>
    iWeb has not seen my applet yet, so it is just a bunch of html code.
    The problem is that it is hanging forever.
    Apparently it is throwing some kind of exception.
    Give it a try and you will see.
    Whatever shall I do to get my applet deployed?
    Thanks, Victor

    I have an applet with a very standard applet tag.
    I don't see any way to deploy that directly.
    So instead, I just create an html snippet widget, and paste in the applet tag.
    Very simple standard stuff
    <applet codebase="xx" code="xx.class" etc>
    <parameter ...>
    <parameter ...>
    etc
    </applet>
    iWeb has not seen my applet yet, so it is just a bunch of html code.
    The problem is that it is hanging forever.
    Apparently it is throwing some kind of exception.
    Give it a try and you will see.
    Whatever shall I do to get my applet deployed?
    Thanks, Victor

  • Best way to have internet only wireless network

    Our current way of configuration for this is standalone ap's with multiple ssid's. The main network ssid's are on the 10.0.0.0 networks. The internet only ssid is on the 192.168.1.0 network. ( this is a wireless network only,no wired) They all get there dhcp address from a layer 3 switch. To prevent the wireless 192.168.1.0 intenet only network from getting to the 10.0.0.0 networks, we just put a simple source & destination deny acl on the in vlan interface of the 192.168.1.0 network on the layer 3 switch.
    Now that we are impementing a Cisco 2504 controller, the management and ap manger are both on the 10.0.0.0 network.( both on port 1 with dynamic ap manager enabled)  I can setup as many ssid's on the 10.0.0.0 network and they all work fine. But when I setup the 192.168.1.0 internet only ssid it will not connect. I'm assuming that its because the 192.168.1.0 network or anyone trying to connect and use that network has to go through the controller located on the 10.0.0.0 network. I'm thinking that the acl on the vlan interafce is the problem.
    Please correct me if i'm wrong here on any of the above thinking. So, if I'm correct, what is the best way to setup a separate internet only network through the private networks? I'd appreciate any advice on this subject as I'm new to the lan controller way of doing things.
    Thanks

    So it should be working, you may need to disable proxy on the WLC.  Controller > Advanced > DCHP and uncheck the proxy box.
    If you do this, you need to make sure you have ip helper-address configured under the L3 interfaces
    HTH,
    Steve
    Please remember to rate useful posts, and mark questions as answered

  • Infoview - What's the best way to have Shortcuts to Reports?

    Our Infoview users create shortcuts to reports that are in the Public Folders area
    by selecting the check box next to the report and then selecting organise and add to my favourites.
    This is placing what we thought was a shortcut to the file in My Folders > Favourites
    The problem is that this is not creating a shortcut to the report but making a copy of it and placing in My Favourites area.
    When the original report is altered then the copy obviously is not and is causing issues.
    My question is what is the best way of just making a shortcut to the actual report and not a copy.
    I understand there is also a categories area that may be able to add shortcuts but donu2019t have much info on this.
    Is anyone able to let me know how this can be done and some steps in doing this?
    Thanks for your help.

    If it's CR, then change it under the CR Job server.  If it's webi then under the Adaptive Job server if in XI 3.1 or in XIR2 under Webi job server/destinations/inbox.

  • Best way to have an iMac second monitor and Thunderbolt daisy chain?

    I'm getting new iMacs for my school lab & wish to daisy chain with Thunderbolt cables into pods of 6 for backing up. I also want to run a second monitor with each iMac. What is the best way to do this since both Thunderbolt ports will be used? USB 3.0 to HDMI?

    Canadian Tech Teacher wrote:
    By "pods" I had meant creating little LAN's of 6 computers connected to a Thunderbolt drive but I've been doing a lot of reading and now I'm wondering about whether that can actually be done?
    The only Mac to Mac connections that Thunderbolt supports that I know of are target disk mode & target display mode, neither of which supports a daisy chain topology or is suitable for a multi-host LAN. (Only one Mac can be the host in either of these modes.)
    However, if you want to crete six computer LANs for backups, you could use traditional Ethernet or WiFi LANs & (for instance) a large NAS drive array, or Airport Extreme Base Stations with one or more USB drives attached to them. You could also use Time Capsules, but that is more expensive than going with AEBS's & attached drives. Obviously, wired LAN's would be more suitable for multiple "pods" of six Macs, both because of better reliability & elimination of WiFi channel contention that would show down wireless throughput.
    Of course, this isn't as fast as a Thunderbolt drive connected directly to a Mac, but the only way I know of to do that is by connecting to one Mac at a time, which probably would negate any backup copying speed advantage.
    Thunderbolt drives (& cables) are expensive so their use is really only justified where very high speed data transfers are necessary. If you don't need that, you might consider a simpler solution of one (or for redundancy two) USB 3.0 drives per iMac, since they are relatively cheap & still offer high speed data transfers.

  • Best way to have a button click create a pop-up window with link URL?

    Hi everyone,
    What is the best way to set a button's click to open a pop-up browser window and take the user to a specific link?
    I did a bit of research and it looks like there are many methods and I'm not sure if the posts were older, but many mention that some of the methods are inconsistent with different browsers + get caught in pop-up blockers...
    Different methods:
    navigationToURL()
    window.open()
    ExternalInterface.call()
    Many thanks,
    DK

    Just to clarify a bit: The observer pattern is not really used for "simple binding". I mean, if your application is really small, I can't say that it would hurt to implement an observer pattern just that it might be more of an overkill ( but not completely an overkill ). If the stuff you are trying to do is really simple then using simple listeners and dispatchers is fine ( even in more complex situations, events come in really handy ).
    So, don't overkill if the application is not aimed to evolve/change and be as flexible as possible. Design patterns are great when they are used correctly and in the correct situation. Just because they solve certain problems well, that doesn't mean that all applications need the complexity and abstraction many patterns bring ( you could build a simple Hello World! app in tons of classes with N patterns but what would be the point? ).
    I hope you understand what I mean. Good luck.

  • Best way to have an action after a for loop

    I am wondering what the best way to do something after a for
    loop is?
    Right now I am doing something like this, but I am wondering
    if there is
    a better way.
    for(var i:Number = 0; i < myNumber; i++){
    //For loop actions...
    if(i == myNumber - 1){
    //The action after...

    a switch statement is better to oversee:
    (oh and also use int instead of Number, less memory usage)
    for (var i:int = 0; i < myNumber, i++) {
    switch (i) {
    case 0 :
    //actions
    break;
    case 1 :
    //actions2
    break;
    case nr:
    //actions[nr]
    break;
    don't forget the breaks, if you do it will do all steps after
    the input number.

  • AccessControlException in signed applet for simply reading local file

    I have a simple applet that reads specified local image files and uploads them to our server. On both Mac OS X and WinXP (firefox and IE7), I get the following error. I signed the applet using an InstantSSL code signing certificate (not so easy getting this to work, but I'm pretty confident I did it correctly).
    java.security.AccessControlException: access denied (java.io.FilePermission /Users/scott/Documents/photos/Ken_and_Scott.jpg read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
         at java.io.File.length(File.java:813)
         at org.apache.http.entity.mime.content.FileBody.getContentLength(FileBody.java:89)So just on getting the file length, it's throwing this exception. Interestingly, this file passed both file.exists() and file.canRead() checks within the applet (in windows the path is a bit different of course but also passes both those checks). Also, that file has no read restrictions and I can load it in a browser no problem.
    I assume I'm missing a step in the applet code signing process, maybe a step that says I'm allowed to read local files?

    I figured out my issue, the apache HttpClient library needed to be signed too apparently.

Maybe you are looking for

  • Checking"ok "made mandatory for subcontracting po goods receipt

    Dear Experts, while making goods receipt against subcontracting PO,user mistakenly unchecked the OK   the for the components. and posting the documents.due to this consumption is not updated with 543 movement , but finished product is updated. its le

  • Error 633: The modem (or other connecting device) is already in use or is not configured properly.

    Hi all, I recently got that a new USB CDMA modem which works fine on Windows 7 system but when I try connecting to my other laptop which runs on Windows 8.1, it keeps giving the error: Error 633: The modem (or other connecting device) is already in u

  • Re:Uploading Long text of 500 characters through LSMW

    Can any1 help me out in uploading long text of 500 characters thru LSMW...Please reply ASAP..We have used Direct Input method 0004...We have a structure for long text ,but still unable to upload.

  • File Permissions

    I am creating a file on solaris m/c using java.io.RandomAccessFile(filename,"rw"). My problem is that the file is created with the mode 664 (rw for owner, rw for group, r for other). I looked at the umask settings for the login running rmi and it is

  • Converting Image.jpg to byte array

    Hi, How do i convert a image (in any format like .jpeg, .bmp, gif) into a byte array And also vice versa, converting byte array to image format Thank you