Chris,
Your application sounds as though it would be better sutied to a
publish/subscribe paradigm. You should look into the Java Messaging
Services (JMS).
-----Original Message-----
From: Chris Emery <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, August 29, 1999 5:26 AM
Subject: EJB implementation advise needed
>Hello all,
>
>I've been through many of the basic EJB tutorials/examples listed in
>books
>or on web sites, but I'm looking for a different type of example. The
>ones
>I've seen all seem to touch on the same type of subject, for example: A
>user/client accesses his/her bank account and can add or withdraw money
>from
>it. The EJB server authenticates the user and updates the user's
>account as
>necessary and persists the account information in some for, etc, etc.
>
>What I'm looking for is an example, direction, or advice on the
>following
>type of scenario: The server provides a stock ticker type of service.
>The
>server is continually receiving "live" stock data for some data feed and
>is
>storing the data in some database. Users can connect to the server to
>receive this live stock data.
>
>How does this type of service get implemented in an EJB server? I can't
>see
>the stock ticker service being a session bean since it exists and is
>"running" even when there are no clients. Does than mean that it should
>be
>an entity bean? All of the examples I've seen describe entity beans as
>EJBs
>that represent objects that are to be persisted, so that would seen to
>suggest that the actual stock data would be represented by an entity
>bean,
>not the stock ticker service itself.
>
>Would the stock ticker service be a non-EJB service that session EJBs
>accessed on behalf of the client? Any help, suggestions, examples would
>be
>greatly appreciated.
>
>Doug
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".