Thanks!
Rickard �berg <[EMAIL PROTECTED]> writes:
> I would recommend doing this as a JMX MBean that you add after the
> AutoDeployer in jboss.conf. In the MBean you can call your EJB's to
> cause them to be preloaded. Use the NoPassivationCache for best results
> in your case (edit container configurations to do this).
Is there a "My first JMX MBean for the aspiring programmer"-source/doc
or similar on the net? :-)
But, to check if I understood the concept:
Given database-table logon:
id int
name varchar
password varchar
In the MBean, I just do a query, and for each record in the table
logon I find, I call
MyLogonHome.findByPrimaryKey(new MyLogonPK(id from table))
Since I have specified NoPassivationCache, the the EJB's will remain
populated, even after the MBean has lost reference to it?
(In which configuration file should I put the NoPassivationCache-
directive? The EJB's ejb-jar.xml? jboss.xml? The conf/jboss.xml? )
Regards,
Lars
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]