Article View: comp.lang.java.programmer
Article #243Factory and EJBHome interface
From: wilhelm
Date: Thu, 18 Oct 2001 23:11
Date: Thu, 18 Oct 2001 23:11
15 lines
1796 bytes
1796 bytes
How can I initialize the EJB Factory (which is implementing the EJBHome interface) the way I want ? In other words, I should be able to modify or interract with the Factory to: - add some variable in order to count the nb of users currently connected - add some variable in order to count the total nb. of users connected since the beginning - Do JNDI lookups once, insteadof repeating them every time I create a new session instance .... Why EJB do not provide any Factory callback like you can do in corba or rmi ?
Technical Details
Message-ID:
<d1d4144b.0110181511.45536ef5@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,19e8957ee8c197f6,start X-Google-Attributes: gidf5d71,public X-Google-Thread: fcfb6,19e8957ee8c197f6,start X-Google-Attributes: gidfcfb6,public X-Google-Thread: 102719,19e8957ee8c197f6,start X-Google-Attributes: gid102719,public X-Google-Thread: 10a146,19e8957ee8c197f6,start X-Google-Attributes: gid10a146,public X-Google-Thread: 1090f0,19e8957ee8c197f6,start X-Google-Attributes: gid1090f0,public X-Google-ArrivalTime: 2001-10-18 16:11:04 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!postnews1.google.com!not-for-mail From: wilhelmt@mdli.com (wilhelm) Newsgroups: comp.lang.java.programmer,comp.lang.java,weblogic.developer.interest.ejb,borland.public.appserver.ejb,ibm.software.websphere.application-server Subject: Factory and EJBHome interface Date: 18 Oct 2001 16:11:03 -0700 Organization: http://groups.google.com/ Lines: 15 Message-ID: <d1d4144b.0110181511.45536ef5@posting.google.com> NNTP-Posting-Host: 208.200.221.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1003446664 1042 127.0.0.1 (18 Oct 2001 23:11:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Oct 2001 23:11:04 GMT