Java Program on the Internet -How? Urgent

Hello,
I developed a Mutithread TCPIP socket based Network program "Forex Simulator". It's an applet both from the server side and client side. The Program needs to access the socket as well as Database. The Program is simple. After starting server, many clients can connect and buy and sell currency.
I ran this in my home LAN. Initially, I was having trouble with running applet which rejects socket connection. After searching on the net I modified the Java Run Time Environment java.Policy file and modify permission to connect to my server IP and it works.
I have to upload this program on to internet in a shared server. What should I follow to successfully run this on the net.
There are many java chat program, chart, forex simulator running on the internet. How can I implement my program like that.
Thanking you.
Please please reply me, if someone knows it.

Thanks for your comments.
1.- Applets are not server side application but, client side, this means that ALWAYS an applet is downloaded to each client machine and if your "server applet" opens sockets, then every client machine will have its sockets opened but not the web server.
Now I understand what applet really does. My server applet opens socket in my local machine. But I don' want that. I want the program to open the socket on server that means in my case http://webpagedesignpro.com and client will connect to the port of that server.
3.- To create a server on your web server you need to run a stand alone app on the server or use something like J2EE
I badly need to implement my program on the internet. Is there any tutorials or example anywhere for "How to run standalone program on a web server " or J2ee.Standalone means it's not an applet, am I right? As ejp mentioned there is no server applet, so how can I make the serverside program running on a server where client can connect to that server.
Finally, What are the steps of or what is the java technology which can run a chat server on the net where people from all over the world can chat to each other. My program is same as a chat server.
Thanks again.

Similar Messages

  • How to begin learing Java Programming for the Internet?

    expecially for socket

    Just go to www.google.com and search for java+server+client+socket
    And then look at some source code...

  • So I've changed my hard drive for an ssd and now I've been told to enable trim now I've got the apple cover will they show me how to enable it with out some program of the internet ?

    so I've changed my hard drive for an ssd and now I've been told to enable trim  ?  now I've got the apple cover will they show me how to enable it with out some program of the internet ?

    Use an app called chameleon ssd optimizer.
    I enabled trim with it after almost a year of having installed a Samsung 840 pro SSD and my read/write speeds almost quadrupled.
    I would definite;y advise using it even though Samsung SSD's come with there own garbage disposal.
    Hope that helps.

  • My iPad is crashing in programs and the internet.

    My iPad has been crashing in programs and the internet. It also seems very slow to open internet windows. I have to close and reopen a lot. What can be the problem/s and how can I fix this.

    Clear Safari and close the app completely. Close all other apps as well. After closing all of your apps, reboot your iPad and see if that helps the situation.
    Go to Settings>Safari>Clear Cookies and Data.
    If you are running iOS a 5 or 6 - Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Close app of the apps like this. Tap the home button twice.
    If you are running iOS 7 - To close an app, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it. Close all apps in the same manner.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • When on the internet, how do I expand webpage to fill the whole screen?

    When on the internet, how do I expand a webpage to fill the whole screen?

    Perhaps Safari isn't quite what you require, too much work involved all the time making it easier to see
    Take a look at my customized Firefox:
    it always opens to the same size window (or full screen if you like)
    it always zooms all web pages 160% (or whateve you like)
    it always has large type on the menu bar area. (to whatever you like)
    it's very highly customizable,  (or use the plain default settings)
    has more add-ons than anyone (a real plus when you need it)
    has more themes and personas than anyone (make it YOUR browser)
    Easier surfing option for hard of seeing users
    Safari is about the absolute worst browser since Internet Explorer, it's because Apple has already got your money so there isn't any incentive for them to make a better browser.

  • Once you have downloaded ESX24 samples from the internet how to you get them on to logic to use them ?

    once you have downloaded ESX24 sample packs from the internet how do you get them on to logic so you can use them ?

    Mac App Store: Hiding and unhiding purchases
              http://support.apple.com/kb/HT4928

  • Install Mac OS X, i am facing mac os x cannot be installed because you aren't connected to the internet how to solve this

    Install Mac OS X, i am facing mac os x cannot be installed because you aren't connected to the internet how to solve this

    rpotala,
    if you are trying to install OS X onto an erased disk or onto a newly formatted disk, and your Mac originally came from the factory with Lion or newer installed, then you will need Internet access to perform an OS X Internet Recovery.
    If your Mac originally came from the factory with Snow Leopard or older installed, then you will need to install Mac OS X from the grey Mac OS X Install DVD that originally came in the box with your Mac.

  • The Apple time capsule provides disc memory, a wifi network, and router functions. It would normally be connected to the internet via cable modem.  If I wanted to use a wireless cellular connection to the internet, how would I do that?

    The Apple time capsule provides disc memory, a wifi network, and router functions. It would normally be connected to the internet via cable modem.  If I wanted to use a wireless cellular connection to the internet, how would I do that?

    If I wanted to use a wireless cellular connection to the internet, how would I do that?
    The wireless cellular device would need to have an Ethernet port, to provide an Ethernet signal to the Time Capsule's WAN port.

  • How do I establish a connection to another Java program on the net?

    Hi all,
    I have been reading the java tutorial to find a solution to my problem but I havent really found what Im looking for.
    I want to establish a connection that allows a client to get a copy of an object from a running java-application on a server on the internet.
    I have read about the Socket-class but the tutoral advices only to use it on a locale network. I know IDL and RMI only by name - is this what I should be reading about?
    If one of you guys have a source-code example on how to make java programs communicate over the net, please post it!
    Regards Albert

    Assuming this is "wide area" stuff, not just on a local area network, your best bet is to stick to http connections. You need a web server, probably Tomcat.
    Your client can connect using URL.openConnection().
    As to protocols you could use SOAP. It has the advantage that you can get the code for it for free, but it can be pretty complicated to configure. In particular it only knows how to transmit a limited set of object types and if you want to go beyond them you have to write converters. SOAP servers typically run under an web server anyway. SOAP converts all the data to XML for transmission.
    However it may be simpler to use Java's built in serialisation facility and send your data as an ObjectStream.
    In the set up you're talking about the message going to the server seems a lot simpler than the response. It may make sense to send your data as normal keyword parameters of a POST transaction but to have the server respond with an Object stream. That's well within the normal operation of a web server.

  • How to invoke a Java Program from Oracle 10g?(uRGENT)

    Hello.
    I've a query, that i have a program, that basically retreives the records from the
    oracle table and then parser this information and then insert the values in corresponding database base tables. I want that, whenever the new program is inserted, a Trigger should fire and pass the most recently entered record to the Parser Program, means
    1) Firing a Trigge
    2)Storing the most latest data and pass it to the Parser PROGRAM
    Can someone tell me how to do this? How to invoke a Java Program from within the database? Please if anyone has examples provide me. Its very urgent and tell me what is the basic mechanism.
    Thankyou.
    Ben

    With Java Stored Procedures Java may be caleed from a database.
    http://www.oracle.com/technology/tech/java/jsp/index.html

  • How to abend the java program -if the condition fails

    Hi
    My program counts the number of headers in the input file and if the condition fails to satisfy the number we expected , it should comeout of the java program . Is their a specific statement to abend the program in java .
    if(columnCount == 5)
    // do all the steps
    else
    //abend the program }
    how to do that .... is it System.exit(1) or anything else
    thanks..
    Edited by: 1sai on Apr 23, 2009 6:52 PM

    BigDaddyLoveHandles wrote:
    It must have been that the [card sorters|http://en.wikipedia.org/wiki/Card_sorter] were making such a ruckus that I didn't hear it. The model 84 -- 2,000 cards a minute? -- dämn, that's sweet.
    I remember the first time I saw a card sorter in action, thinking it was kind of cool.
    I also think the teacher used it to describe some sorting algorithm, maybe radix sort??
    You've got me thinking, that might be part of the problem with computing today, not enough moving parts. No big tape drives spinning and oscillating. And few if any line printers anymore. Now there's an interesting piece of equipment.

  • How to put a Java Program into the System tray

    Hi all of the forum!!
    I have a question. I want to make a monitor program but I don't know how to put the program in the system tray or just to execute the program but automatically (no manual execute), but i dont want that the program appear in a window, just start to function when i start my PC. i hope anybody help me.
    Thanks
    Best Regards
    Bucio, Francisco

    There is a plenty of similar topics here, so you can use the Search on this forum or in Google to find out.
    But shortly, you will need to use JNI or get a ready-to-use library like JNIWrapper (http://www.jniwrapper.com/winpack.jsp#tray), for example, that lets you do what you want.
    Good luck,
    EToporov

  • How to install a downloaded program from the internet

    I downloaded a program (DVD Fab) from the internet and when I try to install it - A box opens up with
    text that I can't even read and at the top is says "This fle must be opened with WIN32. Any help will be appreciated. TY----My E-Mail is [email protected]

    If it doesn't run under CrossOver Mac, you need Windows to use it.
    (54330)

  • How to run a Java program without the command line.

    Is there anyway to create a Java program that runs like most programs do in Windows ,by double clicking on their icons?
    Thanks,
    Vance

    http://www.ej-technologies.com/products/exe4j/overview.html
    Looks kinda cool. Most java-2-exe programs are usually way too expensive and wont work with GUIs and require other dlls/libraries...

  • Downloaded coupon from shopathome and now can't get onto the internet how do I remove it

    In order to get access to download coupons I had to upload their information and toolbar which is visible on my problem loading page from Mozilla. I was able to get this far by going into windows safe mode.
    I can not get on line by Internet Explorer or MSN. The address is correct. I fear that a virus maybe backdoor or simply the ShopAtHome site has locked me out of the internet. All other computers in the home work on the internet. Is there a way to go back before I downloaded this or is there a way to delete it

    Instructions from the ShopAtHome.com web site ( http://www.shopathome.com/pages/faqs.aspx#gen13):<br />
    '''''For Windows Users:'''''<br />
    '''''To uninstall the Toolbar, go to your Windows Control Panel. Next, click on "Add/Remove Programs". Our Toolbar is listed as ShopAtHome.com Toolbar or SelectRebates. Click on the appropriate name, then click on Change/Remove. With the "SelectRebates" version, you will see a box which gives you a choice of uninstalling both the Toolbar and SelectRebates software, or only the Toolbar. (Please note that if you uninstall the SelectRebates Software, the Toolbar is also removed.) Make your selection to uninstall only the Toolbar; or both the SelectRebates Software and Toolbar, and click "ok." With the ShopAtHome.com Toolbar you will not see any box, the software will simply go through the uninstall process and remove the necessary files. The Toolbar and/or Software are removed after your reboot your computer. '''''
    Also see the following Firefox articles:
    *https://support.mozilla.com/en-US/kb/Uninstalling+add-ons#Troubleshooting
    *https://support.mozilla.com/en-US/kb/Cannot+uninstall+an+add-on
    <br />
    You have an item installed that is considered malware/spyware/adware, "My Web Search Plugin Stub". This type of pest is usually installed along with software you download from the internet; generally free programs, but not always. Carefully watch for "extra" items that will be installed and un-check or opt-out of them.
    #You can check to see if you have any of these from [http://www.google.com/search?q=%22Fun+Web+Products%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-ES:official&client=firefox-a|"Fun Web Products"] installed:
    #*Control Panel > Add or Remove Programs, click on any that you find and click "Remove": Ask.com Bar, My Search Bar, MyWay Speed Bar, My Web Search Bar, Fun Web Products Easy Installer
    #*See:
    #**http://www.safer-networking.com/removemywebsearch.php
    #**[http://www.pchell.com/support/mywebsearch.shtml|PC Hell: My Web Search Removal Instructions]
    #**http://helpint.mywebsearch.com/intlinfo/help/toolhelp.jhtml#q3
    #You '''MAY''' need to change a preference to reset your default URL/location bar search provider:
    #*Enter '''about:config''' in the address/URL bar and press the Enter key
    #*If you see a warning, accept it (Promise that you will be careful)
    #*Filter = keyword.URL
    #*Below the Filter, if keyword.URL is '''bold''', right-click on keyword.URL and choose "Reset"
    #*Restart Firefox (File > Restart Firefox)
    #*See: http://kb.mozillazine.org/Keyword.url
    #You '''MAY''' need to reset your homepage. Firefox can open multiple home pages. Home pages are separated by the "|" symbol.
    #*See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.0"
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #Update the [[Java]] plugin to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

Maybe you are looking for

  • What do i need to connect Macbook to LCD tv?

    Can someone tell me what is the best way to connect my Macbook to my LG LCD TV? I want to watch DVDs on my tv and hear the sound through the tv. I have the following connections available on my tv: VGA DVI s-video composite (red, yellow & white) Rega

  • Reinstalled Adobe Acrobat XI Pro after upgrading to windows 8.1 and now cannot scan

    Reinstalled Adobe Acrobat XI Pro after upgrading to windows 8.1 and now cannot scan through Adobe, although Scanner says its combatible with Windows 8. Cannot reinstall drivers because Brother claims they're built-in. Help!

  • Drag and Drop Cursor changes - not working

    I have fully implemented a working drag and drop Swing application, but I am running into problems with the cursor. My application has some drop targets that set the cursor to DragSource.DefaultCopyNoDrop, and some that set it to DragSource.DefaultCo

  • Can't open PDFs in browser

    Hello! My Mac can't open PDFs in the browser window anymore, but just offers a download dialogue. I already read in the forum, that it may help, to open the Acrobat Reader prefs and uncheck the "open PDF in browser window" option. The problem is thou

  • MDX Query for Top 10 in SSAS Project

    Hi Guys, Please I need an MDX query that will help me calculate Top 10 inside the SSAS project. Your help will be greatly appreciated. Thanks me