Results 1 to 3 of 3
  1. #1
    josephjah is offline Member
    Join Date
    Jul 2011
    Rep Power

    Default Website to pull data from java sockets?

    Hello everyone!

    First off, I'm new to the forums. And I look forward to getting to know you all. I've tried searching for my answer but have thus far turned up nothing useful. Hopefully someone here can help me :)

    Now, down to business...

    I've been developing a java server application where I have an evolutionary simulator kernel that you can pass messages to and from (in the form of command strings). I've written a client application that can communicate with the server and I can pass commands to the server and read the kernel's response in the client window.

    However, I would like to build a website where it can communicate with my simulator kernel in the server application. I'm not sure what to do, but I would ideally like to have some sort of data plotting options.

    My idea is that I will write an interface in language X for my website and use some sort of socket implementation to pass pre-generated command strings (according to what the user may click) to my kernel, and the kernel will send back an appropriate command string where my interface will react accordingly... say, plotting financial security Y, or displaying the contents of their financial portfolio.

    I've looked into applets, but quite frankly... they all look so ghetto, straight out of the year 1999. I want something a little more modern.

    Thanks in advance!

  2. #2
    josephjah is offline Member
    Join Date
    Jul 2011
    Rep Power


    Can I potentially write my website in whatever language supports communication with Java sockets?

    For instance, php?

    Again, thanks in advance!

  3. #3
    jing-yi is offline Member
    Join Date
    May 2011
    Rep Power


    Yes you are possible. I am not sure my suggestion is the best answer.

    Use java socket programming to retrieve the String value and save in a temporary text file.
    Then retrieve it from php code.


Similar Threads

  1. Data loss when using sockets
    By Bear in forum Networking
    Replies: 11
    Last Post: 07-07-2011, 07:08 PM
  2. About to pull my hair out. :(
    By cfox10 in forum New To Java
    Replies: 8
    Last Post: 04-05-2011, 05:03 AM
  3. how to post data to a website using java
    By mr_anderson in forum Advanced Java
    Replies: 6
    Last Post: 11-12-2010, 12:46 PM
  4. Replies: 1
    Last Post: 01-09-2010, 03:16 PM
  5. How to download data from a website.
    By bobrenjc93 in forum Java Applets
    Replies: 2
    Last Post: 05-15-2009, 07:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts