Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures

Home

Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips

Books

Submit News
Search the site here...
Search...
 
Search the JavaFAQ.nu
1000 Java Tips ebook

1000 Java Tips - Click here for the high resolution copy!1000 Java Tips - Click here for the high resolution copy!

Java Screensaver, take it here

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java programming articles and tips. Please take your copy here.

Take your copy of free "Java Technology Screensaver"!.

Is it possible to use SSL with RMI and can I have both (plain and encrypted) con

JavaFAQ Home » Networking Go to all tips in Networking


Bookmark and Share

Question: Is it possible to use SSL with RMI and can I have both (plain
and encrypted) connections on one JVM?

Answer: Yes, it is possible, due to RMI enhancements available in
the Java 2 SDK, Standard Edition, v1.2 (Java 2 SDK).
The version of RMI included in the Java 2 SDK enables the RMI
developer to use custom socket types. In earlier versions of RMI
there could only be one type of socket used per Java virtual
machine* (JVM), but now RMI allows each object to use a different
type of socket for its RMI connections. All an application has to
do is install an RMI socket factory that creates sockets of the
desired type (that speak a particular protocol).
Check tutorial on creating a custom RMI socket factory here:
http://java.sun.com/j2se/1.3/docs/guide/rmi/rmisocketfactory.doc.html

***************************************
Our older tips: March 22, 2001 - October 21, 2002 read here.
All published and not published on site tips you can find here


 Printer Friendly Page  Printer Friendly Page
 Send to a Friend  Send to a Friend

.. Bookmark and Share

Search here again if you need more info!
Custom Search



Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy