Hi David B,
I think I am missing something here. I just tried out
getting a datasource in EncStatelessBean.
DataSource ds = (DataSource)ctx.lookup("java:comp/env/datasource");
This is the default derby datasource.I am able to get it and use it
for executing sql statements. So what exactly is this JIRA
(OPENEJB-372) referring to? Please be patient with me if this question
is stupid and i am missing something obvious.
Thanks
Manu
On 11/27/06, Manu George <[EMAIL PROTECTED]> wrote:
Sorry my understanding was wrong on this. The spec says that a
resource-ref should be specific to the bean for which it has been
defined. So if I have two ejb's in the same jar then each should be
able to lookup different resources with the same name.
Thanks
Manu
On 11/27/06, Manu George <[EMAIL PROTECTED]> wrote:
> Hi David B,
> I would like to work on OPENEJB-372.
> [OPENEJB-372] ENC: resource-ref: javax.sql.DataSource
>
> My understanding of this JIRA is that I need to provide whatever is
> given in resource-ref tag of ejb-jar.xml in JNDI in the java:comp/env
> context. Can you assign it to me.
>
> Thanks
> Manu
>
> On 11/27/06, David Blevins <[EMAIL PROTECTED]> wrote:
> >
> > On Nov 27, 2006, at 3:08 AM, Mohammad Nour El-Din wrote:
> >
> > > Hi David...
> > >
> > > On 11/27/06, David Blevins <[EMAIL PROTECTED]> wrote:
> > >>
> > >> This is also a really fun one to do:
> > >>
> > >> OPENEJB-127: Expanded types for env-entries in JNDI
> > >
> > >
> > > I will take this one :), plzzzzzzzzzzzzzzzzzzzz
> >
> > You got it!
> >
> > Most of the work for this task will be in
> > org.apache.openejb.assembler.classic.JndiEncBuilder. Fair warning in
> > advance, I have some changes to that class pending checking so be
> > prepared for some merging. I'll try and get them in today.
> >
> > -David
> >
> > >
> > > -David
> > >>
> > >> On Nov 26, 2006, at 9:12 PM, David Blevins wrote:
> > >>
> > >> > Just throwing out some ideas on some non-testing tasks I think
> > >> > might be good tasks someone could work on that are fairly self-
> > >> > contained and don't require too deep understanding of the container
> > >> > system.
> > >> >
> > >> > [OPENEJB-94] SessionContext.getBusinessObject(interface)
> > >> > [OPENEJB-97] SessionContext.getInvokedBusinessInterface
> > >> >
> > >> > [OPENEJB-368] EJBContext.lookup
> > >> >
> > >> > [OPENEJB-372] ENC: resource-ref: javax.sql.DataSource
> > >> > [OPENEJB-373] ENC: resource-ref: javax.mail.Session
> > >> > [OPENEJB-374] ENC: resource-ref: java.net.URL
> > >> > [OPENEJB-375] ENC: resource-ref:
> > >> javax.jms.QueueConnectionFactory
> > >> > [OPENEJB-376] ENC: resource-ref:
> > >> javax.jms.TopicConnectionFactory
> > >> > [OPENEJB-377] ENC: resource-env-ref: javax.ejb.SessionContext
> > >> > [OPENEJB-378] ENC: resource-env-ref: javax.jms.Queue
> > >> > [OPENEJB-379] ENC: resource-env-ref: javax.jms.Topic
> > >> > [OPENEJB-380] ENC: message-destination-ref: javax.jms.Queue
> > >> > [OPENEJB-381] ENC: message-destination-ref: javax.jms.Topic
> > >> > [OPENEJB-382] ENC: persistence-context-ref
> > >> > [OPENEJB-383] ENC: persistence-unit-ref
> > >> >
> > >> > There all pretty critical.
> > >> >
> > >> > Any volunteers?
> > >> >
> > >> > I'll post more as I can think of them....
> > >> >
> > >> > -David
> > >> >
> > >>
> > >>
> > >
> > >
> > > --
> > > Thanks
> > > - Mohammad Nour
> >
> >
>