[JBoss Transactions Development] - Re: Starting with JBoss Transactions
by ben.cotton@rutgers.edu
Once you get the XTS demo running on your local JBoss build, start to exercise *all* the different ways you can use XTS to do
1) Atomic Transactions (been around decades. 2 outcomes: commit/rollback)
2) Business Activty (been around less than a decade and introduces "compensate" as a 3rd possible transaction outcome)
Atomic Transactions are very familiar and the XTS demo treats them exactly as you would expect. Drive the demo in "Atomic" mode and see how the XTS plumbing "calls back" the Taxi, Restaurant, and Theater participants to co-ordinate that they can all "commit" to a night on the town. Then ... try to "pull the plug" on one of the participants (e.g. maybe the Theater is sold-out) and XTS will roll-back the entire "night on the town" ... i.e. both your taxi transportation plans and dinner reservations will not be booked.
Business Activity is a (relatively) new transaction standard. It was born out of Oasis BTP and evolved (down a long road) into the WS-BA standard. Drive the XTS demo in "Business Activity" mode, and you will be introduced to the "compensate" outcome potential ... which can give you a potentially much more flexible way of managin transactions than the "all or nothing" strictness of Atomic Transactions. Business Activity is a "relaxation" of the Atomic Transaction protocol, and XTS is the very best place to learn this hands on.
You might be interested to attach via a remote debugger (i.e. Eclipse) to your JBoss XTS demo code and single-step through the exact APIs used by XTS to drive the demos. These kind of single-step sessions I find to be most informative re: learning XTS internals.
If you are seriously interested to be a student of the history of how XTS supported standards evolved (i.e. why does XTS implement WS-AT and WS-BA?), you might want to study the literature of the causes and effects that motivated use transitions from OMG/OTS/CorbaIDL-API to JCP/JTS/JTA-API and onto WS-T/XTS/JSR-156-API.
The history is relevant (IMHO). Also, if reading all these TX standards' white papers gets you a little too bogged down in verbage, take a break and visit a video presentation from this guy: http://www.infoq.com/interviews/mark-little-qcon08. (He had another video presentation on www.theserverside.com -- but I can't find that one anymore).
Of course, continue to subscribe to this specific forum (and also JBoss Transactions User forum). These forums I find to be the best single possible places to learn about the state-of-the-art in transaction technology, and its implementation of same - JBossTS.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259399#4259399
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259399
16 years, 6 months
[JBoss ESB Development] - Re: BaseCertLoginModule Does Not Work?
by beve
Hi,
org.jboss.security.auth.spi.BaseCertLoginModule is not provided by JBossESB and this I'm not familiar with how it is expected to work.
anonymous wrote : Or is this the same issue as the problem with the org.jboss.soa.esb.services.security.auth.login.CertificateLoginModule?
This is not the same issue as before. In this case you are configuring a login module just like you would for a web application, the difference being that the web application is generated upon deployment.
Could you try this login module separate from JBossESB and get it working like you expect and after that try it out in conjunction with the ESB?
If you can provide an example that I can deploy I'd be happy to take a closer look at this. Just easier and avoids any misunderstandings on what is going on.
Thanks,
/Daniel
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259371#4259371
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259371
16 years, 6 months