i like jrun too. but i'm a little annoyed at their docs for promoting all
these jrun specific ways of doing things (ResourceManager, etc.). the whole
point of j2ee is not to be locked into one vendors particular product/api.
it would be nice if allaire documented how to jrun in the manor specified by
the j2ee specs. for example, try managing datasources as the ejb 1.1 spec
defines in section 14. you can't do it with jrun. the servlet/jsp support
is very good and i can do things outlined in the servlet 2.2 spec with
relative ease. however ejipt (the ejb container) is a another story. seems
as if it was a quick port from some non spec ejb 1.0 server. this whole
reliance on the deply.properties is pretty stupid. let me do stuff in the
ejb-jar.xml file like sun says i should.
moral of the story: the servlets/jsp are quite good in jrun (speed issues
ignored), ejipt needs MUCH more work.
cheerio,
chris
| chris wilson || web dev ||| www.wondergeek.com || |
> -----Original Message-----
> From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 20, 2000 10:26 AM
> To: '[EMAIL PROTECTED]'
> Subject: [JRun-Talk] Non-Jrun specific way to get local EJBHomeObject?
>
>
> In JRun examples, they have the following code snippet that will get the
> local EJBHome object for this bean.
> final User user =
> ((UserHome)ResourceManager.getLocalEJBHome("sample10a.UserHome")).
> findByPrim
> aryKey(name);
>
> Although I love JRun :) I would like my code to not depend upon the
> container. If I have already have an existing javax.ejb.SessionContext
> object, how may I use this to objtain a reference to a local ejb home
> object?
>
> Thanks.
>
>
> Phillip Rhodes
> [EMAIL PROTECTED]
> Alcoa eCommerce
> https://www.ALCOADIRECT.COM
> 826B Two Allegheny Center Pittsburgh, PA 15212
> (412) 553-4900 (phone) (412) 553-2484 (fax)
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.