|
Home > Archive > WebSphere Portal Server > January 2004 > EJB support in Portal
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
EJB support in Portal
|
|
| meraj@g4soft.com 2004-01-19, 2:59 pm |
| Hi everyone,
I just had a query about IBM Portal Technology :
Is there any way that EJB's can be supported inside a WebSphere Portal Server based (Portlet) applications.
Even If there is some round about but feasible way to achieve this I would appreciate some insight on it.
Or is there any likelihood of support for EJB's in Portal's in future.
Thanks in anticipation,
Meraj
| |
| youcefb9 2004-01-19, 2:59 pm |
| Hi,
I am not sure what you mean by EJB support in the portlet?
If you meant calling an EJB from a portlet than surely you can, as the portlet is just a servlet and by J2ee spec (which websphere support) you should be able to do that.
If you meant to package your EJB as part of the portal application.
I am not sure if that is feasible but that would be a very bad design as your logic (business or whatever) would be totaly tighted with the portal and what if you want to upddate or change your EJB.
Rgds
Youcef
| |
| H Puri 2004-01-19, 2:59 pm |
| meraj@g4soft.com wrote:quote:
> Hi everyone,
>
> I just had a query about IBM Portal Technology :
> Is there any way that EJB's can be supported inside a WebSphere Portal Server based (Portlet) applications.
> Even If there is some round about but feasible way to achieve this I would appreciate some insight on it.
> Or is there any likelihood of support for EJB's in Portal's in future.
>
> Thanks in anticipation,
> Meraj
>
>
This is the way I did it.
Assuming WPS 5.0
Install the EJB to server1. If needed , create the resources e.g.
datasource on server1. In your portlet, do a initial context lookup for
the direct JNDI(not java:comp) name on iiop://localhost:2809. Have
server1 running when you want to access the EJB.
| |
| Scott A. Roehrig 2004-01-19, 2:59 pm |
| You can install the EAR into the Portal server WAS instance as well. Then
both server1 and portal do not need to be running concurrently.
Scott
"H Puri" <hpuri@magnaspeed.net> wrote in message
news:bld26o$4ko2$1@news.boulder.ibm.com...quote:
> meraj@g4soft.com wrote:
Server based (Portlet) applications.[QUOTE][color=darkred]
would appreciate some insight on it.[QUOTE][color=darkred]
>
> This is the way I did it.
>
> Assuming WPS 5.0
> Install the EJB to server1. If needed , create the resources e.g.
> datasource on server1. In your portlet, do a initial context lookup for
> the direct JNDI(not java:comp) name on iiop://localhost:2809. Have
> server1 running when you want to access the EJB.
>
>
| |
| Scott Rabon 2004-01-19, 2:59 pm |
| But don't try to develop an EJB with the version of WSAD that comes with WPS
Extend. It's WebSphere Studio Site Developer, which has no support for
EJB's, only servlets and jsp's. Version 4 of WPS came with WebSphere Studio
Application Developer, which did have support for EJB's. After talking with
IBM about regarding their changing of the licensing agreement, they said
none of their portal customers were using EJB's, so they made the decision
based on that. Also, the new licensing agreement states you can only use
WSSD for portal development.
<meraj@g4soft.com> wrote in message
news:2122887574.1064923945185.JavaMail.wasadmin@swg3ws006...quote:
> Hi everyone,
>
> I just had a query about IBM Portal Technology :
> Is there any way that EJB's can be supported inside a WebSphere Portal
Server based (Portlet) applications.quote:
> Even If there is some round about but feasible way to achieve this I would
appreciate some insight on it.quote:
> Or is there any likelihood of support for EJB's in Portal's in future.
>
> Thanks in anticipation,
> Meraj
>
>
|
|
|
|
|