Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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

 
Greenhorn
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.
Vivek
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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.
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic