You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@visi.com> on 2007/11/06 17:48:29 UTC

Geronimo and MappedName (was: Re: MEJB changes in Geronimo and MappedName)

I had a couple ideas in this area, basically thinking that we could  
replace the hard-coded strings in GeronimoMappedName with values we  
pull from system properties (or better, the more private  
SystemInstance.get().getProperties()) that way the values could always  
be changed in the Geronimo OpenEjbSystemGBean to match whatever  
Geronimo is currently using.

We'd just need a couple properties specified in OpenEjbSystemGBean like:

    SystemInstance.get().setProperty("geronimo.mappedNamePrefix",  
"jndi:java:comp/geronimo/env/");
    SystemInstance.get().setProperty("geronimo.mejbDeploymentId",  
"MEJBGBean/MEJB");

Then they'd need to get checked for in the GeronimoMappedName  
constructor and wired into the mapReferences() method.

Anyone want to work on that?

-David


On Oct 5, 2007, at 12:14 PM, Joe Bohn wrote:

> if (null == mappedName && ref.getEjbRefName().equals("ejb/MEJB")) {
>    ref.setMappedName("MEJBGBean/MEJB");
> }


Re: Geronimo and MappedName

Posted by Joe Bohn <jo...@earthlink.net>.
I could help out on this too ... but for me the criticality of this has 
dropped since the patch for OPENEJB-704 was committed.

I think David's proposal makes a lot of sense and would come in handy if 
things change often ... so it would be worth pursuing.  However, I don't 
think we'll be bitten by this again for quite some time.

Joe


Jacek Laskowski wrote:
> On 11/6/07, David Blevins <da...@visi.com> wrote:
> 
>> Anyone want to work on that?
> 
> If you could wait a bit, say, till Friday, I'd be happy to look at it
> and comment (or eventually patch) it. I'm not sure if I've ever
> touched geronimo-openejb bridge before so it looks quite challenging
> to me.
> 
> Jacek
> 

Re: Geronimo and MappedName (was: Re: MEJB changes in Geronimo and MappedName)

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Guys sorry for the stupid question, but do u have resources about this
MappedName thing as I can't understand anything about and I would like to be
on the same page with you :).

On Nov 6, 2007 10:53 PM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:

> On 11/6/07, David Blevins <da...@visi.com> wrote:
>
> > Anyone want to work on that?
>
> If you could wait a bit, say, till Friday, I'd be happy to look at it
> and comment (or eventually patch) it. I'm not sure if I've ever
> touched geronimo-openejb bridge before so it looks quite challenging
> to me.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>



-- 
Thanks
- Mohammad Nour

Re: Geronimo and MappedName (was: Re: MEJB changes in Geronimo and MappedName)

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 11/6/07, David Blevins <da...@visi.com> wrote:

> Anyone want to work on that?

If you could wait a bit, say, till Friday, I'd be happy to look at it
and comment (or eventually patch) it. I'm not sure if I've ever
touched geronimo-openejb bridge before so it looks quite challenging
to me.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl