You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/06/01 17:59:21 UTC

[jira] Created: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

ejbs should point to TSS bean not TSS to ejb
--------------------------------------------

         Key: GERONIMO-659
         URL: http://issues.apache.org/jira/browse/GERONIMO-659
     Project: Geronimo
        Type: Improvement
  Components: CORBA  
    Versions: 1.0-M3    
    Reporter: David Jencks
 Assigned to: David Jencks 


Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by "David Blevins (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-659?page=all ]
     
David Blevins reopened GERONIMO-659:
------------------------------------


As strong principle in OpenEJB is that the containers are egnostic to any transport and any one transport is not required to run a container.  This particular change breaks that and will have to be revisited.

> ejbs should point to TSS bean not TSS to ejb
> --------------------------------------------
>
>          Key: GERONIMO-659
>          URL: http://issues.apache.org/jira/browse/GERONIMO-659
>      Project: Geronimo
>         Type: Improvement
>   Components: CORBA
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-659?page=comments#action_12314014 ] 

David Jencks commented on GERONIMO-659:
---------------------------------------

The tss tags are not required, ejbs still work fine without corba.

I agree the current solution is not optimal.

I think there is a problem with having the tss bean reference the ejb container, namely that if several tss beans reference the same ejb container, corba won't know what IOR to serve up when you look up that ejb.   Having the ejb reference the tss prevents this from happening.  Can you suggest another solution to this problem?

We __might__ be able to alleviate the extreme inconvenience and unworkability of the previous implemenation of the tss bean referring to the ejb by recommending that you include the tss bean you want to use in your application rather than in the standard geronimo config.  This would also fix the ridiculous situation that deploying another app requires you to modify the basic geronimo plan in order to access the ejbs.

Also, the presence of jndi-name and local-jndi-name in EjbContainer seems to me that it is equally injecting information not relevant to the ejb or the geronimo naming system and only relevant to particular transports. 

> ejbs should point to TSS bean not TSS to ejb
> --------------------------------------------
>
>          Key: GERONIMO-659
>          URL: http://issues.apache.org/jira/browse/GERONIMO-659
>      Project: Geronimo
>         Type: Improvement
>   Components: CORBA
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-659?page=all ]
     
David Jencks closed GERONIMO-659:
---------------------------------


No point in keeping this open, even though it was sort of a bad idea.

> ejbs should point to TSS bean not TSS to ejb
> --------------------------------------------
>
>          Key: GERONIMO-659
>          URL: http://issues.apache.org/jira/browse/GERONIMO-659
>      Project: Geronimo
>         Type: Improvement
>   Components: CORBA
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
	But...  I think it's a lot more workable to have the extra code in 
the EJB configuration instead of needing to list all EJBs elsewhere.  If 
necessary, let's come up with a transport-independent configuration.  I 
mean, something like:

<transport-security>
  <transport>CORBA</transport>
  <configuration>(TSS GBean Name)</configuration>
</transport-security>

Aaron

On Sun, 19 Jun 2005, Alan Cabrera (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/GERONIMO-659?page=comments#action_12313997 ] 
> 
> Alan Cabrera commented on GERONIMO-659:
> ---------------------------------------
> 
> Now I remember why I originally designed it that way.
> 
> > ejbs should point to TSS bean not TSS to ejb
> > --------------------------------------------
> >
> >          Key: GERONIMO-659
> >          URL: http://issues.apache.org/jira/browse/GERONIMO-659
> >      Project: Geronimo
> >         Type: Improvement
> >   Components: CORBA
> >     Versions: 1.0-M3
> >     Reporter: David Jencks
> >     Assignee: David Jencks
> >      Fix For: 1.0-M4
> 
> >
> > Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 

[jira] Commented: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by "Alan Cabrera (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-659?page=comments#action_12313997 ] 

Alan Cabrera commented on GERONIMO-659:
---------------------------------------

Now I remember why I originally designed it that way.

> ejbs should point to TSS bean not TSS to ejb
> --------------------------------------------
>
>          Key: GERONIMO-659
>          URL: http://issues.apache.org/jira/browse/GERONIMO-659
>      Project: Geronimo
>         Type: Improvement
>   Components: CORBA
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-659?page=all ]
     
David Jencks resolved GERONIMO-659:
-----------------------------------

    Resolution: Invalid

This is implemented, and in some ways it is more convenient than the reverse, but it is a mistake.  I'm opening a more general issue to track progress on reversing this.

> ejbs should point to TSS bean not TSS to ejb
> --------------------------------------------
>
>          Key: GERONIMO-659
>          URL: http://issues.apache.org/jira/browse/GERONIMO-659
>      Project: Geronimo
>         Type: Improvement
>   Components: CORBA
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-659) ejbs should point to TSS bean not TSS to ejb

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-659?page=all ]
     
David Jencks closed GERONIMO-659:
---------------------------------

     Resolution: Fixed
    Fix Version: 1.0-M4

Implemented.  Session and entity beans can have an element after the jndi-name. You get a choice of:

tss-link (just the name part, we look in the current application and then no-app for a single match)
tss-name (full object name of tss bean)
tss (you supply the parts of the tss bean name that differ from the current context)

> ejbs should point to TSS bean not TSS to ejb
> --------------------------------------------
>
>          Key: GERONIMO-659
>          URL: http://issues.apache.org/jira/browse/GERONIMO-659
>      Project: Geronimo
>         Type: Improvement
>   Components: CORBA
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> Currently the TSS gbeans have a reference collection of ejbs they service.  This is extremely unwieldy in practice.  The ejb should have a reference to the TSS generated from info in the openejb plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira