[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)

fhh do-not-reply at jboss.com
Fri Apr 20 04:39:00 EDT 2007


anonymous wrote : 
  | i thought on this idea, but i don't need business logic into database, it is business request.
  | 

I strongly disagree: All business logic that can convienently handled by the database should be handled by the database. It is a zillion times faster, easier to implement and easier to maintain. There is no point in moving data in and out of the database for nothing.

If you think that is my idiosyncratic position read the following statement from  Gavin King:

anonymous wrote : The main example of where ORM - and indeed Java - is not suitable is the case of processing data in bulk. It is simply never going to be efficient to fetch millions of rows from the database, into your JVM, and then update them one at a time. Don't use Java for this. Use a stored procedure.
http://www.javaperformancetuning.com/news/interview041.shtml

Regards

Felix

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039157#4039157

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039157



More information about the jboss-user mailing list