• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI using Applet

 
Rakesh Gadre
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Generally, we copy STUB and SKELETON files manually on the clisnt and the server side respectively.
But, If we are using applet, how to send the stub file on the client side dynamically along with the applet ???
thanx
Rakesh
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put the classes in the same jar as the applet. There's nothing magic about them.
However, I do have to make my standard disclaimer:
RMI may not be possible without security-signing the applet. Even if it is, I don't recommend it on the Internet, since it's almost guaranteed you'll run into firewall issues.
 
amit mohanty
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In applet u can't use the RMI, never
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by amit mohanty:
In applet u can't use the RMI, never

Unless you can provide a Sun spec to that effect, I'm going to have to disagree with "never". A security-signed applet should have no reason I know of that forbids use of RMI. I seem to recall some attempts have been made to invoke EJBs from applets, and EJBs use RMI-IIOP these days.
However, as I mentioned, there are some pretty good reasons what RMI in applets isn't recommended.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic