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.

Powerbuilder Client and Java business components on EAServer

4 posts in Java J2EE specific Last posting was on 2008-09-11 13:22:55.0Z
Anuj Kumar Posted on 2008-09-09 09:12:26.0Z
Sender: 5b89.48c634df.1804289383@sybase.com
From: Anuj Kumar
Newsgroups: sybase.public.easerver.j2ee
Subject: Powerbuilder Client and Java business components on EAServer
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48c63dfa.5ddf.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Sep 2008 02:12:26 -0700
X-Trace: forums-1-dub 1220951546 10.22.241.41 (9 Sep 2008 02:12:26 -0700)
X-Original-Trace: 9 Sep 2008 02:12:26 -0700, 10.22.241.41
Lines: 23
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7877
Article PK: 208301

Hi All,
We have a Library management application that we are
migrating from PowerBuilder to Java. We are planning to
convert one component at a time from powerbuilder to Java
and see if we can make it run with the current Powerbuilder
code. We are using EAServer6.2 to deploy our business logic
code. But we are now facing some problems on how to make
Java components interact with Powerbuilder Client. Java
components are based on Spring Framework. We thought we
might develop the component as webservice but that wont help
as every deployment of the application will have server also
deployed. So that means if the application is deployed at 10
libraries, all these 10 libraries will have their own server
deployed at their site. We also thought of using RMI but
dont think we can make an RMI call from a powerbuilder
client component to a Java business component. We are also
thinking of using CORBA calls but again not sure how and
whether it will work or not. Can spring help me solve this
problem. Or is there any way (may be HTTPInvoker but not
sure) that I can achieve the interaction b/w PowerBuilder
and Java using some efficient and effective mechanism.

thanks in advance.


Chris Pollach Posted on 2008-09-09 12:25:21.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.easerver.j2ee
References: <48c63dfa.5ddf.1681692777@sybase.com>
Subject: Re: Powerbuilder Client and Java business components on EAServer
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48c66b31@forums-1-dub>
Date: 9 Sep 2008 05:25:21 -0700
X-Trace: forums-1-dub 1220963121 10.22.241.152 (9 Sep 2008 05:25:21 -0700)
X-Original-Trace: 9 Sep 2008 05:25:21 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7878
Article PK: 208303

=> "We have a Library management application"

AND .. you are doing this because ... you have too much time on your hands?
:-)

<Anuj Kumar> wrote in message news:48c63dfa.5ddf.1681692777@sybase.com...
> Hi All,
> We have a Library management application that we are
> migrating from PowerBuilder to Java. We are planning to
> convert one component at a time from powerbuilder to Java
> and see if we can make it run with the current Powerbuilder
> code. We are using EAServer6.2 to deploy our business logic
> code. But we are now facing some problems on how to make
> Java components interact with Powerbuilder Client. Java
> components are based on Spring Framework. We thought we
> might develop the component as webservice but that wont help
> as every deployment of the application will have server also
> deployed. So that means if the application is deployed at 10
> libraries, all these 10 libraries will have their own server
> deployed at their site. We also thought of using RMI but
> dont think we can make an RMI call from a powerbuilder
> client component to a Java business component. We are also
> thinking of using CORBA calls but again not sure how and
> whether it will work or not. Can spring help me solve this
> problem. Or is there any way (may be HTTPInvoker but not
> sure) that I can achieve the interaction b/w PowerBuilder
> and Java using some efficient and effective mechanism.
>
> thanks in advance.


Anuj Kumar Posted on 2008-09-09 14:28:15.0Z
Sender: 5b89.48c634df.1804289383@sybase.com
From: Anuj Kumar
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Powerbuilder Client and Java business components on EAServer
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48c687ff.6b85.1681692777@sybase.com>
References: <48c66b31@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Sep 2008 07:28:15 -0700
X-Trace: forums-1-dub 1220970495 10.22.241.41 (9 Sep 2008 07:28:15 -0700)
X-Original-Trace: 9 Sep 2008 07:28:15 -0700, 10.22.241.41
Lines: 46
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7879
Article PK: 208306

No. We are doing this because:
1) We prefer not sitting idle.
2) Its an application after all.
3) i dont think you would bother about any other reasons,
they would be too gud for you to even understand.

BTW you are still welcome to look at the problem and suggest
some solution, though I seriously doubt that you can do
anything except looking only at the wrong things.

> => "We have a Library management application"
>
> AND .. you are doing this because ... you have too much
> time on your hands? :-)
>
>
>
> <Anuj Kumar> wrote in message
> > news:48c63dfa.5ddf.1681692777@sybase.com... Hi All,
> > We have a Library management application that we are
> > migrating from PowerBuilder to Java. We are planning to
> > convert one component at a time from powerbuilder to
> > Java and see if we can make it run with the current
> > Powerbuilder code. We are using EAServer6.2 to deploy
> > our business logic code. But we are now facing some
> > problems on how to make Java components interact with
> > Powerbuilder Client. Java components are based on Spring
> > Framework. We thought we might develop the component as
> > webservice but that wont help as every deployment of the
> > application will have server also deployed. So that
> > means if the application is deployed at 10 libraries,
> > all these 10 libraries will have their own server
> > deployed at their site. We also thought of using RMI but
> > dont think we can make an RMI call from a powerbuilder
> > client component to a Java business component. We are
> also thinking of using CORBA calls but again not sure how
> > and whether it will work or not. Can spring help me
> > solve this problem. Or is there any way (may be
> > HTTPInvoker but not sure) that I can achieve the
> > interaction b/w PowerBuilder and Java using some
> efficient and effective mechanism. >
> > thanks in advance.
>
>


Jonathan Baker [Sybase] Posted on 2008-09-11 13:22:55.0Z
From: "Jonathan Baker [Sybase]" <lastnamefirstinitial@sybase.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Powerbuilder Client and Java business components on EAServer
References: <48c63dfa.5ddf.1681692777@sybase.com>
In-Reply-To: <48c63dfa.5ddf.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48c91baf$1@forums-1-dub>
Date: 11 Sep 2008 06:22:55 -0700
X-Trace: forums-1-dub 1221139375 10.22.241.152 (11 Sep 2008 06:22:55 -0700)
X-Original-Trace: 11 Sep 2008 06:22:55 -0700, vip152.sybase.com
Lines: 57
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7883
Article PK: 208309

Sorry about that. Some of our PowerBuilder people just can't help
themselves. Unfortunately, the lack of professionalism pushes more
people away from the product than towards it.

PowerBuilder and Java can communicate together through EAServer. Every
component you load in to the server is isolated from every other
component - so each component has no idea what language the others are
running. Nor do they care.

The choice of framework may have something to do with your problems. In
order for components to talk to each other in EAServer, they have to be
application server components. For Java, the preferred method is EJB,
but you can also use POJO's and just wrap them correctly. If all you
are using Spring for is persistence, you should be able to do this.

When you migrate a piece of the code to Java, deploy it to EAServer as a
component. Then use the same technology in PowerBuilder to call an EAS
component that was written in PB. The server will translate for you.
In fact, the easiest way to do this is to move the PB component in to
EAS, call it from your application, then rewrite it in Java.

In previous migrations, I've found my biggest problem is that I wanted
to redesign the application while writing it. Unfortunately, when you
are doing a live port that isn't always possible. There will be some
trade-offs, but it should work out in the end.


Jonathan

Anuj Kumar wrote:
> Hi All,
> We have a Library management application that we are
> migrating from PowerBuilder to Java. We are planning to
> convert one component at a time from powerbuilder to Java
> and see if we can make it run with the current Powerbuilder
> code. We are using EAServer6.2 to deploy our business logic
> code. But we are now facing some problems on how to make
> Java components interact with Powerbuilder Client. Java
> components are based on Spring Framework. We thought we
> might develop the component as webservice but that wont help
> as every deployment of the application will have server also
> deployed. So that means if the application is deployed at 10
> libraries, all these 10 libraries will have their own server
> deployed at their site. We also thought of using RMI but
> dont think we can make an RMI call from a powerbuilder
> client component to a Java business component. We are also
> thinking of using CORBA calls but again not sure how and
> whether it will work or not. Can spring help me solve this
> problem. Or is there any way (may be HTTPInvoker but not
> sure) that I can achieve the interaction b/w PowerBuilder
> and Java using some efficient and effective mechanism.
>
> thanks in advance.