Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kishore
SCJP, blog
Originally posted by Kyle Brown:
last one is the killer. If you really need to build a system that needs transactions that cross 2 databases or a database and a JMS or JCA datasource (like a messaging system or an enterprise system like SAP) then EJB's are the [b]only game in town. You can't do that in JSP alone, period.
[/B]
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Originally posted by Kishore Dandu:
Kyle,
Your last killer point is some what iffy.
Because using DAO pattern, RMI, service locator pattern and JMS we are able to access multiple databases at our work. (ofcourse we started using websphere recently to get the advantages of message driven beans etc). But your last killer point is not completely true to my knowledge.
Kishore.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Adam Hardy:
would this messaging & database transaction be a solution to a eCommerce problem that I've got? in my app, a customer can order something from the shop and it generates and entry in the database and an email to a delivery firm.
can i have those in one transaction? the way i see it, if I save the order in the database as sent and then the system goes down without sending the email, i'm stuffed.
if i do it the other way around, by sending the email and then the system crashes without saving it in the database, the customer gets the order for free. either way i'm stuffed.
adam
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
In fact, I believe that EJB 2.0 requires JMS messaging support.Originally posted by Kyle Brown:
Yes, almost all J2EE application servers support some sort of JMS messaging with transactional semantics. Sounds like the beginnings of a design here...
Kyle
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Kyle Brown:
Sounds like the beginnings of a design here...
Kyle
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Originally posted by Adam Hardy:
actually my worst problem is that my senior colleague who hasn't programmed for a while said out of the blue that 'EJB wasn't reliable enough yet' - how do you prove something like that?
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |