In fact I was thinking of EntityBean (instead of EJBObject) and only connection in the server layers, never to the client of course. There is often a need to have the connection (in server side layers) to do some queries (fast line reader design pattern) or huge-updates. And currently I don't see any good way of taking the connection - for me getting datasource by pointing/hardcoding datasource name is anti-pattern!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871305#3871305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871305 ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
