Re: Re: RE: Simple Java Doubts
This is not a test. If you do not heed this warning, it may happen to you. This is not a test. On Thu, May 10, 2001 at 02:11:25PM +0200, [EMAIL PROTECTED] wrote: > That's an evil communist lie. Please report to the nearest termination > center. > > The computer is your friend! > > -Original Message- > From: Magnus Rydin [mailto:[EMAIL PROTECTED]] > Sent: 10. mai 2001 10:41 > To: Orion-Interest > Subject: SV: Re: RE: Simple Java Doubts > > > > THEY just "informed" me that the Frog is leaping through tiny blue loops. > SOMEONE tells me that the Bavarian Illuminati has teamed up with BORG and > are involved in this affair in SOME WAY. > > Fnord! > > > > -Ursprungligt meddelande- > > Fr?n: Johan Fredriksson [ mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> ] > > Skickat: den 10 maj 2001 01:03 > > Till: Orion-Interest > > ?mne: Re: Re: RE: Simple Java Doubts > > > > > > Resistance is futile, you will be assimilated. > > > > Johan > > - Original Message - > > From: "John Hogan" <[EMAIL PROTECTED]> > > To: "Orion-Interest" <[EMAIL PROTECTED]> > > Sent: Wednesday, May 09, 2001 9:55 PM > > Subject: Re: Re: RE: Simple Java Doubts > > > > > > > Santosh, > > > > > > Is the original disclaimer a secret plot to own all content on the > > > orion list? Somehow doesn't seem appropriate. > > > > > > *** > > > Disclaimer : > > > The information contained and transmitted in this e-mail is > > > confidential information, and is intended only for the > > > named recipient to which it is addressed. The content of > > > this e-mail may not have been sent with the authority of > > > the company. If the reader of this message is not the > > > named recipient or a person responsible for delivering it > > > to the named recipient, you are notified that the review, > > > dissemination, distribution, transmission, printing or copying, > > > forwarding, or any other use of this message or any part of > > > it, including any attachments, is strictly prohibited. If you > > > have received this communication in error, please delete > > > the e-mail and destroy all record of this communication. > > > Thank you for your assistance. > > > > > ** > > > > > > > > > > > > Begin Original Message > > > > > > From: "John Hogan" <[EMAIL PROTECTED]> > > > Sent: Wed, 9 May 2001 08:03:18 -0400 > > > To: Orion-Interest <[EMAIL PROTECTED]> > > > Subject: Re: RE: Simple Java Doubts > > > > > > > > > On response 2, if the remote client is actually a web server, the > > > scheme will work nicely. No polling would be necessary, an http > > > request would only be issued on event. > > > > > > John Hogan > > > > > > _ > > > > > > Get your free E-mail at http://www.ireland.com <http://www.ireland.com> > > > > > > > > > > > > > End Original Message > > > > > > > > > > > > _ > > > > > > Get your free E-mail at http://www.ireland.com <http://www.ireland.com> > > > > > > -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://winter.ajacency.com/ IT Consultant
RE: Re: RE: Simple Java Doubts
Title: SV: Re: RE: Simple Java Doubts Please don't "Borg" with with the details, least we "leap" to the wrong conclusions. -Original Message-From: Magnus Rydin [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 10, 2001 3:41 AMTo: Orion-InterestSubject: SV: Re: RE: Simple Java Doubts THEY just "informed" me that the Frog is leaping through tiny blue loops. SOMEONE tells me that the Bavarian Illuminati has teamed up with BORG and are involved in this affair in SOME WAY. Fnord! > -Ursprungligt meddelande- > Från: Johan Fredriksson [mailto:[EMAIL PROTECTED]] > Skickat: den 10 maj 2001 01:03 > Till: Orion-Interest > Ämne: Re: Re: RE: Simple Java Doubts > > > Resistance is futile, you will be assimilated. > > Johan > - Original Message - > From: "John Hogan" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Sent: Wednesday, May 09, 2001 9:55 PM > Subject: Re: Re: RE: Simple Java Doubts > > > > Santosh, > > > > Is the original disclaimer a secret plot to own all content on the > > orion list? Somehow doesn't seem appropriate. > > > > *** > > Disclaimer : > > The information contained and transmitted in this e-mail is > > confidential information, and is intended only for the > > named recipient to which it is addressed. The content of > > this e-mail may not have been sent with the authority of > > the company. If the reader of this message is not the > > named recipient or a person responsible for delivering it > > to the named recipient, you are notified that the review, > > dissemination, distribution, transmission, printing or copying, > > forwarding, or any other use of this message or any part of > > it, including any attachments, is strictly prohibited. If you > > have received this communication in error, please delete > > the e-mail and destroy all record of this communication. > > Thank you for your assistance. > > > ************** > > > > > > > > Begin Original Message > > > > From: "John Hogan" <[EMAIL PROTECTED]> > > Sent: Wed, 9 May 2001 08:03:18 -0400 > > To: Orion-Interest <[EMAIL PROTECTED]> > > Subject: Re: RE: Simple Java Doubts > > > > > > On response 2, if the remote client is actually a web server, the > > scheme will work nicely. No polling would be necessary, an http > > request would only be issued on event. > > > > John Hogan > > > > _ > > > > Get your free E-mail at http://www.ireland.com > > > > > > > > End Original Message > > > > > > > > _ > > > > Get your free E-mail at http://www.ireland.com > >
RE: Re: RE: Simple Java Doubts
Title: SV: Re: RE: Simple Java Doubts That's an evil communist lie. Please report to the nearest termination center. The computer is your friend! -Original Message-From: Magnus Rydin [mailto:[EMAIL PROTECTED]]Sent: 10. mai 2001 10:41To: Orion-InterestSubject: SV: Re: RE: Simple Java Doubts THEY just "informed" me that the Frog is leaping through tiny blue loops. SOMEONE tells me that the Bavarian Illuminati has teamed up with BORG and are involved in this affair in SOME WAY. Fnord! > -Ursprungligt meddelande- > Från: Johan Fredriksson [mailto:[EMAIL PROTECTED]] > Skickat: den 10 maj 2001 01:03 > Till: Orion-Interest > Ämne: Re: Re: RE: Simple Java Doubts > > > Resistance is futile, you will be assimilated. > > Johan > - Original Message - > From: "John Hogan" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Sent: Wednesday, May 09, 2001 9:55 PM > Subject: Re: Re: RE: Simple Java Doubts > > > > Santosh, > > > > Is the original disclaimer a secret plot to own all content on the > > orion list? Somehow doesn't seem appropriate. > > > > *** > > Disclaimer : > > The information contained and transmitted in this e-mail is > > confidential information, and is intended only for the > > named recipient to which it is addressed. The content of > > this e-mail may not have been sent with the authority of > > the company. If the reader of this message is not the > > named recipient or a person responsible for delivering it > > to the named recipient, you are notified that the review, > > dissemination, distribution, transmission, printing or copying, > > forwarding, or any other use of this message or any part of > > it, including any attachments, is strictly prohibited. If you > > have received this communication in error, please delete > > the e-mail and destroy all record of this communication. > > Thank you for your assistance. > > > ************** > > > > > > > > Begin Original Message > > > > From: "John Hogan" <[EMAIL PROTECTED]> > > Sent: Wed, 9 May 2001 08:03:18 -0400 > > To: Orion-Interest <[EMAIL PROTECTED]> > > Subject: Re: RE: Simple Java Doubts > > > > > > On response 2, if the remote client is actually a web server, the > > scheme will work nicely. No polling would be necessary, an http > > request would only be issued on event. > > > > John Hogan > > > > _ > > > > Get your free E-mail at http://www.ireland.com > > > > > > > > End Original Message > > > > > > > > _ > > > > Get your free E-mail at http://www.ireland.com > >
Re: Simple Java Doubts
The force be with you...
RE: Re: RE: Simple Java Doubts
mama feeel ayyava?? -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 1:33 PM To: Orion-Interest Subject: Re: Re: RE: Simple Java Doubts Resistance is futile, you will be assimilated. Johan - Original Message - From: "John Hogan" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:55 PM Subject: Re: Re: RE: Simple Java Doubts > Santosh, > > Is the original disclaimer a secret plot to own all content on the > orion list? Somehow doesn't seem appropriate. > > *** > Disclaimer : > The information contained and transmitted in this e-mail is > confidential information, and is intended only for the > named recipient to which it is addressed. The content of > this e-mail may not have been sent with the authority of > the company. If the reader of this message is not the > named recipient or a person responsible for delivering it > to the named recipient, you are notified that the review, > dissemination, distribution, transmission, printing or copying, > forwarding, or any other use of this message or any part of > it, including any attachments, is strictly prohibited. If you > have received this communication in error, please delete > the e-mail and destroy all record of this communication. > Thank you for your assistance. > ** > > > > Begin Original Message > > From: "John Hogan" <[EMAIL PROTECTED]> > Sent: Wed, 9 May 2001 08:03:18 -0400 > To: Orion-Interest <[EMAIL PROTECTED]> > Subject: Re: RE: Simple Java Doubts > > > On response 2, if the remote client is actually a web server, the > scheme will work nicely. No polling would be necessary, an http > request would only be issued on event. > > John Hogan > > _ > > Get your free E-mail at http://www.ireland.com > > > > End Original Message > > > > _ > > Get your free E-mail at http://www.ireland.com
SV: Re: RE: Simple Java Doubts
Title: SV: Re: RE: Simple Java Doubts THEY just "informed" me that the Frog is leaping through tiny blue loops. SOMEONE tells me that the Bavarian Illuminati has teamed up with BORG and are involved in this affair in SOME WAY. Fnord! > -Ursprungligt meddelande- > Från: Johan Fredriksson [mailto:[EMAIL PROTECTED]] > Skickat: den 10 maj 2001 01:03 > Till: Orion-Interest > Ämne: Re: Re: RE: Simple Java Doubts > > > Resistance is futile, you will be assimilated. > > Johan > - Original Message - > From: "John Hogan" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Sent: Wednesday, May 09, 2001 9:55 PM > Subject: Re: Re: RE: Simple Java Doubts > > > > Santosh, > > > > Is the original disclaimer a secret plot to own all content on the > > orion list? Somehow doesn't seem appropriate. > > > > *** > > Disclaimer : > > The information contained and transmitted in this e-mail is > > confidential information, and is intended only for the > > named recipient to which it is addressed. The content of > > this e-mail may not have been sent with the authority of > > the company. If the reader of this message is not the > > named recipient or a person responsible for delivering it > > to the named recipient, you are notified that the review, > > dissemination, distribution, transmission, printing or copying, > > forwarding, or any other use of this message or any part of > > it, including any attachments, is strictly prohibited. If you > > have received this communication in error, please delete > > the e-mail and destroy all record of this communication. > > Thank you for your assistance. > > > ************** > > > > > > > > Begin Original Message > > > > From: "John Hogan" <[EMAIL PROTECTED]> > > Sent: Wed, 9 May 2001 08:03:18 -0400 > > To: Orion-Interest <[EMAIL PROTECTED]> > > Subject: Re: RE: Simple Java Doubts > > > > > > On response 2, if the remote client is actually a web server, the > > scheme will work nicely. No polling would be necessary, an http > > request would only be issued on event. > > > > John Hogan > > > > _ > > > > Get your free E-mail at http://www.ireland.com > > > > > > > > End Original Message > > > > > > > > _ > > > > Get your free E-mail at http://www.ireland.com > >
Re: Re: RE: Simple Java Doubts
Resistance is futile, you will be assimilated. Johan - Original Message - From: "John Hogan" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:55 PM Subject: Re: Re: RE: Simple Java Doubts > Santosh, > > Is the original disclaimer a secret plot to own all content on the > orion list? Somehow doesn't seem appropriate. > > *** > Disclaimer : > The information contained and transmitted in this e-mail is > confidential information, and is intended only for the > named recipient to which it is addressed. The content of > this e-mail may not have been sent with the authority of > the company. If the reader of this message is not the > named recipient or a person responsible for delivering it > to the named recipient, you are notified that the review, > dissemination, distribution, transmission, printing or copying, > forwarding, or any other use of this message or any part of > it, including any attachments, is strictly prohibited. If you > have received this communication in error, please delete > the e-mail and destroy all record of this communication. > Thank you for your assistance. > ** > > > > Begin Original Message > > From: "John Hogan" <[EMAIL PROTECTED]> > Sent: Wed, 9 May 2001 08:03:18 -0400 > To: Orion-Interest <[EMAIL PROTECTED]> > Subject: Re: RE: Simple Java Doubts > > > On response 2, if the remote client is actually a web server, the > scheme will work nicely. No polling would be necessary, an http > request would only be issued on event. > > John Hogan > > _ > > Get your free E-mail at http://www.ireland.com > > > > End Original Message > > > > _ > > Get your free E-mail at http://www.ireland.com
RE: Simple Java Doubts
alternatively make the singleton stateless. Then you pass in everything you need when the method is called. Everything is a local varible and so has no threading problems. -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 6:41 PM To: Orion-Interest Subject: RE: Simple Java Doubts 1. Use synchronization with the synchronized keyword 2. Since a server cannot open an http port to the remote client, I don't think HTTP can be used from the server side to notify client of changes. Client would have to either: a. Use polling, by making http requests every so often b. Use persistent socket connection to the server c. Use "open" http request strategy to always keep an http request outstanding -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Santosh Kumar Sent: Tuesday, May 08, 2001 8:17 AM To: Orion-Interest Subject: Simple Java Doubts Question 1: How does an elementary Singleton pattern based Object behave in a multi-threaded environment? What is this phenomenon called? How do you make such a Singleton Object thread safe? Question 2: What are the two methods typically employed to notify remote clients distributed over the Internet of events that take place on a central server? Like changes in the price of options, market depth, or an order execution? What are the relative advantages/disadvantages of each of these strategies? Specifically, how can they be implemented in Java to allow for firewall tunneling over HTTP?
Re: Re: RE: Simple Java Doubts
Santosh, Is the original disclaimer a secret plot to own all content on the orion list? Somehow doesn't seem appropriate. *** Disclaimer : The information contained and transmitted in this e-mail is confidential information, and is intended only for the named recipient to which it is addressed. The content of this e-mail may not have been sent with the authority of the company. If the reader of this message is not the named recipient or a person responsible for delivering it to the named recipient, you are notified that the review, dissemination, distribution, transmission, printing or copying, forwarding, or any other use of this message or any part of it, including any attachments, is strictly prohibited. If you have received this communication in error, please delete the e-mail and destroy all record of this communication. Thank you for your assistance. ** Begin Original Message From: "John Hogan" <[EMAIL PROTECTED]> Sent: Wed, 9 May 2001 08:03:18 -0400 To: Orion-Interest <[EMAIL PROTECTED]> Subject: Re: RE: Simple Java Doubts On response 2, if the remote client is actually a web server, the scheme will work nicely. No polling would be necessary, an http request would only be issued on event. John Hogan _ Get your free E-mail at http://www.ireland.com End Original Message _ Get your free E-mail at http://www.ireland.com
Re: RE: Simple Java Doubts
On response 2, if the remote client is actually a web server, the scheme will work nicely. No polling would be necessary, an http request would only be issued on event. John Hogan _ Get your free E-mail at http://www.ireland.com
RE: Simple Java Doubts
1. Use synchronization with the synchronized keyword 2. Since a server cannot open an http port to the remote client, I don't think HTTP can be used from the server side to notify client of changes. Client would have to either: a. Use polling, by making http requests every so often b. Use persistent socket connection to the server c. Use "open" http request strategy to always keep an http request outstanding -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Santosh Kumar Sent: Tuesday, May 08, 2001 8:17 AM To: Orion-Interest Subject: Simple Java Doubts Question 1: How does an elementary Singleton pattern based Object behave in a multi-threaded environment? What is this phenomenon called? How do you make such a Singleton Object thread safe? Question 2: What are the two methods typically employed to notify remote clients distributed over the Internet of events that take place on a central server? Like changes in the price of options, market depth, or an order execution? What are the relative advantages/disadvantages of each of these strategies? Specifically, how can they be implemented in Java to allow for firewall tunneling over HTTP?
Re: Simple Java Doubts
These questions look like... a test. The question is, who is being tested? Gary p.s. The word 'doubt' implies suspicion or disagreement; you probably want to use 'question' instead. On Today, Santosh Kumar ([EMAIL PROTECTED]) wrote: > Question 1: > How does an elementary Singleton pattern based Object behave > in a multi-threaded environment? What is this phenomenon called? How do you > make such a Singleton Object thread safe? > > Question 2: What are the two methods typically employed to notify remote > clients distributed over the Internet of events that take place on a > central server? Like changes in the price of options, market depth, or an > order > execution? What are the relative advantages/disadvantages of each of > these strategies? Specifically, how can they be implemented in Java to > allow > for firewall tunneling over HTTP? > > > > > >
Re: Simple Java Doubts
I believe that both of these questions are completely off-topic. > Question 1: > How does an elementary Singleton pattern based Object behave > in a multi-threaded environment? What is this phenomenon called? How do you > make such a Singleton Object thread safe? There are several excellent articles on the net with respect to this specific question, as well as how it relates to synchronization of the Singleton's code. A google search will find these articles for you. > Question 2: I also believe, having programmed trading systems for over a decade, that you will find that there are many existing protocols for accomplishing just this sort of thing. FIX comes to mind. However, this will depend more on your environment and clients, than it will on Java technology. > What are the two methods typically employed to notify remote > clients distributed over the Internet of events that take place on a > central server? Like changes in the price of options, market depth, or an > order > execution? What are the relative advantages/disadvantages of each of > these strategies? Specifically, how can they be implemented in Java to > allow > for firewall tunneling over HTTP?