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.

Sample EJB

3 posts in EJB Client Last posting was on 2004-12-11 22:05:42.0Z
kishore Posted on 2004-12-03 16:13:01.0Z
From: "kishore" <kishore@cgvakindia.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Sample EJB
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
NNTP-Posting-Host: 61.95.184.1
X-Original-NNTP-Posting-Host: 61.95.184.1
Message-ID: <41b0908d@forums-1-dub>
Date: 3 Dec 2004 08:13:01 -0800
X-Trace: forums-1-dub 1102090381 61.95.184.1 (3 Dec 2004 08:13:01 -0800)
X-Original-Trace: 3 Dec 2004 08:13:01 -0800, 61.95.184.1
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:401
Article PK: 424576

Hi all,

I am new to ejb client...I like to call a EJB from powerbuilder.
I tried few examples given in the App Techniques, but I was not able
call the EJB.Can anyone provide me the basics steps to be followed
with an EJB exampe(deploy paramters)

I have PB 9.0 and EAS server 5.0

Please help

Thanks in advance
KISHORE


Bede <bede_nosp Posted on 2004-12-04 12:33:55.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Sample EJB
Message-ID: <MPG.1c1bcd21abff9d51989686@forums.sybase.com>
References: <41b0908d@forums-1-dub>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: d51538d7d.kabel.telenet.be
X-Original-NNTP-Posting-Host: d51538d7d.kabel.telenet.be
Date: 4 Dec 2004 04:33:55 -0800
X-Trace: forums-1-dub 1102163635 81.83.141.125 (4 Dec 2004 04:33:55 -0800)
X-Original-Trace: 4 Dec 2004 04:33:55 -0800, d51538d7d.kabel.telenet.be
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:406
Article PK: 424581

have you installed the ejb as an application under EAServer?

you may want to read up previous posts (google groups) and the existing
documentation. after that, a more specific question would be easier to
answer.

i believe some samples exist on codexchange, take a look at those too.

Ben

In article <41b0908d@forums-1-dub>, kishore@cgvakindia.com says...

> Hi all,
>
> I am new to ejb client...I like to call a EJB from powerbuilder.
> I tried few examples given in the App Techniques, but I was not able
> call the EJB.Can anyone provide me the basics steps to be followed
> with an EJB exampe(deploy paramters)
>
> I have PB 9.0 and EAS server 5.0
>
> Please help
>
> Thanks in advance
> KISHORE
>
>
>


Gokhan Demir Posted on 2004-12-11 22:05:42.0Z
From: Gokhan Demir <gokhan.demir@igonline.biz>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Sample EJB
References: <41b0908d@forums-1-dub>
In-Reply-To: <41b0908d@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
X-Original-NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
Message-ID: <41bb6f36@forums-1-dub>
Date: 11 Dec 2004 14:05:42 -0800
X-Trace: forums-1-dub 1102802742 212.174.52.141 (11 Dec 2004 14:05:42 -0800)
X-Original-Trace: 11 Dec 2004 14:05:42 -0800, adsluser-1165.adsl.ttnet.net.tr
Lines: 38
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:425
Article PK: 424600

With EAServer, follow these steps:
1. Generate a test EJB using a Java-IDE like JBuilder or IntelliJ IDEA
(or your favorite IDE).
2. Deploy the EJB to EAServer using ANT.
3. Using Jaguar Manager (EAServer Manager), generate client Stubs.
4. Generate EJB proxies under Powerbuilder. You will need to create an
EJB proxy wizard and you will need to include the generated client stubs
in the EJB proxy generation classes.
5. Write appropriate code to connect to EAServer. (Good examples in
Powerbuilder help).
6. Don't forget to include the generated client stubs in the classpath
while creating the JVM inside your Powerbuilder application.
7. Using the generated Powerbuilder proxies, call your EJB's remote
method(s).
...
..
.

Regards,
Gokhan

kishore wrote:
> Hi all,
>
> I am new to ejb client...I like to call a EJB from powerbuilder.
> I tried few examples given in the App Techniques, but I was not able
> call the EJB.Can anyone provide me the basics steps to be followed
> with an EJB exampe(deploy paramters)
>
> I have PB 9.0 and EAS server 5.0
>
> Please help
>
> Thanks in advance
> KISHORE
>
>