From oracle-l-bounce@freelists.org Tue Apr 5 14:27:38 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j35JRc9x030767 for ; Tue, 5 Apr 2005 14:27:38 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j35JRcem030763 for ; Tue, 5 Apr 2005 14:27:38 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7F40B91464; Tue, 5 Apr 2005 13:25:35 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08616-03; Tue, 5 Apr 2005 13:25:35 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 06B40913E8; Tue, 5 Apr 2005 13:25:34 -0500 (EST) From: ryan_gaffuri@comcast.net To: oracle-l@freelists.org Subject: anyone use java EJBs? Date: Tue, 05 Apr 2005 18:23:47 +0000 Message-Id: <040520051823.8117.4252D7B3000529EA00001FB52200734748079D9A00000E09A1020E979D@comcast.net> X-Authenticated-Sender: cnlhbl9nYWZmdXJpQGNvbWNhc3QubmV0 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-archive-position: 18068 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: ryan_gaffuri@comcast.net Precedence: normal Reply-To: ryan_gaffuri@comcast.net X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on air891.startdedicated.com X-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,NO_REAL_NAME autolearn=no version=2.60 X-Spam-Level: I posted this same question on a local northern virginia java forum that is very active. The java guys don't get my transaction control concerns. Just curious if anyone here has used them. I think session EJBs and message driven EJBs may be useful. My concern is with entity beans. I don't see any advantage whatsoever with them over data access objects accept that 'they are in the J2EE standard' and they have a catchy name. They are alot harder to implement, code, and test. The expert one on one book from wrox press for java is pretty negative on them also. Am I missing something? Also, am I jumping to conclusions that they might have transaction control issues? When you do a dml statement with entity beans, you do not directly make a database call, you update the bean in memory and the application server decides when to make the database change. This implies that some other user may not see your change. I saw that with weblogic you can implement isolation levels in the application server, but a java guy on the forum said they have performance problems... so why use it? am i missing something? Data access objects seem to be tried, true, tested, and they work. I don't see any upside for entity beans. I am a novice with them so I don't want to jump to conclusions. On the other hand session beans seem to be useful for logic out of the presentation layer(layer that your screens are on). anyone have experience here or comments? -- http://www.freelists.org/webpage/oracle-l