Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to pass messages between java and .net without using sockets

how to pass messages between java and .net without using sockets

Scheduled Pinned Locked Moved C#
csharpc++javacomtutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hasansheik
    wrote on last edited by
    #1

    how to pass messages between java and .net without using sockets Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College. Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com

    L D J 3 Replies Last reply
    0
    • H hasansheik

      how to pass messages between java and .net without using sockets Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College. Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      string value="hasan"; Btn_save.Attributes.Add("OnClick","clientfun('"+hasan+"')"); the above methed u well pass value server to client side javascript; ---------------- client side/javascript u can access the value following methed function clientfun(element) { var str=element; alert(str) }

      1 Reply Last reply
      0
      • H hasansheik

        how to pass messages between java and .net without using sockets Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College. Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com

        D Offline
        D Offline
        Daniel Grunwald
        wrote on last edited by
        #3

        You could use IKVM.

        1 Reply Last reply
        0
        • H hasansheik

          how to pass messages between java and .net without using sockets Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College. Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com

          J Offline
          J Offline
          Jon Rista
          wrote on last edited by
          #4

          As Java and .NET are two completely different development platforms, you can't use standards from one with the other. For example, .NET has Remoting, which allows you to directly access and use objects remotely, or essentially pass messages accross a disparate network to remote objects, and get responses back. Java has something similar, but for java programs only. The only truely universal, cross language, cross platform messaging infrastructure is Web Services. You can develop a web service in Java and consume it with a C# program, and pass messages back and forth that way. Or vice-a-versa, and even if neccesary, develop web services in both so they can talk to each other. The bummer about web services is they are heavy compared to remoting, and generally require a web server on at least one end for them to work.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups