× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I agree, I need it on the web side too.

Are there any generic pooling mechanisms available that could be used?  In 
other words, you provide some code that the pool calls when it needs to 
add another object to the pool.  Your code could then construct and 
initialize an AS400 connection and give it to the pool to give to the 
requester and later store.

I imagine it wouldn't be too difficult to write your own pool, but it 
would be nice to use something else where all of the threading issues have 
been thought of and tested.

Mark






"Price, Chris" <chris_price@xxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
05/09/2003 09:22 AM
Please respond to Java Programming on and around the iSeries / AS400 
 
        To:     "'Java Programming on and around the iSeries / AS400'" 
<java400-l@xxxxxxxxxxxx>
        cc: 
        Subject:        RE: AS400 objects from a connection pool


Dave,

I really need a WebApp side solution. We deploy our application to our
customers iSeries', so mucking about with exit programs is not the ideal
option.

Chris.

-----Original Message-----
From: David Morris [mailto:David.Morris@xxxxxxxxxxxxx]
Sent: 09 May 2003 14:02
To: java400-l@xxxxxxxxxxxx
Subject: Re: AS400 objects from a connection pool


Chris,

You can create an exit program to set this up for you. The exit to use
(wrkreginf) will vary depending on which driver you use (native or
toolbox). The initialization exit is only called when the connection is
established. We use these to set library lists based on the caller's
environment so that programmers will generally get test and users will
generally get production.

David Morris
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.