Hello! I have an EJB-Stateless-Session-Bean that acts as a Webservice-Client, when it is invoked by certain conditions. Runtime is a JBoss EAP 6, which uses Apache CXF.
What is the best structure of my ejb-method? Should each EJB-Method-Call build a new Apache-CXF-Client-instance? Or is it better to build one Apache-CXF-Client per Session-Bean and re-use it on every EJB-Method-call? Best Regards Hardy --- Handelshof Management GmbH Viktoriastr.26 • 51149 Koeln (Germany) Amtsgericht Koeln HRB 2078 Ust.-ID-Nr. DE 123064252 Sitz der Gesellschaft: Koeln Geschaeftsfuehrer: Dipl.-Betriebsw. (BA) Wolfgang Baer (MBA) (Sprecher) Dipl.-Betriebsw. (FH) Udo Bernecker Dr. Wilhelm von Moers www.handelshof.de ---