Even hashmap lookups get heavy when the map is loaded with a piles and piles of 
objects.

On the DP's, don't kind yourself.... techniques come and go, the core DP's 
(these are not limited to Java, but are universal) are pretty much forever. 

But the problem is that I have an basic application:

Facade--> AS --> AS --> DAO -->Entity
                 |__>DAO-->Entity

Why in heavens name, would I want to add a service locator between my As and 
DAO? Can you spell U S E L E S S  O V E R H E A D? Not to mention the 
additional possible bottleneck of the locator.

For you basic homegrown application this might seem fine, but I talking about 
an application with a steady rate of over 10k+ active users.... A little addon 
like Session DAO's and Service Locators will add a substantial amount of 
required process power.

Is there anyone who can tell me how to obtain an Entity Manager in a DAO, 
without turning the DAO into a Session?

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to