Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

java datatypes in jaguar components

5 posts in General Discussion (old) Last posting was on 2000-02-22 15:42:13.0Z
Naeem Bari Posted on 2000-02-21 20:44:17.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 21 Feb 2000 14:44:17 -0600
From: Naeem Bari <naeemb@meridinet.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: java datatypes in jaguar components
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 18
NNTP-Posting-Host: meridinet.com 205.242.184.98
Message-ID: <347_38B1A3A1.6F06EC8@meridinet.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28270
Article PK: 160310

Hi,

This question has probably been answered before, but I could not find
appropriate posts in this newsgroup. Of course this may be because I am
relatively new to CORBA/Java (used it a little about a year ago and am
revisiting it) and did not search/interpret correctly. Please pardon my
ignorance.

My environment:
Jaguar CTS 2.0 Build 20047
Solaris 2.7

I want to have a jaguar component that has a java.util.Vector for a
parameter. I did read the documentation and it seems to say that it is
possible, but I couldn't figure it out. So, if anyone knows how to do
this could send me some a)pointers or b)some java code to look at, I
would appreciate it very much.

Thanks,
naeem


Dave Wolf [Sybase] Posted on 2000-02-22 02:10:11.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: java datatypes in jaguar components
Date: Mon, 21 Feb 2000 21:10:11 -0500
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 158.159.8.19
Message-ID: <347_t9Y32pNf$GA.65@forums.sybase.com>
References: <347_38B1A3A1.6F06EC8@meridinet.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28240
Article PK: 160113

Just specify the return type to be java.util.Vector in the methods property
sheet. You could also write the IDL yourself as

module Example
{
interface Foo
{
java.util.Vector bar();
};
};


I cannot urge you enough to upgrade from 2.0

Dave Wolf
Internet Applications Division

Naeem Bari <naeemb@meridinet.com> wrote in message
news:38B1A3A1.6F06EC8@meridinet.com...
> Hi,
>
> This question has probably been answered before, but I could not find
> appropriate posts in this newsgroup. Of course this may be because I am
> relatively new to CORBA/Java (used it a little about a year ago and am
> revisiting it) and did not search/interpret correctly. Please pardon my
> ignorance.
>
> My environment:
> Jaguar CTS 2.0 Build 20047
> Solaris 2.7
>
> I want to have a jaguar component that has a java.util.Vector for a
> parameter. I did read the documentation and it seems to say that it is
> possible, but I couldn't figure it out. So, if anyone knows how to do
> this could send me some a)pointers or b)some java code to look at, I
> would appreciate it very much.
>
> Thanks,
> naeem
>


Naeem Bari Posted on 2000-02-22 15:30:58.0Z
Newsgroups: sybase.public.easerver
Date: Tue, 22 Feb 2000 09:30:58 -0600
From: Naeem Bari <naeemb@meridinet.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: java datatypes in jaguar components
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 37
NNTP-Posting-Host: meridinet.com 205.242.184.98
Message-ID: <347_38B2ABB2.FF999E51@meridinet.com>
References: <347_38B1A3A1.6F06EC8@meridinet.com> <347_t9Y32pNf$GA.65@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28195
Article PK: 154637

Thanks Dave. I plan to upgrade us to 3.5 this week. So hopefully we will be a
little more caught up :)

How would I pass a vector in as a parameter to a method?

Thanks for your help.

Regards,
naeem

"Dave Wolf [Sybase]" wrote:

> Just specify the return type to be java.util.Vector in the methods property
> sheet. You could also write the IDL yourself as
>
> module Example
> {
> interface Foo
> {
> java.util.Vector bar();
> };
> };
>
> I cannot urge you enough to upgrade from 2.0
>
> Dave Wolf
> Internet Applications Division
>
> Naeem Bari <naeemb@meridinet.com> wrote in message
> news:38B1A3A1.6F06EC8@meridinet.com...
> > Hi,
> >
> > This question has probably been answered before, but I could not find
> > appropriate posts in this newsgroup. Of course this may be because I am
> > relatively new to CORBA/Java (used it a little about a year ago and am
> > revisiting it) and did not search/interpret correctly. Please pardon my
> > ignorance.
> >
> > My environment:
> > Jaguar CTS 2.0 Build 20047
> > Solaris 2.7
> >
> > I want to have a jaguar component that has a java.util.Vector for a
> > parameter. I did read the documentation and it seems to say that it is
> > possible, but I couldn't figure it out. So, if anyone knows how to do
> > this could send me some a)pointers or b)some java code to look at, I
> > would appreciate it very much.
> >
> > Thanks,
> > naeem
> >


Dave Wolf [Sybase] Posted on 2000-02-22 15:42:13.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: java datatypes in jaguar components
Date: Tue, 22 Feb 2000 10:42:13 -0500
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_#K##mvUf$GA.202@forums.sybase.com>
References: <347_38B1A3A1.6F06EC8@meridinet.com> <347_t9Y32pNf$GA.65@forums.sybase.com> <347_38B2ABB2.FF999E51@meridinet.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28191
Article PK: 160071

Naeem,

Assuming you wanted to just pass a vector, set the IDL as

void sendVector(in java.lang.Vector vector);

Now when you generate stubs you should see the method prototype is

public void sendVector(Vector vector);

And simply pass the puppy in.

Dave Wolf
Internet Applications Division

Naeem Bari <naeemb@meridinet.com> wrote in message
news:38B2ABB2.FF999E51@meridinet.com...
>
> Thanks Dave. I plan to upgrade us to 3.5 this week. So hopefully we will
be a
> little more caught up :)
>
> How would I pass a vector in as a parameter to a method?
>
> Thanks for your help.
>
> Regards,
> naeem
>
> "Dave Wolf [Sybase]" wrote:
>
> > Just specify the return type to be java.util.Vector in the methods
property
> > sheet. You could also write the IDL yourself as
> >
> > module Example
> > {
> > interface Foo
> > {
> > java.util.Vector bar();
> > };
> > };
> >
> > I cannot urge you enough to upgrade from 2.0
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > Naeem Bari <naeemb@meridinet.com> wrote in message
> > news:38B1A3A1.6F06EC8@meridinet.com...
> > > Hi,
> > >
> > > This question has probably been answered before, but I could not find
> > > appropriate posts in this newsgroup. Of course this may be because I
am
> > > relatively new to CORBA/Java (used it a little about a year ago and am
> > > revisiting it) and did not search/interpret correctly. Please pardon
my
> > > ignorance.
> > >
> > > My environment:
> > > Jaguar CTS 2.0 Build 20047
> > > Solaris 2.7
> > >
> > > I want to have a jaguar component that has a java.util.Vector for a
> > > parameter. I did read the documentation and it seems to say that it is
> > > possible, but I couldn't figure it out. So, if anyone knows how to do
> > > this could send me some a)pointers or b)some java code to look at, I
> > > would appreciate it very much.
> > >
> > > Thanks,
> > > naeem
> > >
>


Naeem Bari Posted on 2000-02-22 15:32:06.0Z
Newsgroups: sybase.public.easerver
Date: Tue, 22 Feb 2000 09:32:06 -0600
From: Naeem Bari <naeemb@meridinet.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: java datatypes in jaguar components
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 37
NNTP-Posting-Host: meridinet.com 205.242.184.98
Message-ID: <347_38B2ABF6.784E0024@meridinet.com>
References: <347_38B1A3A1.6F06EC8@meridinet.com> <347_t9Y32pNf$GA.65@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28194
Article PK: 160073

Thanks Dave. I plan to upgrade us to 3.5 this week. So hopefully we will be a
little more caught up :)

How would I pass a vector in as a parameter to a method?

Thanks for your help.

Regards,
naeem

"Dave Wolf [Sybase]" wrote:

> Just specify the return type to be java.util.Vector in the methods property
> sheet. You could also write the IDL yourself as
>
> module Example
> {
> interface Foo
> {
> java.util.Vector bar();
> };
> };
>
> I cannot urge you enough to upgrade from 2.0
>
> Dave Wolf
> Internet Applications Division
>
> Naeem Bari <naeemb@meridinet.com> wrote in message
> news:38B1A3A1.6F06EC8@meridinet.com...
> > Hi,
> >
> > This question has probably been answered before, but I could not find
> > appropriate posts in this newsgroup. Of course this may be because I am
> > relatively new to CORBA/Java (used it a little about a year ago and am
> > revisiting it) and did not search/interpret correctly. Please pardon my
> > ignorance.
> >
> > My environment:
> > Jaguar CTS 2.0 Build 20047
> > Solaris 2.7
> >
> > I want to have a jaguar component that has a java.util.Vector for a
> > parameter. I did read the documentation and it seems to say that it is
> > possible, but I couldn't figure it out. So, if anyone knows how to do
> > this could send me some a)pointers or b)some java code to look at, I
> > would appreciate it very much.
> >
> > Thanks,
> > naeem
> >