Advice needed: New Applet to talk to ServerSocket

Hi,
I have to write this from scratch, so please feel free to re-direct me in a whole new direction. Here's what I have to do:
1. We generate some real time information (numerical) which I have to display to my clients in an applet in grid format (tabular)
2. The data changes maybe 4-5 times a minute and the client applets should pick up these changes and display them with no more than 10-15 second delay.
3. I already have a serversocket application which can send this information over TCP/IP sockets. Applets can make socket connections and readLine() from here.
4. The number of applets simultaneously accessing this data could be 1000 or more.
5. I am comfortable doing the server side development but am very weak as far as writing applets.
Questions:
1. How should I go about writing the applet to display the dynamically changing information?
2. How can I hide the port number where the applet connects - i.e. prevent the port number from being revealed via a decompiler?
3. How can I make it very difficult for someone to first download and then decompile my JAR file? I have seen sites that use "CABBASE" and keep code in CAB files. Can I package my class files in the CAB files instead of JAR files? Will it help?
4. What else can I do to keep unauthorized entities from accessing the real time raw feed from my serversocket app?
Thanks!

4. The number of applets simultaneously accessing
this data could be 1000 or more.You should probably set up more than one server to distribute the load of all these clients
1. How should I go about writing the applet to
display the dynamically changing information? 1. Initiate your applet
2. Register your connection with the backend data provider
3. Have a thread listen for updates, then update your applet
2. How can I hide the port number where the applet
connects - i.e. prevent the port number from being
revealed via a decompiler?It's a little tricky. I believe the guys who created Mocha also SELL software for making java classes undecompilable.
How useful would your applet code be without the backend data? Would anyone really be interested in trying to redistribute it maliciously?
Honestly, your first line of defense should be to try to set up some sort of connection filter, where either your clients have to log in before getting to your applet, or the backend ServerSocket (or whatever) checks to make sure the IP of the incoming request is authorized.
3. How can I make it very difficult for someone to
first download and then decompile my JAR file? I have
seen sites that use "CABBASE" and keep code in CAB
files. Can I package my class files in the CAB files
instead of JAR files? Will it help?I doubt it. CAB is just about the same thing as a jar.
4. What else can I do to keep unauthorized entities
from accessing the real time raw feed from my
serversocket app?
Thanks!

Similar Messages

  • I am trying to use an education program that needs Java applets to install and use and it will not use Safari. When I download IE from the web it will not install. How can I get a browser that will work on my MacAir for travel use of this program?

    I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.

    Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • I need a phone # to talk to a real live person about my photoshop PLEASE?????

    I need a phone # to talk to a real live person about my new photoshop elements 13 PLease??????

    800-833-6687
    I got this by going to adobe.com, searching for Photoshop Phone Support, and following the prompts. (I've never used it, so I have no idea whether it's any good.)
    Good luck.

  • Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Thanks for prompt reply, yes we have tried that but have now closed down the browser we where the photos were.
    We haven't sent up time machine, do you know whether there is any roll-back function on a Mac?
    Thanks

  • I can't open a doc in Pages, msg says I need "newer version of Pages" but it's already downloaded and updated. Help plse

    I can't open a doc in Pages, msg says I need "newer version of Pages" but it's already downloaded and updated. Help plse

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • After I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    after I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    Try removing and then reinstalling the Apple software using these instructions.
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    The above containes a link for XP. Also. make sure you install the correct Apple software, It comes in 32 and 64 bit and you need the one that is the same as the computer OS

  • Error message need newer version since Yosemity

    Since the OS X update on my Macbook Pro to Yosemity, I can't open many numbers files and get the 'need newer version to open' error message. I've updated everything to the latest version. There is only 1 numbers program in my programs directory, no older versions as long as I can see. Tried to open fromout Numbers and from Finder with the 'open with' function. Always the same error. Please help. Need to access my files.
    Macbook Pro Retina
    OS X Yosemity 10.10.1
    Numbers 3.5 (2109)

    Hi Robert,
    Updating to Numbers 3 (Yosemite) did not remove Numbers '09 from your machine.
    Wayne Contello has written a User Tip for working with the old and new versions of iWork.
    Need newer version of Numbers to open file
    Happy Numbering!
    Regards,
    Ian.

  • Hi can anyone help me. I have a apple macbook laptop OSX 10.5.8 . When i push print, it shows my printer but says cannot communicate with printer. (epson stylus nx125). Do I need new drivers? Please help .  regards Cindy

    Hi can anyone help me. I have a apple macbook laptop OSX 10.5.8 . When i push print, it shows my printer but says cannot communicate with printer. (epson stylus nx125). Do I need new drivers? Please help .  regards Cindy

    Welcome to Apple Support Communities. We're users here and do not speak for "Apple Inc."
    Some basic printer troubleshooting steps before worrying about a printer driver:
    1. Have you tried turning the printer off and back on?
    2A. Is the printer attached with a cable?
         If yes, have you tried unplugging and re-plugging both ends of the printer cable?
         If that does not help, can you test the printer with another cable?
    2B. If your printer is not connected to the computer with a cable, have you tried restarting your printer (assuming wireless connection)?
         Have you tried restarting your wireless router?
    3. Have you tried restarting your MacBook? (Be sure to save your work first.)
    4. Does the printer have ink? (Doesn't usually generate a 'communications error' though)
    5. Have you updated OS X or the program you're trying to print from recently?

  • Have an older 17 MacBook Pro, running OS 10.5.8. Software update says everyting is current. Just bought new iPhone 5S. Mac won't recognize phone, says I need newer version of iTunes. Have no problem with computer recognizing old phone or iPad.

    Have an older 17 MacBook Pro, running OS 10.5.8. Software update says everyting is current. Mac doesn't have iCloud, preferences still shows MobileMe. Just bought new iPhone 5S. Mac won't recognize phone, says I need newer version of iTunes. Have no problem with computer recognizing old phone 3 or 1-1/2 year old iPad. I suspect I need to update OS, but as software update isn't telling me to do so, can I? What version would I need to go to?

    Your MacBook Pro can be updated to run Mac OS X "Snow Leopard". Buy it. That will enable you to run the latest iTunes version.
    Online (US): http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Online (UK): http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    Germany: http://store.apple.com/de/product/MC573/mac-os-x-106-snow-leopard
    Elsewhere: call the phone number in the Apple Online Store
    Apple's price is $19.99, £14.00, €18.

  • I need new pc. is it possible to instal Photoshop CC again ? How often can I install?

    I need new pc. is it possible to instal Photoshop CC again ? How often can I install?

    Moineauhh you can install and utilize your Creative Cloud Membership on up to two computers.  You can find more details regarding the installation process at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • I dont have a internet connection at home, i connect my iphone 5 to my computer, it says i need new version of ITunes 11.2, i cant download it with out internet, i am at Library can i get ITunes 11.2 in a zipped files or exe file downloaded to my usb driv

    i dont have a internet connection at home, i connect my iphone 5 to my computer, it says i need new version of ITunes 11.2, i cant download it with out internet, i am at Library can i get ITunes 11.2 in a zipped files or exe file downloaded to my usb driv

    i can take pictures off my phone but thats it, i have some nice programs for pictures and art work and cant get them back on my phone to send them to friends and family. Also have some OLD pictures of Family on this Computer that was given to me i want to get off of it and send out but i can dragg and dropp from phone to computer but i cant drag and drop onto phone from computer and there the same jpg files, sad. i like my iphone5 and want another one but i might have to change when it time to upgrade , i dont want to, but i cant afford internet let alone a mac or pc, this one was given to me, was lucky to have saved to get the phone and service on a family plan, i have unlimited internet on phone that is my life source for internet, wish io could afford both phone and internet, its phone or internet, and with phone i have both in a way

  • I cannot update my acrobat reader on my Windows platform in IE, Mozilla, nor Crome.  I need a person to talk to

    I cannot update my acrobat reader on my Windows platform in IE, Mozilla, nor Crome.  I need a person to talk to
    559-760-7255

    This is not how a forum works; nobody will call you back.
    Provide some details, and somebody will answer here.
    What is your Windows version?  Reader version?  What exactly means "cannot"?

  • We need new Update for Xperia 2011 only

    Hi Johan,
    we need new Update for Xperia 2011 only,
    in This Update We need Only 3 times :
    1- Battery Precentage
    2- Change Network ( 3G - E - H ) Icon
    3- Messid Call in Lock Screen ( Swip to se the message )
    Because  Today i'm see the ICS in Xperia P and there is the battery precentage ,
    and the network icon for ICS not nice and very small
    and the mesed call in Xperia S in the lock screen  ( Swip to se the message ) at's very nice
    Yoc Can send me the ditales in my Gmail : [email protected]
    ok , dont forget
    Bettery precentage : in the Xperia P ( 4.0.4 ICS )
    Lock Screen : Xperia S ( 2.3.7 GB And 4.0.4 ICS )

    Thank you for your feedback. It will be forwarded.
     - Community Manager Sony Xperia Support Forum
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • My 808 got screen and camera problems. I need new ...

    My 808 got so many problem..the camera did not working well and the screen has problem..
    The camera problem when recording the video, i used to use touch to focus, but the when listen to the video the weird sound was produced while i focused on something..the screen has problem when looked at the dark pictures especially on grey colour...it was not the noises but it the screen problem..
    Please Nokia i need new replacement..i just used this phone, and dissapointed with this..
    I bought this phone for the camera, if the camera didn't working well, what the point i bought this phone..
    Please one again Nokia, I NEED THE NEW REPLACEMENT..

    @Rafi808
    Have you installed any third party applications to account for the sound of the continuous auto focus (CAF) mechanism?
    You probably need to visit Nokia Care facility so that device can be reset to "factory settings" and completely re-install device software, before pointing towards hardware issue with camera module itself.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • XMAM30 - digital signature - new applet running with MobileEngine.exe

    Hello,
    I am new to this forum and could not find a solution for my problem.
    I would be very happy, if anybody can help me.
    I have developed a new applet based on the standard SAP applet for the digital signature in xMAM30. This applet works fine in Microsoft Internet Explorer 6.0 but it doesn't work with the MobileEngine.exe!
    I have already read the SAP note 897289 about this topic, but this note was not the solution for my problem. Because the SAP Standard applet (com.sap.mbs.mam.order.control.SignApplet) in the mamsignapplet.jar works fine in MS IE 6 and with MobileEngine.exe.
    After several tests I found out, that the problem must be the JAR-file which contains the applet.
    I have created a new JAR-File of the SAP applet class: com.sap.mbs.mam.order.control.SignApplet with the same MANIFEST.MF which I found in mamsignapplet.jar. But this new JAR-file doesn't work with MobileEngine.exe. Only the MS IE 6 could load the standard SAP applet for digital signature.
    Now my question is:
    What is the difference between the standard SAP jar-file "mamsignapplet.jar" and the jar-file I have created by using the normal Eclipse export as jar functionality?
    What's wrong with the jar-file I have created?

    Hello,
    The jars have to be "digitally signed". You can have a look here:
    http://java.sun.com/developer/Books/javaprogramming/JAR/sign/signing.html
    If it is still not wroking, I can find out with the production guys how they do it.
    Thank you,
    Julien.

Maybe you are looking for

  • Removing duplicate values from selectOneChoice bound to List Iterator

    I'm trying to remove duplicate values from a selectOneChoice that i have. The component binds back to a List Iterator on the pageDefinition. I have a table on a JSF page with 5 columns; the table is bound to a method iterator on the pageDef. Then abo

  • My phone has been activated for over a week, and now it just reset itself and won't activate.  What do I do?

    I had this iPhone activated at my AT&T store last week.  I have had no problems with it, until tonight.  I was using it and then the loading screen with the apple came up and it said activation required.  When I try to activate it on the phone it say

  • I want a report for printer usage

    hi everyone, i am using HP LaserJet Pro 400 Printer M401n and i am facing a problem, someone in my company printed 500 pages from a book and it is not alowed to print presonal stuff on company printer, well i want to get a report if excisit from the

  • Aironet 1300 series as wireless client ?

    Hi there. I would like to install a device on a yacht so that when the yacht enters a marina, it can connect to the marina wifi and then make that connection available to the yacht network. I am looking for a cisco device that will do similar to the

  • Indifferent behaviour of non database CHECKBOX in Forms6i

    I've the following kind of UI in forms 6i: There's a multi record data block to which i have added a non database checkbox(just an UI item). Depending on whether the checkbox is checked i need to mass update the records, if unchecked then no need of