Re: [Resin-interest] Recompilation of jsp on every request for the same page

2009-03-31 Thread Prasad Chaudhari
I do not see it as a permissions issue. I use windows XP and resin can write to that directory as it everytime compiles classes(jsps and tags) to the directory (work). I have tried it with Resin 3.2.1 as well, same result. Some additional info. Resin is configured so that document-directory is

Re: [Resin-interest] Amber (JPA) Table Indexes

2009-03-31 Thread Daniel López
Isn't that something one would do at the database level? D. Scott Hernandez escribió: Is there a way to hint to Amber that a column should be indexed? For example we will be doing a lot of queries like this: Select u from User where u.isActive == true ... And it would be nice if the

Re: [Resin-interest] Amber (JPA) Table Indexes

2009-03-31 Thread Scott Hernandez
Hibernate lets you add a @Index to entities/tables for this. http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#d0e2305 Since JPA is creating, and maintaining the schema it is nice to keep that config all in one place. I would say that for serious tuning you may need to do

[Resin-interest] Remoting without XML service declarations

2009-03-31 Thread Jeff Schnitzer
Is it possible to expose EJBs (or POJOs) as remote-able objects without declaring them in XML (ie, resin-web.xml)? The Resin Remoting docs (http://caucho.com/resin/doc/resin-remoting.xtp) make it look like I must declare a servlet-mapping for every bean I wish to expose. Is there an annotation I

[Resin-interest] Authentication against LDAP with SSHA-encrypted passwords ?

2009-03-31 Thread Laurent Jaccard
Hi, I am wondering if Resin Pro 3.1.8 can authenticate natively, ie. without writing any Java code, against a LDAP that stores user passwords encrypted with SSHA ? (Sun Directory, OpenDS) I am trying to get that sort of auth working but to no avail, and thought it might be the reason. If not,

Re: [Resin-interest] MBean Registration

2009-03-31 Thread Scott Ferguson
On Mar 30, 2009, at 5:31 PM, Scott Hernandez wrote: Is there an annotation based way to register Management Beans? I know I can do this in XML, but is there an annotation, or interface that will work the same way? resource mbean-name=subetha:name=Cleanup

Re: [Resin-interest] Remoting without XML service declarations

2009-03-31 Thread Scott Ferguson
On Mar 31, 2009, at 1:27 AM, Jeff Schnitzer wrote: Is it possible to expose EJBs (or POJOs) as remote-able objects without declaring them in XML (ie, resin-web.xml)? The Resin Remoting docs (http://caucho.com/resin/doc/resin-remoting.xtp) make it look like I must declare a servlet-mapping

Re: [Resin-interest] Remoting without XML service declarations

2009-03-31 Thread Jeff Schnitzer
On Tue, Mar 31, 2009 at 11:08 AM, Scott Ferguson f...@caucho.com wrote: Hmm.  It might be possible to use the new Servlet 3.0 annotations for that purpose (we haven't implemented it yet.) The original idea was that exposed URLs shouldn't generally be automatic.  In other words, having a

Re: [Resin-interest] Using Hibernate as EntityManager in Resin 4

2009-03-31 Thread Scott Hernandez
Let me try this again from the beginning... I want to have services (that start with the application, and runs the length of the application lifetime) so I define a POJO with a @Service and a method with a @PostConstruct. Everything is going well so far. I define a persistenceunit in

Re: [Resin-interest] Using Hibernate as EntityManager in Resin 4

2009-03-31 Thread Scott Hernandez
Let me try this again from the beginning... I want to have services (that start with the application, and runs the length of the application lifetime) so I define a POJO with a @Service and a method with a @PostConstruct. Everything is going well so far. I define a persistenceunit in

Re: [Resin-interest] Using Hibernate as EntityManager in Resin 4

2009-03-31 Thread Scott Ferguson
On Mar 31, 2009, at 12:51 PM, Scott Hernandez wrote: Let me try this again from the beginning... I want to have services (that start with the application, and runs the length of the application lifetime) so I define a POJO with a @Service and a method with a @PostConstruct. Everything is

Re: [Resin-interest] Using Hibernate as EntityManager in Resin 4

2009-03-31 Thread Scott Hernandez
Yeah, I tracked it down the the start method of EnvironmentClassLoader. When walking through the EnvironmentListener[] list the webbeans (and @ApplicationScope @Service) are init'd before the EJB system. The EntityManagerFactory exists in the AmberContainer but it is still in the _pendingFactory