Re: [JBoss-user] performance: same object in multiple sessions

2002-02-17 Thread Dmitri Colebatch
where? in the web tier there's always application scope. in the ejb tier you could use a singleton if you're only in one vm... bind to jndi? cheers di - Original Message - From: "Jim" <[EMAIL PROTECTED]> To: "jboss-user" <[EMAIL PROTECTED]> Sent: Monday, February 18, 2002 3:04 PM Sub

[JBoss-user] performance: same object in multiple sessions

2002-02-17 Thread Jim
Hello, What method of making an object accessible from multiple sessions would yield the best performance? Thanks, Jim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] deploy stateless Session Bean

2002-02-17 Thread Christine
Hi, I deployed a sample HelloWorld stateless session bean and a JSP file on JBoss 2.4.4-Tomcat4.0.1. In the JSP file, I am looking for the HelloWorldHome interface and create a HelloWorld remote interface and call method sayHello(). However I am getting error when I try to access sayHello.jsp fro

Re: [JBoss-user] inner transactions

2002-02-17 Thread Dmitri Colebatch
> i want the container to handle the transactions. the only way to make this > happen is for a and b to throw ejbexception on system failure. my problem > was that when b threw the ejbexception, the container was marking the entire > transaction for rollback, and i really should not have continu

RE: [JBoss-user] inner transactions

2002-02-17 Thread Eric Kaplan
i want the container to handle the transactions. the only way to make this happen is for a and b to throw ejbexception on system failure. my problem was that when b threw the ejbexception, the container was marking the entire transaction for rollback, and i really should not have continued, whic

Re: [JBoss-user] inner transactions

2002-02-17 Thread Dmitri Colebatch
> thanks for responding on this. seems like my only real choice is > requiresnew, and make > sure that if a really wants to handle the whole thing as one transaction, a > then catches > the ejb exception and throws its own ejb exception to back out the > transaction, thus supporting > a truly nes

RE: [JBoss-user] inner transactions

2002-02-17 Thread Eric Kaplan
thanks for responding on this. seems like my only real choice is requiresnew, and make sure that if a really wants to handle the whole thing as one transaction, a then catches the ejb exception and throws its own ejb exception to back out the transaction, thus supporting a truly nested transactio

Re: [JBoss-user] inner transactions

2002-02-17 Thread danch
Eric Kaplan wrote: > I have two session beans, a and b. Both are container managed transactions, > Requires transaction. I call a from the client, which presumably initiates > the transaction, and a calls b. Something happens in b, which then throws > an EJBException. It seems like this is in

[JBoss-user] Apache + JBoss + Tomcat.

2002-02-17 Thread wolfgang
Hi there, I've been trying to make Apache, JBoss and Tomcat work together, but it doesn't work at all. 1, I downloaded JBoss with Tomcat. 2, EJB example worked well. 3, I downloaded Apache and installed(with webapp). 4, I changed some settings(http.conf) of Apache. and It worked well.(just html p