Re[2]: Better way for use lucene search in ejb

2006-12-29 Thread Alex Novik
Hi, Grant. Main (first) question is: Improve performance of search in J2EE app. Problems: 1. In EJB container I can't start Thread. 2. If i use RMI call from EJB container to Lucene app with binds RemoteSearch - perfomance ten times more then simple Java application. (sample) LocateR

Re: Better way for use lucene search in ejb

2006-12-26 Thread Grant Ingersoll
Hi Alex, This seems like a pretty small setup, so I think we may need some more info. I don't know a lot about EJBs, but what I wonder is if your bean is opening an Index Searcher for every connection. Perhaps you could describe your architecture a little bit more and that will help us

Better way for use lucene search in ejb

2006-12-24 Thread Alex Novik
I try to use lucene search in j2ee server (generic). Problem - improve performance. - Server works with java 1.4. - Many ( > 100) call for each client. - Index less then 1 documents. - Index changed very rare. - can't use MBean as JBoss. - can't use java 1.5 1. If use RemoteSearchable and