Changing the format: I should be able to change the JNDI name format by adding the following in conf/system.properties and restarting the server, right?
openejb.jndiname.format={moduleId}{deploymentId}{interfaceType.annotationName} Somehow its not working for me, and I am trying to write some examples, but want to test them first. I know that the idea of conf/system.properties was proposed somewhere in february, I think I saw it implemented in the codebase, but am not sure about that. Did we ever implement this feature of conf/system.properties? If not, then I really really think we should have this feature. If we did implement it, then why is it that my openejb.log is showing the following: 2007-09-18 21:22:27,093 - DEBUG - Using openejb.jndiname.strategy.class 'org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy' 2007-09-18 21:22:27,093 - DEBUG - Using openejb.jndiname.format '{deploymentId}{interfaceType.annotationName}' 2007-09-18 21:22:27,109 - INFO - Jndi(name=GreeterBeanRemote) bound to Ejb(deployment-id=GreeterBean) 2007-09-18 21:22:27,109 - INFO - Jndi(name=HelloWorldBeanRemote) bound to Ejb(deployment-id=HelloWorldBean) 2007-09-18 21:22:27,109 - INFO - Created Ejb(deployment-id=GreeterBean, ejb-name=GreeterBean, container=Default Stateless Container) 2007-09-18 21:22:27,109 - INFO - Created Ejb(deployment-id=HelloWorldBean, ejb-name=HelloWorldBean, container=Default Stateless Container) On 9/18/07, Karan Malhi <[EMAIL PROTECTED]> wrote: > Ah, Thanks. > (I used the word "snippets" in my email and still didn't figure out > the name of the plugin - Duh) > > On 9/18/07, David Blevins <[EMAIL PROTECTED]> wrote: > > > > On Sep 18, 2007, at 3:36 PM, Karan Malhi wrote: > > > > > David, > > > > > > You had once mentioned a plugin for confluence which could be used to > > > include the code snippets from a java file into confluence . My mind > > > is totally drawing a blank on that plugin name. Help! > > > > It's the snippet plugin. Check out the wiki markup on some of the > > examples pages. > > > > -David > > > > > > > > On 9/18/07, Karan Malhi <[EMAIL PROTECTED]> wrote: > > >> Great!! . You have already started reviewing it. Although I must > > >> admit > > >> , I have not been able to write it with the pace I wanted (should've > > >> been done by now). Too much travel right now. Will work on it > > >> tonight. > > >> > > >> On 9/18/07, David Blevins <[EMAIL PROTECTED]> wrote: > > >>> > > >>> On Sep 16, 2007, at 5:36 AM, Karan Malhi wrote: > > >>> > > >>>>> Fantastic! You the one, Karan ;) (easier to rhyme now that I > > >>>>> know > > >>>>> how to pronounce your name :) > > >>>> ;) > > >>>> > > >>>>> That first explanation at the top is too long. If you can > > >>>>> think of > > >>>>> another way to express the default, go for it. > > >>>> Yes, I also want to express it clearly and concisely (wanted to > > >>>> keep > > >>>> Dario's feedback in mind too), and what to keep and what to get rid > > >>>> of. Thats why it will really help if I can get some feedback on > > >>>> this > > >>>> topic once I finish writing it. > > >>> > > >>> Looking at your work in progress and wanted to give you an FYI.. > > >>> The > > >>> "{deploymentId}{interfaceType.annotationName}" is two variables. > > >>> The > > >>> "interfaceType.annotationName" part is just one variable, i.e. there > > >>> is no plain "annotationName" variable. > > >>> > > >>> -David > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >> > > >> > > >> -- > > >> Karan Singh Malhi > > >> > > > > > > > > > -- > > > Karan Singh Malhi > > > > > > > > > > -- > Karan Singh Malhi > -- Karan Singh Malhi