I, myself, am learning the EJB3.0 and JBoss system (and Java for that matter), so bear with me.....
"jbossChecker" wrote : | | 1) How do I handle the use case, that someone puts somthing into the cart, but doesn't proceed, How do I terminate the EJB3 sfsb? | I know the @Remove annotation, but who/what should invoke such a method? Or schoul I better work with timer objects and timeouts? The container manages the session. If someone was to just close out the browser, or go to another site without "checking-out" or "logging-out", then the container is responsible for timing-out the session. When the session gets removed, I believe that's when the @Remove annotation is called. You can modify your session timeout values in your descriptors. "jbossChecker" wrote : 2) Would you ammotate this Bean as @Remote? Is ist possible to make an interface both (remotely and locally) available? | It depends on how you want to run your application. Running your beans with a @Remote interface, means other JVM's can access your bean (such as two seperate JBoss Servers). If you plan on running your application in the same JVM (such as a single server), then you will only need a local interface. There are exceptions to the rule, such as clustering JBoss servers, and your application architecture. However, if you are just learning the EJB and JBoss technologies, I'd stick with local interfaces for now. Also, I'm used to the bad english grammer, as my wife is also german (though her accent is nearly gone), and I'm used to reading her typing. :) Good luck! Hope this helps! --Aaron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902069#3902069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902069 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
