Timer service was added to EJB 2.1 specification:

http://www2.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column4

JMX compliant timer service is also available:

http://www.jboss.org/online-manual/HTML/ch11s55.html


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 7:46 AM
Subject: JBoss-user digest, Vol 1 #3560 - 9 msgs


> Send JBoss-user mailing list submissions to
> [EMAIL PROTECTED]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JBoss-user digest..."
>
>
> Today's Topics:
>
>    1. RE: http session status = broken? (Sacha Labourey)
>    2. Asking about Schedular Servlet in JBoss (Thaer Hani Al-Ibaisi)
>    3. Re[2]: [JBoss-user] Question about CMP/CMR (Alex Loubyansky)
>    4. Re: How to INSERT after ebjPostCreate versus ejbCreate
(Jonathan.O'[EMAIL PROTECTED])
>    5. RE: Re[2]: [JBoss-user] Question about CMP/CMR (Panagiotis Korros)
>    6. Scheduler MBean Information (Thaer Hani Al-Ibaisi)
>    7. Re[4]: [JBoss-user] Question about CMP/CMR (Alex Loubyansky)
>    8. Re: Date and jboss (Dain Sundstrom)
>    9. RE: Asking about Schedular Servlet in JBoss (Brian Topping)
>
> --__--__--
>
> Message: 1
> From: "Sacha Labourey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Date: Mon, 30 Dec 2002 08:55:27 +0100
> Subject: RE: [JBoss-user] http session status = broken?
> Reply-To: [EMAIL PROTECTED]
>
> It is intended to work. If it doesn't, make us know that. Take a fresh CVS
> snapshot (module jboss-3.0 from Branch_3_0).
>
> Cheers,
>
>
> Sacha
>
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de Dan K.
> > Envoye : dimanche, 29 decembre 2002 18:53
> > A : [EMAIL PROTECTED]
> > Objet : [JBoss-user] http session status = broken?
> >
> >
> >
> > Hi everyone,
> >
> > I'm a new user to jboss and am trying to figure out how to setup jboss
> > clustering, with http session replication.  I've scanned the mail
archive
> > for this list and it appears to be broken?
> >
> > Can I get a confirmation from people if it's really broken or if a
> > particular setup is?  However, if there is a way to get anything to
work,
> > I'd like to try it.  I'm using jboss 3.0.4 and tried 3.0.5 rc2 from cvs
> > Branch_3_0.
> >
> > Many thanks in advance!
> >
> > Regards,
> > Dan
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
>
> --__--__--
>
> Message: 2
> From: Thaer Hani Al-Ibaisi <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Mon, 30 Dec 2002 10:48:03 +0200
> Subject: [JBoss-user] Asking about Schedular Servlet in JBoss
> Reply-To: [EMAIL PROTECTED]
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C2AFE0.2C6FF3A0
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> Hi all,
>
> I was deploying my application under JRun 3.1 Web server, and I was using
> the "allaire.jrun.scheduler.CronService" servlet class that comes with
JRun
> library, this servlet works as a schedular to call a URL every part of
time
> that you specify, (I was using it, to control sending a Batch email
> functionality every two hours).
>
> So, any one know a substitute in JBoss that could help me to get the same
> functionality as JRun servlet class.
>
> Quick help is very thanked.
>
>
>
>
>
> ------_=_NextPart_001_01C2AFE0.2C6FF3A0
> Content-Type: text/html;
> charset="iso-8859-1"
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
>
>
> <META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
> <BODY>
> <DIV><FONT face=Arial size=2><SPAN class=875473808-30122002>Hi
> all,</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN class=875473808-30122002>I was
deploying my
> application under JRun 3.1 Web server, and I was using the
> "allaire.jrun.scheduler.CronService" servlet class that comes with JRun
library,
> this servlet works as a schedular to call a URL every part of time that
you
> specify, (I was using it, to control sending a Batch email functionality
every
> two hours).</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN class=875473808-30122002>So, any one
know a
> substitute in JBoss that could help me to get the same functionality as
JRun
> servlet class.</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN class=875473808-30122002>Quick help is
very
> thanked.</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=875473808-30122002></SPAN></FONT>&nbsp;</DIV></BODY></HTML>
>
> ------_=_NextPart_001_01C2AFE0.2C6FF3A0--
>
>
> --__--__--
>
> Message: 3
> Date: Mon, 30 Dec 2002 12:19:04 +0200
> From: Alex Loubyansky <[EMAIL PROTECTED]>
> To: "Langelage, Frank" <[EMAIL PROTECTED]>
> Subject: Re[2]: [JBoss-user] Question about CMP/CMR
> Reply-To: [EMAIL PROTECTED]
>
> Frank,
>
> if I understood you right, you want to map a CMR field with foreign
> key to a CMP field that is not a primary key. Currently, this is not
> supported.
>
> alex
>
> Sunday, December 29, 2002, 3:32:33 PM, you wrote:
>
> LF> Hallo Alex,
>
> LF> I know you ported this feature not long ago from HEAD to 3.2.
>
> LF> I use HEAD here and use this new feature for Bean2, if I understand it
> LF> right.
> LF> Column festr.festa_serial is part of the primary key for festr and
also
> LF> foreign key for festr referencing festa.festa_serial.
>
> LF> But if the foreign key field is not part of the primary key, like in
> LF> Bean3 (febdr), the foreign key field must not be CMP-Field in the
bean.
> LF> It's automatically added because of CMR.
>
> LF> As said, I would like jboss to recognize that the field already exists
> LF> also in case of Bean3 and use this field for CMR.
>
>
> LF> Frank
>
>
> LF> Alex Loubyansky wrote:
>
> >>Hello Frank,
> >>
> >>in JBoss-3.2 (cvs version) you can map foreign key fields to primary
> >>key fields. This is done by specifying the same column names for
> >>foreign and primary key fields.
> >>
> >>alex
> >>
> >>Saturday, December 28, 2002, 9:12:26 PM, you wrote:
> >>
> >>LF> JBoss-Head, JDK 1.4.1, Informix-DB
> >>
> >>LF> Following given situation:
> >>LF> Bean 1:
> >>LF>  Name=Festa, DBTable=festa, PK=festa_serial
> >>LF> Bean 2:
> >>LF>  Name=Festr, DBTable=festr, PK=festa_serial+festr_pos_nr,
> >>FK=festa_serial ->> festa
> >>LF> Bean 3:
> >>LF>  Name=febdr, DBTable=febdr, PK=febdr_serial, FK=festa_serial ->
festa
> >>
> >>LF> As you can see, for bean 2 the CMR-Field festa_serial must be a
> >>LF> CMP-Field, because it's part of the PK.
> >>LF> For bean 3 the CMR-Field festa_serial must not be a CMP-Field.
Otherwise
> >>LF> you get a DeploymentException because of a "wrong"
> >>LF> SQL-CreateTable-Statement.
> >>LF> The field festa_serial is mentioned twice here.
> >>LF> I would like JBoss to recognize that the CMR-Field is already there
as a
> >>LF> CMP-Field in both cases.
> >>
> >>LF> So my question: Is this a Bug, a FeatureRequest or a must be which
will
> >>LF> not be changed ?
>
>
> --
> Best regards,
>  Alex Loubyansky
>
>
>
>
> --__--__--
>
> Message: 4
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] How to INSERT after ebjPostCreate versus
ejbCreate
> From: Jonathan.O'[EMAIL PROTECTED]
> Date: Mon, 30 Dec 2002 11:10:23 +0000
> Reply-To: [EMAIL PROTECTED]
>
> Rod,
> If you are using Oracle as your DB, then you can mark your CMR fk columns
> as DEFERRABLE INITIALLY DEFERRED.
> Oracle will only check the non-null constraints at commit time. Shouldn't
> be a problem for you.
>
> Other DBs may have something similar.
>
> Ciao,
> Jonathan
>
>
>
>
> "Rod Macpherson" <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 21.12.2002 19:53
> Please respond to jboss-user
>
>
>         To:     <[EMAIL PROTECTED]>
>         cc:
>         Subject:        [JBoss-user] How to INSERT after ebjPostCreate
versus ejbCreate
>
>
> Calling an entity bean CMR setter method within ejbCreate is prohibited.
> The
> general solution is to make CMP calls within ejbCreate and CMR calls in
> ejbPostCreate. That solution does not work when the CMR field maps
> directly
> to a non-nullable required column value. WebLogic resolves this issue by
> deferring INSERT statements. How does one specify that option in JBoss?
>
>
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
> Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
> MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
> T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
>
> --__--__--
>
> Message: 5
> Subject: RE: Re[2]: [JBoss-user] Question about CMP/CMR
> Date: Mon, 30 Dec 2002 15:50:11 +0200
> From: "Panagiotis Korros" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
>
> Are there any plans to support it?
> It would solve many problems (especially performance and lock problems
> in my application)
>
> -----Original Message-----
> From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]=20
> Sent: Monday, December 30, 2002 12:19 PM
> To: Langelage, Frank
> Subject: Re[2]: [JBoss-user] Question about CMP/CMR
>
>
> Frank,
>
> if I understood you right, you want to map a CMR field with foreign key
> to a CMP field that is not a primary key. Currently, this is not
> supported.
>
> alex
>
> Sunday, December 29, 2002, 3:32:33 PM, you wrote:
>
> LF> Hallo Alex,
>
> LF> I know you ported this feature not long ago from HEAD to 3.2.
>
> LF> I use HEAD here and use this new feature for Bean2, if I understand=20
> LF> it
> LF> right.
> LF> Column festr.festa_serial is part of the primary key for festr and
> also=20
> LF> foreign key for festr referencing festa.festa_serial.
>
> LF> But if the foreign key field is not part of the primary key, like in
> LF> Bean3 (febdr), the foreign key field must not be CMP-Field in the
> bean.=20
> LF> It's automatically added because of CMR.
>
> LF> As said, I would like jboss to recognize that the field already=20
> LF> exists
> LF> also in case of Bean3 and use this field for CMR.
>
>
> LF> Frank
>
>
> LF> Alex Loubyansky wrote:
>
> >>Hello Frank,
> >>
> >>in JBoss-3.2 (cvs version) you can map foreign key fields to primary=20
> >>key fields. This is done by specifying the same column names for=20
> >>foreign and primary key fields.
> >>
> >>alex
> >>
> >>Saturday, December 28, 2002, 9:12:26 PM, you wrote:
> >>
> >>LF> JBoss-Head, JDK 1.4.1, Informix-DB
> >>
> >>LF> Following given situation:
> >>LF> Bean 1:
> >>LF>  Name=3DFesta, DBTable=3Dfesta, PK=3Dfesta_serial
> >>LF> Bean 2:
> >>LF>  Name=3DFestr, DBTable=3Dfestr, PK=3Dfesta_serial+festr_pos_nr,
> >>FK=3Dfesta_serial ->> festa
> >>LF> Bean 3:
> >>LF>  Name=3Dfebdr, DBTable=3Dfebdr, PK=3Dfebdr_serial, =
> FK=3Dfesta_serial ->=20
> >>LF> festa
> >>
> >>LF> As you can see, for bean 2 the CMR-Field festa_serial must be a
> >>LF> CMP-Field, because it's part of the PK.
> >>LF> For bean 3 the CMR-Field festa_serial must not be a CMP-Field.
> Otherwise=20
> >>LF> you get a DeploymentException because of a "wrong"=20
> >>LF> SQL-CreateTable-Statement.
> >>LF> The field festa_serial is mentioned twice here.
> >>LF> I would like JBoss to recognize that the CMR-Field is already
> there as a=20
> >>LF> CMP-Field in both cases.
> >>
> >>LF> So my question: Is this a Bug, a FeatureRequest or a must be which
>
> >>LF> will
> >>LF> not be changed ?
>
>
> --=20
> Best regards,
>  Alex Loubyansky
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> --__--__--
>
> Message: 6
> From: Thaer Hani Al-Ibaisi <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Mon, 30 Dec 2002 16:15:21 +0200
> Subject: [JBoss-user] Scheduler MBean Information
> Reply-To: [EMAIL PROTECTED]
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C2B00D.E6AD3B90
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> Hi All,
>
> About the scheduler in JBoss, I have searched the JBoss Forum, and found
the
> following link http://www.jboss.org/online-manual/HTML/ch13s58.html
> <http://www.jboss.org/online-manual/HTML/ch13s58.html>  talking about
> Scheduler, but it is talking about some pieces of code without mentioning
> where to put thise pieces of code (in which classes, what should be their
> names.)
>
> about the pieces of code here is some of them
> -------------------------------------------------------------------
> Date lNext = new Date( new Date().getTime() + Timer.ONE_MINUTE );
>    Integer lOneMinuteTimer = (Integer) lServer.invoke(
>       lTimer.getObjectName(),
>       "addNotification",
>       new Object[] {
>          "IDoNotKnowWhatTypeIs",
>          "I call you with this timer once",
>          // No user object
>          null,
>          // In one minute from now
>          lNext,
>       },
>       new String[] {
>          "".getClass().getName(),
>          "".getClass().getName(),
>          "java.lang.Object",
>          Date.class.getName()
>       }
>    );
> -------------------------------------------------------------------------
> lServer.addNotificationListener(
>       lTimer.getObjectName(),
>       // Notification Listener
>       new NotificationListener() {
>          public void handleNotification(
>             Notification pNotification,
>             Object pHandback
>          ) {
>             // Add here you call any code or application or perform
whatever
> you want to
>             System.out.println( "You got a Notification: " + pNotification
> );
>          }
>       },
>       // Filter Listener
>       new NotificationFilter() {
>          public boolean isNotificationEnabled( Notification
pNotification )
> {
>             if( pNotification instanceof TimerNotification ) {
>                TimerNotification lTimerNotification = (TimerNotification)
> pNotification;
>                return lTimerNotification.getNotificationID().equals(
> mTimerId );
>             }
>             return false;
>          }
>       },
>       // No object handback necessary
>       null
>    );
> --------------------------------------------------------------------------
--
> ---
>
> ------_=_NextPart_001_01C2B00D.E6AD3B90
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
>
>
> <META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR></HEAD>
> <BODY>
> <DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>About the scheduler in JBoss, I have =
> searched the=20
> JBoss Forum, and found the following link <A=20
> href=3D"http://www.jboss.org/online-manual/HTML/ch13s58.html";>http://www=
> .jboss.org/online-manual/HTML/ch13s58.html</A>=20
> talking about Scheduler, but it is talking about some pieces of code =
> without=20
> mentioning where to put thise pieces of code (in which classes, what =
> should be=20
> their names.)</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>about the pieces of code here is some =
> of them=20
> <BR>-------------------------------------------------------------------<=
> BR>Date=20
> lNext =3D new Date( new Date().getTime() + Timer.ONE_MINUTE =
> );<BR>&nbsp;&nbsp;=20
> Integer lOneMinuteTimer =3D (Integer)=20
> lServer.invoke(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> lTimer.getObjectName(),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> "addNotification",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new Object[] {=20
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> "IDoNotKnowWhatTypeIs",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
> sp; "I=20
> call you with this timer=20
> once",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // No user=20
> object<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> null,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // In one =
> minute from=20
> now<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> lNext,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> },<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> new String[] {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> "".getClass().getName(),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
> bsp;=20
> "".getClass().getName(),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
> bsp;=20
> "java.lang.Object",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
>
> Date.class.getName()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> }<BR>&nbsp;&nbsp;=20
> );<BR>------------------------------------------------------------------=
> -------<BR>lServer.addNotificationListener(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&=
> nbsp;=20
> lTimer.getObjectName(),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // =
> Notification=20
> Listener<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new NotificationListener()=20
> {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public void=20
> handleNotification(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
> nbsp;&nbsp;&nbsp;=20
> Notification=20
> pNotification,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> &nbsp;&nbsp;=20
> Object pHandback <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) =
>
> {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> // Add=20
> here you call any code or application or perform whatever you want=20
> to<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> =20
> System.out.println( "You got a Notification: " + pNotification=20
> );<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> },<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //=20
> Filter Listener<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new =
> NotificationFilter()=20
> {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public boolean=20
> isNotificationEnabled( Notification pNotification )=20
> {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> if(=20
> pNotification instanceof TimerNotification )=20
> {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
> nbsp;&nbsp;&nbsp;=20
> TimerNotification lTimerNotification =3D (TimerNotification)=20
> pNotification;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> return lTimerNotification.getNotificationID().equals( mTimerId=20
> );<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> =20
> }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> return=20
> false;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> },<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // No=20
> object handback necessary<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> null<BR>&nbsp;&nbsp;=20
> );<BR>------------------------------------------------------------------=
> -------------</FONT></DIV></BODY></HTML>
>
> ------_=_NextPart_001_01C2B00D.E6AD3B90--
>
>
> --__--__--
>
> Message: 7
> Date: Mon, 30 Dec 2002 16:28:32 +0200
> From: Alex Loubyansky <[EMAIL PROTECTED]>
> To: Panagiotis Korros <[EMAIL PROTECTED]>
> Subject: Re[4]: [JBoss-user] Question about CMP/CMR
> Reply-To: [EMAIL PROTECTED]
>
> Monday, December 30, 2002, 3:50:11 PM, you wrote:
>
> PK> Are there any plans to support it?
>
> Yes.
>
> alex
>
> PK> It would solve many problems (especially performance and lock problems
> PK> in my application)
>
> PK> -----Original Message-----
> PK> From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
> PK> Sent: Monday, December 30, 2002 12:19 PM
> PK> To: Langelage, Frank
> PK> Subject: Re[2]: [JBoss-user] Question about CMP/CMR
>
>
> PK> Frank,
>
> PK> if I understood you right, you want to map a CMR field with foreign
key
> PK> to a CMP field that is not a primary key. Currently, this is not
> PK> supported.
>
> PK> alex
>
> PK> Sunday, December 29, 2002, 3:32:33 PM, you wrote:
>
> LF>> Hallo Alex,
>
> LF>> I know you ported this feature not long ago from HEAD to 3.2.
>
> LF>> I use HEAD here and use this new feature for Bean2, if I understand
> LF>> it
> LF>> right.
> LF>> Column festr.festa_serial is part of the primary key for festr and
> PK> also
> LF>> foreign key for festr referencing festa.festa_serial.
>
> LF>> But if the foreign key field is not part of the primary key, like in
> LF>> Bean3 (febdr), the foreign key field must not be CMP-Field in the
> PK> bean.
> LF>> It's automatically added because of CMR.
>
> LF>> As said, I would like jboss to recognize that the field already
> LF>> exists
> LF>> also in case of Bean3 and use this field for CMR.
>
>
> LF>> Frank
>
>
> LF>> Alex Loubyansky wrote:
>
> >>>Hello Frank,
> >>>
> >>>in JBoss-3.2 (cvs version) you can map foreign key fields to primary
> >>>key fields. This is done by specifying the same column names for
> >>>foreign and primary key fields.
> >>>
> >>>alex
> >>>
> >>>Saturday, December 28, 2002, 9:12:26 PM, you wrote:
> >>>
> >>>LF> JBoss-Head, JDK 1.4.1, Informix-DB
> >>>
> >>>LF> Following given situation:
> >>>LF> Bean 1:
> >>>LF>  Name=Festa, DBTable=festa, PK=festa_serial
> >>>LF> Bean 2:
> >>>LF>  Name=Festr, DBTable=festr, PK=festa_serial+festr_pos_nr,
> >>>FK=festa_serial ->> festa
> >>>LF> Bean 3:
> >>>LF>  Name=febdr, DBTable=febdr, PK=febdr_serial, FK=festa_serial ->
> >>>LF> festa
> >>>
> >>>LF> As you can see, for bean 2 the CMR-Field festa_serial must be a
> >>>LF> CMP-Field, because it's part of the PK.
> >>>LF> For bean 3 the CMR-Field festa_serial must not be a CMP-Field.
> PK> Otherwise
> >>>LF> you get a DeploymentException because of a "wrong"
> >>>LF> SQL-CreateTable-Statement.
> >>>LF> The field festa_serial is mentioned twice here.
> >>>LF> I would like JBoss to recognize that the CMR-Field is already
> PK> there as a
> >>>LF> CMP-Field in both cases.
> >>>
> >>>LF> So my question: Is this a Bug, a FeatureRequest or a must be which
>
> >>>LF> will
> >>>LF> not be changed ?
>
> --
> Best regards,
>  Alex Loubyansky
>
>
>
>
> --__--__--
>
> Message: 8
> Date: Mon, 30 Dec 2002 09:26:01 -0600
> Subject: Re: [JBoss-user] Date and jboss
> From: Dain Sundstrom <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
>
> Kiuma,
>
> I don't understand your question. Can you restate the question a
> different way?
>
> -dain
>
> On Saturday, December 28, 2002, at 08:16 AM, kiuma wrote:
>
> > Hello, I was wondering about dates and queries.
> > If I have a myCalendar created with new GragorianCalendar() and a
> > where clause like
> > day = ?1.
> >
> > Suppose now that myCalendar is 1/1/2003 23:59:59 99 .....
> >
> >
> > What happens if i pass myCalendar.getTime() ?
> >
> > If I have a row with day = 1/1/2003 15:59:59 99, Is this row in result
> > set ?
> >
> > Tahnks and Happy NY,
> >
> > kiuma
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> --__--__--
>
> Message: 9
> Subject: RE: [JBoss-user] Asking about Schedular Servlet in JBoss
> Date: Mon, 30 Dec 2002 10:44:56 -0500
> From: "Brian Topping" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
>
> This is a multi-part message in MIME format.
>
> ------_=_NextPart_001_01C2B01A.66E81280
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Use Quartz:  http://www.part.net/quartz.html.  Works for me...
> =20
> -b
>
> -----Original Message-----
> From: Thaer Hani Al-Ibaisi [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 30, 2002 3:48 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Asking about Schedular Servlet in JBoss
>
>
> Hi all,
> =20
> I was deploying my application under JRun 3.1 Web server, and I was =
> using the
> "allaire.jrun.scheduler.CronService" servlet class that comes with JRun
> library, this servlet works as a schedular to call a URL every part of =
> time
> that you specify, (I was using it, to control sending a Batch email
> functionality every two hours).
> =20
> So, any one know a substitute in JBoss that could help me to get the =
> same
> functionality as JRun servlet class.
> =20
> Quick help is very thanked.
> =20
> =20
> =20
> =20
>
>
> ------_=_NextPart_001_01C2B01A.66E81280
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
>
>
> <META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR></HEAD>
> <BODY>
> <DIV><SPAN class=3D711594315-30122002><FONT face=3DArial color=3D#0000ff =
> size=3D2>Use=20
> Quartz:&nbsp; <A=20
> href=3D"http://www.part.net/quartz.html";>http://www.part.net/quartz.html<=
> /A>.&nbsp;=20
> Works for me...</FONT></SPAN></DIV>
> <DIV><SPAN class=3D711594315-30122002><FONT face=3DArial color=3D#0000ff =
>
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D711594315-30122002><FONT face=3DArial color=3D#0000ff =
>
> size=3D2>-b</FONT></SPAN></DIV>
> <BLOCKQUOTE dir=3Dltr=20
> style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
> solid; MARGIN-RIGHT: 0px">
>   <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
> face=3DTahoma=20
>   size=3D2>-----Original Message-----<BR><B>From:</B> Thaer Hani =
> Al-Ibaisi=20
>   [mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Monday, December 30, =
> 2002 3:48=20
>   AM<BR><B>To:</B> [EMAIL PROTECTED]<BR><B>Subject:</B>=20
>   [JBoss-user] Asking about Schedular Servlet in =
> JBoss<BR><BR></FONT></DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN class=3D875473808-30122002>Hi=20
>   all,</SPAN></FONT></DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN class=3D875473808-30122002>I =
> was deploying my=20
>   application under JRun 3.1 Web server, and I was using the=20
>   "allaire.jrun.scheduler.CronService" servlet class that comes with =
> JRun=20
>   library, this servlet works as a schedular to call a URL every part of =
> time=20
>   that you specify, (I was using it, to control sending a Batch email=20
>   functionality every two hours).</SPAN></FONT></DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN class=3D875473808-30122002>So, =
> any one know a=20
>   substitute in JBoss that could help me to get the same functionality =
> as JRun=20
>   servlet class.</SPAN></FONT></DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN =
> class=3D875473808-30122002>Quick help is very=20
>   thanked.</SPAN></FONT></DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV>
>   <DIV><FONT face=3DArial size=3D2><SPAN=20
>   =
> class=3D875473808-30122002></SPAN></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY>=
> </HTML>
>
> ------_=_NextPart_001_01C2B01A.66E81280--
>
>
>
> --__--__--
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> End of JBoss-user Digest



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to