Assuming your client is a standalone app and not a servlet/JSP web-application, sorry, that's not supported in JBoss. The Right Way to do that sort of thing would be to write a J2EE Client that ran in a Client Container - however that is not supported in JBoss at this time.
Other servers will let you get references to DataSources from client applications (not J2EE clients, but plain old java applications) but there are a number of ugly implications to this: 1. Does the database connection migrate across process boundaries? If so, how does the client app. get the class files? If not from its own classpath, what about security implications? 2. Are the connections wrapped in such a way that all of the JDBC calls are actually remote? This means that any data accessed is jumping from the database, to the app server process, then over to the client process. Not terribly efficient. storck wrote: > Hi, > > how can I use the DefaultDS within a client. I would like to implement the > Fast-Lane-Reader-Pattern and for that I need connection to my Database. > > Many Thanks! > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
