• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

RMI : rmi and t3 protocol HELP.....

Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I am developing a Data Transfer Application involving transfer of an xml file to a remotely located computer.
I am planning to use RMI and JMS(Message Driven Bean).
I am using JAXP for generating xml file from local database and then using RMI for transfering it to a remote Weblogic Server which is running a Message Driven Bean.
Can I use rmi protocol(using naming.lookup(rmi://remoteweblogicserver:7001)) in Java RMI client without Initial Context for remote access and t3 protocol at server side for internal transfer of that file to message driven bean?
I am facing difficulties with same. I am unable to use rmi one side and t3 on one side. It gives Connection Refused exception on either side when i test it in my LAN.
According 2 Weblogic documentation,weblogic.rmic is not generating the ImplementationServer_Proxy.class in my case.
Kindly help.
Can t3 be securly used for remote access over internet or intranet?
Thanks in advance.
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could directly send the message using JMS to the destination where the MDB is listening(In messaging perspective). I don't see any need for using RMI here, since your are having a MDB, you could directly send a message to the MDB.
The implementation for RMI is different between JDK and BEA, so you cannot call a weblogic remote server using a stub generated using rmic.
Also, it is JNDI implementation of the Registry, so you need to get the JNDI initial context factory and the provider url specific to the vendor, in your case Weblogic.
You can send a TextMessage containing the entire xml file to the MDB. It is very simple to do.
    Bookmark Topic Watch Topic
  • New Topic