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.

Jboss EJB

2 posts in Java J2EE specific Last posting was on 2007-08-29 19:53:17.0Z
Mark Posted on 2007-08-29 10:28:12.0Z
Sender: ce1.46d54924.1804289383@sybase.com
From: Mark
Newsgroups: sybase.public.easerver.j2ee
Subject: Jboss EJB
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <46d54a3c.d05.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 29 Aug 2007 03:28:12 -0700
X-Trace: forums-1-dub 1188383292 10.22.241.41 (29 Aug 2007 03:28:12 -0700)
X-Original-Trace: 29 Aug 2007 03:28:12 -0700, 10.22.241.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7830
Article PK: 208259

Hi,

i have successfully deployed pb 10.5 pbtest/MyComp component
to
Jboss.
How to call it from a Jsp page ?

Thanks


Evan Ireland Posted on 2007-08-29 19:53:17.0Z
From: Evan Ireland <eireland@sybase.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Jboss EJB
References: <46d54a3c.d05.1681692777@sybase.com>
In-Reply-To: <46d54a3c.d05.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vpn-dub-116.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-116.sybase.com
Message-ID: <46d5cead@forums-1-dub>
Date: 29 Aug 2007 12:53:17 -0700
X-Trace: forums-1-dub 1188417197 10.22.120.116 (29 Aug 2007 12:53:17 -0700)
X-Original-Trace: 29 Aug 2007 12:53:17 -0700, vpn-dub-116.sybase.com
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7831
Article PK: 208261

Something like:

InitialContext nc = new InitialContext();
pbtest.ejb.MyCompHome home =
(pbtest.ejb.MyCompHome)nc.lookup("pbtest/MyComp");
pbtest.ejb.MyComp comp = home.create();
comp.myMethod(...);

Mark wrote:
> Hi,
>
> i have successfully deployed pb 10.5 pbtest/MyComp component
> to
> Jboss.
> How to call it from a Jsp page ?
>
> Thanks