[jboss-dev] On demand JCA and JTA for the web-profile

Ales Justin ales.justin at gmail.com
Tue May 5 07:36:16 EDT 2009


> On Tue, 2009-05-05 at 12:51 +0200, Ales Justin wrote:
>> I'll have a crack at this.
>>
>> Adrian, what did you mean under:
>>
>>  > * The abilitiy to make the object bound into jndi
>>  > aop remoteable
>>
>>  > * The on-demand processing I described.
>>
>> You mean that the default ObjectFactory
>> takes OnDemand into an account?
>>
> 
> The ObjectFactory knows how to start
> the pojo/service and deliver the real object when somebody
> looks up the jndi binding.
> 
> If nobody looks up the jndi binding then the service
> is not started.
> 
> I already have a (largely untested) implementation of 
> it on my disk along with some other bits in a new naming-mc-int
> subproject.
> It doesn't include the remoting stuff though.

Can you push this stuff in (commit it),
and I'll pick it up from there.

I'll add the remoting part or anything that we feel is missing.

I'll check what kind of hacks Carlo has done as well. :-)
Eventually trying to have a single impl.

>> Adrian Brock wrote:
>>> On Fri, 2008-11-14 at 15:20 +0100, Ales Justin wrote:
>>>>> I want to provide an @JNDI annotation similar to the @JMX
>>>>> lifecycle to make this easier for developers.
>>>>>
>>>>> This will be important if we ever get around to
>>>>> changing our naming contexts to read-only since we
>>>>> can just change the @JNDI aspect to use the new
>>>>> mechansim for binding to jndi.
>>>> How does this compare with what we already have:
>>>>   - 
>>>> http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/aspects/jndi/
>>> I didn't know it existed. :-)
>>>
>>> The obvious things that are missing is are:
>>>
>>> * The on-demand processing I described.
>>>
>>> * whether the object should be bound using the
>>> NonSerializableObjectFactory or can be bound directly.
>>>
>>> * What custom ObjectFactory should be used if the binding
>>> implements Referenceable
>>>
>>> * The abilitiy to make the object bound into jndi
>>> aop remoteable
>>>
>>>> _______________________________________________
>>>> jboss-development mailing list
>>>> jboss-development at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list