sorry if i'm repeating, but my prev. mail went up against some tough things
around here, and maybe didn't get out.. :)
....
hi,
i don't know if u have already done this, but here goes..
get the idl file from the server, for the server object u want to talk to,
run idl2java on the file, and, if u are doing it for the first time, say
incl_source_code. it will give you lots and lots of files, in appropriate
subdirectories. take the neccessary files, create a Java client, and use
the interface
that u got from idl2java.
Create a corba.Object using string_to_object(ior), and then use the helper
class method narrow() to get the proper server object reference. The java
type casting will not work.
Sometimes firewalls can create problems, so be wary.
U don't need osagent running, or use the interface repository in this
method., but u do need the vbroker orb files in your classpath and the .jar
files that it has stored in the ../lib directory.
have fun
-rajeev
/servlet-interest
<Jingkun To: [EMAIL PROTECTED]
[EMAIL PROTECTED]> cc:
Sent by: A Subject: Re: Servlet Corba
connection!!!
mailing list
about Java Server
Pages
specification and
reference
<JSP-INTEREST@jav
a.sun.com>
10/04/99 05:50 AM
Please respond to
jingkun.hu
Hi Vaibhav,
There are several solutions as I know. The first one is that you add the
vbroker orb lib files into the webserver classpath. Second way (just for
test) is using 'vbj' instead of 'java' in running the Web server.
Nothing is wrong in your code, I am sure.
Jingkun
A mailing list about Java Server Pages specification and referen
<[EMAIL PROTECTED]> on 10/04/99 01:08:25 PM
Please respond to Vaibhav Bhanot <[EMAIL PROTECTED]> @ SMTP
To: JSP-INTEREST <[EMAIL PROTECTED]> @ SMTP
cc:
Subject: Servlet Corba connection!!!
Classification: Restricted
hi everybody.. i am trying to reference a corba object using my
servlet...if anybody can give me some idea how can i do that.. if
somebody is interested in details i can even send my code ....what i
have done is implemented a CORBA server using visibroker as orb
agent...then i also implemented CORBA client and successfully tested
it...now i want my servlet to talk to corba object... if somebody can
give me
some idea...or some code for reference....
thanks in advance
vaibhav
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html