File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run my java app in the romote server and get response back?

 
Mindy Wu
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
I wondering if anyone know how to run your java app on the
romote server or other computer, and get msg or other response back when completes.
Thanks for reading this msg and thank again for your reply!
Mindy
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you buy a book on Servlets,
or on RMI,
or on Corba,
or on DCOM,
etc.
You haven't given us a clue what you need to do, and how you intend to design it.
 
Mindy Wu
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cindy,
Ok, let me explain this in details:
We have written many java applications, usually we create a shortcut (like a .bat file) on the user's desktop, user clicks the destktop icon and the java program run's on the user's local machine, sometimes it takes up a lot of system resources and slow up the operating system.
So, we are planning to have our program run in the server, what i meant is to ( when user clicks the icon on the desktop, the java app will be run on the server, when its process completed, will notify the user).
Hope this clear enough for you, as I am so need your help and suggestion so bad.
Thank you!
Mindy
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on how complex you want to get... the simplest thing is to read up on the java.net package in the API. Socket and ServerSocket can be used to build client/server applications. Most java books have some kind of example using these classes to make a client/server application. If you need more elegant solutions, you may need to read up on some of the technologies Cindy mentioned above.

-Nate
 
Mindy Wu
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nathan,
can you give me the url of the RIM, API stuff?
Thanks!
 
Sean MacLean
author
Ranch Hand
Posts: 621
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mindy,
I find the Sun 'book trails' (hey, trail....that kinda fits in with the 'ol Ranch!) are always a good starting point.
http://java.sun.com/docs/books/tutorial/rmi/index.html
Sean
 
Mindy Wu
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sean MacLean:
Mindy,
I find the Sun 'book trails' (hey, trail....that kinda fits in with the 'ol Ranch!) are always a good starting point.
http://java.sun.com/docs/books/tutorial/rmi/index.html
Sean

Hi Sean
I have read that tutorial and I found it is not easy to understand it at all! Do you know any site has related totorials related this this topic?
Thank you very much, very much!
Mindy
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic