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.

newbie question - Jaguar

3 posts in General Discussion (old) Last posting was on 2000-02-29 04:04:29.0Z
André Luiz Posted on 2000-02-27 20:05:39.0Z
Newsgroups: sybase.public.easerver
From: "André Luiz" <andremineiro@uol.com.br>
Subject: newbie question - Jaguar
Date: Sun, 27 Feb 2000 17:05:39 -0300
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: 200.226.80.200
Message-ID: <347_U2jmCaVg$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27714
Article PK: 159075

Hey all!
I'm very newbie when it comes to Jaguar.
I'm trying to deploy and execute a "Hello World" application onto the Jaguar
environment.
I've written a non-visual object in PowerBuilder 7.0 that has a single
method which returns
an HTML string. I've deployed it on Jaguar. Now I want to call this object
from a Web Browser.
How can I do that?
I'm not supposed using a Java applet at the client. I want a client in pure
HTML.

Is it possible to do what I am trying? As far as I know, Jaguar applications
are based on
CORBA concepts, like IDL's, proxies and stubs. In the case I've described,
how could my
method be called, since my client is pure HTML, and therefore don't have an
IDL mapping
to my object in the server.

Thanks for all answers.

Regards, André.


Dean Jones [Team Sybase] Posted on 2000-02-29 04:04:29.0Z
Newsgroups: sybase.public.easerver
From: "Dean Jones [Team Sybase]" <dean_no_spam_@powerobjects.com>
Subject: Re: newbie question - Jaguar
Date: Mon, 28 Feb 2000 22:04:29 -0600
Lines: 50
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: dsl131.outtech.com 216.207.145.131
Message-ID: <347_RqBMbrmg$GA.295@forums.sybase.com>
References: <347_U2jmCaVg$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27575
Article PK: 154558

We have several step-by-step examples on our site to help you write your
first components.

http://www.powerobjects.com

HTH

--

Dean Jones, CPD Professional
Team Sybase
PowerTeam, Inc.
http://www.powerobjects.com

André Luiz <andremineiro@uol.com.br> wrote in message
news:U2jmCaVg$GA.202@forums.sybase.com...
>
> Hey all!
> I'm very newbie when it comes to Jaguar.
> I'm trying to deploy and execute a "Hello World" application onto the
Jaguar
> environment.
> I've written a non-visual object in PowerBuilder 7.0 that has a single
> method which returns
> an HTML string. I've deployed it on Jaguar. Now I want to call this object
> from a Web Browser.
> How can I do that?
> I'm not supposed using a Java applet at the client. I want a client in
pure
> HTML.
>
> Is it possible to do what I am trying? As far as I know, Jaguar
applications
> are based on
> CORBA concepts, like IDL's, proxies and stubs. In the case I've described,
> how could my
> method be called, since my client is pure HTML, and therefore don't have
an
> IDL mapping
> to my object in the server.
>
> Thanks for all answers.
>
> Regards, André.
>
>
>


Jim O'Neil [Sybase] Posted on 2000-02-27 20:25:59.0Z
Newsgroups: sybase.public.easerver
Date: Sun, 27 Feb 2000 15:25:59 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: newbie question - Jaguar
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Lines: 42
NNTP-Posting-Host: nomad6-33.sybase.com 157.133.176.33
Message-ID: <347_38B98857.C2270B69@sybase.com>
References: <347_U2jmCaVg$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27708
Article PK: 159069


"André Luiz" wrote:

> Hey all!
> I'm very newbie when it comes to Jaguar.
> I'm trying to deploy and execute a "Hello World" application onto the Jaguar
> environment.
> I've written a non-visual object in PowerBuilder 7.0 that has a single
> method which returns
> an HTML string. I've deployed it on Jaguar. Now I want to call this object
> from a Web Browser.
> How can I do that?
> I'm not supposed using a Java applet at the client. I want a client in pure
> HTML.
>
> Is it possible to do what I am trying? As far as I know, Jaguar applications
> are based on
> CORBA concepts, like IDL's, proxies and stubs. In the case I've described,
> how could my
> method be called, since my client is pure HTML, and therefore don't have an
> IDL mapping
> to my object in the server.
>
> Thanks for all answers.
>
> Regards, André.

Well you can't do it with a PURE HTML client, but typically you would be using a
page server like PowerDynamo or ASP. With PowerDynamo, you would write server
side script that instantiates the Jaguar component (your PB NVO) using the
java.CreateComponent call. Since you're using a java object here, you'd create
java stubs for the PowerBuilder component from within Jaguar Manager and then
compile then with javac and place them in the CLASSPATH for Dynamo to find
them. You'd then be able to call your method on the component, get the returned
string and use the Dynamo document.write() call to create the resulting HTML
page sent back to the client. With ASP you would use CreateObject and use the
Jaguar ActiveX proxy instead.


--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc