I have a question that can I use AS400ConnectionPool in Spring if then pls provide me the example
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you can… I have never seen that class, but looking at the API this is pretty straithforward:
Now you can simply inject the pool into your services:
It is even easier with Java configuration:
Note that you cannot easily call
testPool.fill()in XML configuration.