Hi:
I'm testing JBoss with MDB but i'm still lost about its
utility...
I'd like to write an application to manage a little
"web-shop" using EJBs and MDBs as follows:
* A java servlet who takes data from web application, i.e.
the identifier of a client who wants to buy a book.
* Before allowing this purchase i want to check if this client
is not in my 'defaulter list'.
* After this i'll be able to avoid/allow the purchase.
Well, i though to do this:
"The servlet takes data from web client and sends it to a Topic,
then Topic sends data to a Checker Bean that runs a method
called 'checkClient' wich look for this client in a 'defaulter' database.
If everything is ok, a 'true' value is returned to servlet"
Is this a good way to pose my problem?
I know its possible to develope *the same* without MDBs, but,
is there any advantage on using MDBs?
in other words, how can i take advantage of MDBs?
Excuse me if these questions sounds so 'simple' but i need
a little help to understand MDB cause i'm really interested
in learning everything about JBOSS.
Thanks in advance!
__________________________________________
Jaume Soriano Sivera <[EMAIL PROTECTED]>
__________________________________________
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user