Hi, may I pose two questions? 1. What would you suggest to lessen the overhead in JAVA SAP Connection? Is it OK...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
to maintain connection to SAP until the user finally logs off from a JAVA Servlet interface or will it be better that after each BAPI call that's the time the user will connect to SAP and disconnect when the data has received by JAVA? 2. What will be the best setup for an Internet based application using SAP and JAVA Servlets? Thank you very much!!! You have been so much help for us exploring this side of a beautiful world.
a) That depends on the details of the application. As long as you do not need to maintain state in SAP, it is best to use a connection pool and keep the connection only for the duration of a processing step. If state is required, you will have to hold on to the connection until you commit or roll back.
b) Please elaborate the question. I am not sure what exactly you are referring to.
Dig Deeper on SAP Java and J2EE
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.