[JBoss-user] [EJB/JBoss] - Synchronization
Hello I need to register a Synchronization object which will receive afterCompletion() invocations - or the equivalent - AFTER all resources in the transaction have been committed. I could register against the javax.transaction.Transaction instance or against the javax.ejb.UserTransaction instance. Is either of these preferable? Is there a specific JNDI name I should use? My code runs variously within Stateless Session EJBs and Message-Driven EJBs. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874525#3874525 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874525 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Synchronization class??
Hello, I am going through the specification for ejb 2.0 and I came across (see pages 209-214 the OID diagrams) what they call the synchonization object which is a container-provided class. Do you have more info about this class? Thanks in advance, Julien Martin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850210#3850210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850210 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Synchronization of Stateful Session Bean
Hi, I want to use SFSB for a kind of state machine. But a big problem is, that the SFSB is not synchronized, but throws an EJBException - which is correct reg. the specification. The hint I found until now was to synchronize the invocations of the SFSB on client side (eg. JSP/Servlet). But unfortnately this doesn't work with multiple clients or multithreaded clients not under my programmatic control. Can anyone help me? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839339#3839339 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839339 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Synchronization issues with EJB Collection returned by findB
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3820010#3820010 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820010 Hi Could anyone advise how JBoss would handle a change in Collection members returned by a findBy method? For example if I am iterating through a Collection returned by a FindBy and one of the EJBs in the collection is removed will this throw a ConcurrentModificationException on the whole iteration or will the reference to the removed EJB remain available to the Collection for the scope of the iteration? Thanks Glyn --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user