On Thu, Sep 05, 2002 at 05:45:34PM -0400, David Ward wrote: > [EMAIL PROTECTED] wrote: > > You should instead download jboss 3.0.2, which has it included. I tried it, and >got it to work after about 5 minutes :-), it is very easy, just follow the >instructions in changenotes. > > > Hmmm. Looked at the change notes, and have a request and a question: > > SNIPPET 1st part: > <jboss> > <!-- A custom container configuration for RMI/HTTP --> > <container-configurations> > <container-configuration extends="Standard Stateless SessionBean"> > <container-name>HTTP Stateless SessionBean</container-name> > <home-invoker>jboss:service=invoker,type=http</home-invoker> > <bean-invoker>jboss:service=invoker,type=http</bean-invoker> > </container-configuration> > </container-configurations> > ... > > 1) In the next JBoss version, could this be in standardjboss.xml by > default? Seems pretty resusable. That way people won't have to include > it in their jboss.xml's. I just put it in standardjboss, and that below is then unneccesary.
> > SNIPPET 2nd part: > ... > <enterprise-beans> > <session> > <ejb-name>HelloWorldViaHTTP</ejb-name> > <configuration-name>HTTP Stateless SessionBean</configuration-name> > <jndi-name>helloworld/HelloHTTP</jndi-name> > </session> > </enterprise-beans> > </jboss> > > 2) What if I want to have two different invokers (rmi and http) for the > *same* bean? Is RMI diabled with this setting? > At first glance, it looks like I have to define the bean > twice in the ejb-jar.xml (with different ejb-name's)?! That doesn't > work well in XDoclet when you get one xml-defined bean for every > java-file bean. I'd rather define it once in ejb-jar.xml, and twice in > jboss.xml under different jndi-name's (I would then use xdoclet's > mergeDir attribute to pull in the HTTP configuration). I think the default should be that both rmi and http is enabled. > > Thanks, > David > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- MVH Marius Kotsbak Boost communications AS ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
