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.

PB - JSP related questions.

3 posts in EJB Client Last posting was on 2005-10-18 10:27:06.0Z
vk Posted on 2005-10-06 22:31:12.0Z
Sender: 1ec4.4345a37d.1804289383@sybase.com
From: VK
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: PB - JSP related questions.
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4345a514.1ee5.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 6 Oct 2005 15:28:36 -0700, 10.22.241.42
Lines: 29
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 6 Oct 2005 15:28:37 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 6 Oct 2005 15:31:12 -0700
X-Trace: forums-1-dub 1128637872 10.22.108.75 (6 Oct 2005 15:31:12 -0700)
X-Original-Trace: 6 Oct 2005 15:31:12 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!forums-2-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:582
Article PK: 424710

Hi,

We have a large PB client-server application built using PB
9 and oracle 9. We are in the process of moving to an n-tier
approach using J2EE technology. Due to budget and time
constraints, its not possible to do it in one stretch. As a
result, we decided to break this project into two parts. For
the next release, we are deiciding to have PB application
being able to call 75% of the existing functionality as it
was done previously but the rest 25% functionality will be
completely taken out from PB and converted to JSP and EJB.

My questions are -
1. can PB application call JSP pages from a client-server
application?

2. can this be done with minimum coding?

3. is there an alternative to not been able to convert the
entire application to web client?

4. any such thing being done before?

5. can we compile targets of different types (such as an
application and JSP Target) within a workspace together?

6. any suggestions or comments?

Thanks.


Larry Cermak [Team Sybase] Posted on 2005-10-18 03:27:05.0Z
From: "Larry Cermak [Team Sybase]" <LCermak@branick-inc.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
References: <4345a514.1ee5.1681692777@sybase.com>
Subject: Re: PB - JSP related questions.
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Original-NNTP-Posting-Host: 12.148.200.226
Message-ID: <43546aaa$1@forums-2-dub>
X-Original-Trace: 17 Oct 2005 20:23:22 -0700, 12.148.200.226
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Oct 2005 20:23:26 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Oct 2005 20:27:05 -0700
X-Trace: forums-1-dub 1129606025 10.22.108.75 (17 Oct 2005 20:27:05 -0700)
X-Original-Trace: 17 Oct 2005 20:27:05 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!forums-2-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:584
Article PK: 424711

You probable want to break this into multiple questions and also post it
into a different group. But here are some of my thoughts on your questions.

> 1. can PB application call JSP pages from a client-server application?

No and why would you want to? I think maybe what you are thinking is how
can you have 1 code base for client/server and web applications. NVOs is
the answer you are looking for and application partitioning.

>
> 2. can this be done with minimum coding?

It depends on your application and how it was coded in the beginning. There
are no quick tools that will simply take you whole application and migrate
it to the web. The key is learning how to do thing correctly and for your
application(s) and then making good design and coding decisions.
>
> 3. is there an alternative to not been able to convert th entire
> application to web client?

Not sure what you're asking here.
>
> 4. any such thing being done before?

I have numerous clients that we have used the same objects in C/S and Web
applications. So yes it has been done by me and other people. Read the
newsgroup threads and you'll see this questions has been asked a lot before.
>
> 5. can we compile targets of different types (such as an
> application and JSP Target) within a workspace together?
>
Absolutely. I do it all the time. Actually if you get PBDJ Steve Katz and I
have started series of monthly articles on beginning powerbuilder which
covers web and c/s development. We are talking about things to avoid to help
your development efforts.
> 6. any suggestions or comments?

Read and learn. Check the newsgroups, Sybase's site, and other sites for
articles, todo, sample code, etc. There are a lot.

--

Larry Cermak [Team Sybase]
Branick Consulting, Inc.
www.branick-inc.com
EAServer & PowerBuilder Consulting & Training
EAServer and PowerBuilder Computer Based Training Courses


<VK> wrote in message news:4345a514.1ee5.1681692777@sybase.com...
> Hi,
>
> We have a large PB client-server application built using PB
> 9 and oracle 9. We are in the process of moving to an n-tier
> approach using J2EE technology. Due to budget and time
> constraints, its not possible to do it in one stretch. As a
> result, we decided to break this project into two parts. For
> the next release, we are deiciding to have PB application
> being able to call 75% of the existing functionality as it
> was done previously but the rest 25% functionality will be
> completely taken out from PB and converted to JSP and EJB.
>
> My questions are -
> 1. can PB application call JSP pages from a client-server
> application?
>
> 2. can this be done with minimum coding?
>
> 3. is there an alternative to not been able to convert the
> entire application to web client?
>
> 4. any such thing being done before?
>
> 5. can we compile targets of different types (such as an
> application and JSP Target) within a workspace together?
>
> 6. any suggestions or comments?
>
> Thanks.


Bede <bede_nosp Posted on 2005-10-18 10:27:06.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: PB - JSP related questions.
Message-ID: <MPG.1dbeeb4765c819698974e@forums.sybase.com>
References: <4345a514.1ee5.1681692777@sybase.com>
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: uu194-7-38-226.unknown.uunet.be
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
Date: 18 Oct 2005 03:27:06 -0700
X-Trace: forums-1-dub 1129631226 194.7.38.226 (18 Oct 2005 03:27:06 -0700)
X-Original-Trace: 18 Oct 2005 03:27:06 -0700, uu194-7-38-226.unknown.uunet.be
Lines: 57
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:586
Article PK: 424714

Here goes...

> 3. is there an alternative to not been able to convert the
> entire application to web client?

Use a PB client (rich but thin) for the things that aren't that suitable
for the web paradigm.

> 4. any such thing being done before?
Yes

> 5. can we compile targets of different types (such as an
> application and JSP Target) within a workspace together?
not that relevant, i think. Use tools/scripts to achieve a full deploy.

> 6. any suggestions or comments?
* server = pure EJB/java (no PB)
* client = PB using ejbclient. Search this newsgroup to determine the
best data format for your needs.. (fill data from java parameters in dws
and back) getters/setters, XML, dw-string, SQLResultset
* webclient=possibilities are open: java based, PB, ...

and of course, you get the advantage of being able to perform actions on
server (and client!) for which PB isn't that suitable.

Ben

In article <4345a514.1ee5.1681692777@sybase.com>, VK says...
> Hi,
>
> We have a large PB client-server application built using PB
> 9 and oracle 9. We are in the process of moving to an n-tier
> approach using J2EE technology. Due to budget and time
> constraints, its not possible to do it in one stretch. As a
> result, we decided to break this project into two parts. For
> the next release, we are deiciding to have PB application
> being able to call 75% of the existing functionality as it
> was done previously but the rest 25% functionality will be
> completely taken out from PB and converted to JSP and EJB.
>
> My questions are -
> 1. can PB application call JSP pages from a client-server
> application?
>
> 2. can this be done with minimum coding?
>
> 3. is there an alternative to not been able to convert the
> entire application to web client?
>
> 4. any such thing being done before?
>
> 5. can we compile targets of different types (such as an
> application and JSP Target) within a workspace together?
>
> 6. any suggestions or comments?
>
> Thanks.
>