Robert,

EJB will solve part of your problem, as you have deduced.  In your statement of
the problem, however, the notification to the client is described as
asynchronous in nature.  If the requirement is truly for an asynchronous
notification from the server to the client, then JMS would be required.  This
sounds like a justification for the publish/subscribe pattern on the surface.

Robert Truban wrote:

> Hi folks,
>
> I apologize in advance if this �beginner type� post is out of scope for
> this list,
> but I'm in search of some candid EJB advice.  I've been reading Tom
> Valesky's EJB
> Book, Oracles EJB related doc�s and the J2EE doc's, and I�m still left
> pondering
> how to best design my system.
>
> I want provide a service for a client (an EJB being developed on another
> project)
> by allowing the client to �register� for this service.  Essentially
> registering for the
> service is adding a record to a database table.  Another process would
> monitor
> the table, and perform the service on the data it finds in the table and
> send the
> results back to the client.  The service is actually taking the
> registered
> information and querying another database for some results to be sent to
> the client
> application.
>
> There is only one client application (and I dicate the interface), but
> potentially thousands of entries in the registry table (the service
> would run hourly).  The database being queried will have several hundred
> million records and pretty much represents my domain object model for
> the overall application.
>
> Could I do all of this with Session Beans?  I�m pretty sure a Session
> Bean would
> work great for the service part, but what about for doing the
> registering part, the
> actual database �inserts� and �removes� when the clients wants to
> de-register?
>
> I was originally planning on managing the domain database with EB's.
> Even I did get an EJB server that supported EB's, would EB's be a viable
> option and what would I gain by using that over just using servlets and
> java stored procedures?
>
> I�ve read through a lot of the list archive entries the last couple
> days, so I anticipate
> some feedback as to other EJB servers to use.  But I can�t spend any
> money on another EJB Server. Can I use the j2ee server for anything
> other than testing?  Also, is Jonas a viable option for an EJB Server?
>
> Thank in advance for any advice,
>
> Rob
>
> ===========================================================================
> 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".
begin:vcard
n:Wilson;Chip
tel;fax:(214) 358-0353
tel;work:(214) 642-4559
x-mozilla-html:TRUE
url:http://www.axyssolutions.com/
org:Axys Solutions
adr:;;;Dallas;TX;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Application Architect
note:Sun Certified Java Architect
x-mozilla-cpt:;-25088
fn:Chip Wilson
end:vcard

Reply via email to