• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing Ejb behind proxy

 
Pallavi Vidhate
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application(Thick Client) made in Swing and i have beans deployed on centralized server (on internet) on weblogic 6.0.
I m sitting behind a Proxy server.and i want my application to access those Beans deployed over Internet on Weblogic
 
Paul Lester
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application(Thick Client) made in Swing and i have beans deployed on centralized server (on internet) on weblogic 6.0.
I m sitting behind a Proxy server.and i want my application to access those Beans deployed over Internet on Weblogic

I solved this same problem: What I did was to use JAVA XML-RPC. However, using this method, you'll have to serialize your parameters/return values either as a stream of bytes, some primative type, or a String. I used a string of XML.
Using this method, you don't have to worry about firewalls, proxies, etc. On the server side, the request is received, the appropriate handler called, and the EJB method invoked.
XML-RPC can only return primative types, strings, and byte arrays.
If your are interested in specifics, you can e-mail me. plester@pdxinc_spam_is_bad.com
Remove the "_spam_is_bad" to get the real e-mail address.
Paul
 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A very good answer practical answer, has given by the paul. thanks to paul behalf of me.. I know the concept .. I am unable to explain. After i saw ur answer. I got to know how to tell the answer for that question... especially u mentioned about serialization and primitive data type. It is good answer..
thanking you
cheers
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!