Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> anyone use java EJBs?

anyone use java EJBs?

From: <ryan_gaffuri_at_comcast.net>
Date: Tue, 05 Apr 2005 18:23:47 +0000
Message-Id: <040520051823.8117.4252D7B3000529EA00001FB52200734748079D9A00000E09A1020E979D@comcast.net>


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
Received on Tue Apr 05 2005 - 14:27:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US