Hello: Would anyone have a code snippet on how to create connection pooling using SAPDB (without using application server) for (1) a client-server Swing-based GUI application. The client makes a database connection to the server and fetches the row and displays it. (2) Using JNDI.
I am using the DbConnectionBroker.java available from sourceforge.net and can (1) Create the datasource on the server with INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory") (2) create the connections on the server. But do not understand whether I can access the server pooled connections using JNDI from the client? If yes, how? If no, is RMI the only option of creating the pooled connections and accessing it from client. Thanks, Vanita Shroff _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
