aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Improving EJB performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Improving EJB performance" Watch "Improving EJB performance" New topic

Improving EJB performance

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 845
Just i want to confirm, that ordering the Collection of entities(using @OrderBy) is more efficient than order by clause in sql statement or using

@OrderBy(order by Items)
public Item getItems(){
return Items;

is as equally bad as using the order by clause in sql query.

SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog-
Have you tried LearnNowOnline?
subject: Improving EJB performance